johnml's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
9 (0.01 per day)
Joined:
25-September 12
Profile Views:
937
Last Active:
User is offline Mar 16 2014 07:27 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   johnml has not set their status

Posts I've Made

  1. In Topic: Two-dimensional array and "for each" issue

    Posted 10 Feb 2014

    Thank you! I just blushed, because of my silliness..
  2. 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.
  3. 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.
  4. In Topic: [Challenge] GUI Timer (ADV)

    Posted 1 Nov 2012

    Sure, that looks strange to me too.
  5. In Topic: [Challenge] GUI Timer (ADV)

    Posted 1 Nov 2012

    View Postburakaltr, 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?

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.

Comments

johnml has no profile comments yet. Why not say hello?