johnml's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 7 (0.03 per day)
- Joined:
- 25-September 12
- Profile Views:
- 598
- Last Active:
May 04 2013 05:31 AM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Anybody familiar with Android
Posted 28 Mar 2013
If you still have this problem, and you are using 64bit kubuntu try to install ia32-libs:
sudo apt-get install ia32-libs
then reinstall eclipse with adt plugin (or try to run it before reinstall).
It helped in my case on ubuntu 12.04. -
In Topic: problem with do while loop and if, else if statements
Posted 29 Nov 2012
Well, I'm rather beginner than specialist, but I will try to help.
You check the 'ans' variable, which will not be changed for all time of running the program.
So you put A, and after doing do-while part still will be A..
Try to put your menu and scanner for it to do-while loop.
char ans; do { //Your menu Scanner kb = new Scanner (System.in); String input = kb.nextLine(); input = input.toUpperCase(); ans = input.charAt(0); //All ifs }while(ans != 'C');
I think that's what you need. I don't know only why you writed that for B it was working ok.
You should better wait for someone more experienced who would say that my solution is ok, or give you another answer. -
In Topic: [Challenge] GUI Timer (ADV)
Posted 1 Nov 2012
Sure, that looks strange to me too. -
In Topic: [Challenge] GUI Timer (ADV)
Posted 1 Nov 2012
burakaltr, on 31 October 2012 - 05:28 PM, said:[...]
I Have staticized the Whole Code.
My Question is : What is the use of OOP, when you can do it all in Procedural Code ?
[...]
In Procedural Code after staticizing it, main method would be like that?
public static void main(String[] args) { StopWatch.makeGUI(); }
That's what You mean? -
In Topic: [Challenge] GUI Timer (ADV)
Posted 26 Sep 2012
Thanks for your post. I didn't even realize that it works for any button.
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
johnml hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
johnml has no profile comments yet. Why not say hello?