- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
6 Posted Topics
I would like to know what tool/class should I use to create a map that used for games? such example: user use key to move an object...and if moves then the more map will shown ... I admit, I did not do much research on this.. but I wanted to …
expandable JPanel while adding items Hi, I have a JFrame and I added JPanel inside it However, I designed in a way, I can add JButton to that panel it is used as a bookshelf for example btn 1 btn2 btn3 so each time i add, it goes three columns …
are you doing only integer? Also, do you mean when you have change of 10 you wnat it to be presented as 10 100 cent 40 quar 1 dim 2 nic ? or do u mean to use double instead of int? when you pay 40 out of 25.25 you …
Hi, This is my first post, I usually find solution by searching this forums However, I been working on my problem for 6 hours with no solution. Here what I'm trying to do I have a class that extends as JPanle also it implements ActionListener I'm trying to add JScrollPane …
public TwoInt() { //a = 1; //b = 2; //add this swab(a,b); } if it did not work, try myTwoInt.swab(a,b) instead of swab(a,b); let me know if this works
import java.util.Scanner; public class Mynumber { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number in digit"); String number = sc.nextLine(); String result=""; Mynumber mn=new Mynumber(); if (number.length() == 1) { result=(mn.getNumber(number)); System.out.println(result); } else if (number.length() == 2) { } else if (number.length() == …
The End.
nsharif