Search:

Type: Posts; User: pranavk26

Search: Search took 0.37 seconds.

  1. Replies
    11
    Views
    362

    Re: JButton not responding

    That was the problem. I corrected it and the program is running fine. Thanks a lot. This is the second time I have tried to code something creative and was getting really frustrated. Maybe this time...
  2. Replies
    11
    Views
    362

    Re: JButton not responding

    okay i used the print statements and i figured that the problem comes,which is a lot exception shown in debugging section,when the i am working with the button array.alson when i add a single action...
  3. Replies
    11
    Views
    362

    Re: JButton not responding

    okay i used the print statements the first print on pressing start is printing after that when the statements for assining buttons to the button array comes there are a lot of exceptions being shown...
  4. Replies
    11
    Views
    362

    Re: JButton not responding

    corrected.could it be that the program is too long i have 64 buttons and i have about 64 lines of adding buttons to the array.i have added print statements to check progress in the action event of a...
  5. Replies
    11
    Views
    362

    Re: JButton not responding

    The set text of code should change the text on the button clicked to "w" or "b" .I have tried to simply use set text in another action listener but nothing happens there are no errors in compilation...
  6. Replies
    11
    Views
    362

    JButton not responding

    im making an othello game.the code should check witch side is clicking through variable side and set the text of the clicked button to W or B.the button have been organised into an 8*8 array board.i...
  7. Replies
    5
    Views
    297

    Re: problem with applet

    no there are no errors shown I dont know why this isnt working this is my first applet.:mad:Anyways java plugins cause the problem i have the plugin enabled in the browser.
  8. Replies
    5
    Views
    297

    Re: problem with applet

    Hey I corrected the name.is that what the tutorial is for,please specify.Anyways the program still opens in Mozilla to give a blank page are there any other problems.Also,where should I place the...
  9. Replies
    5
    Views
    297

    problem with applet

    I have problem with this applet. the browser gives page.I don't know wether its not loading or if its extremely slow.Also I am confused on the html part.Should I use tag object or applet and for...
  10. Replies
    0
    Views
    283

    temperature converter

    class TempConverter extends JFrame implements ActionListener
    {
    int inScale=0,outScale=0;//stores scale of input and output temperature
    double r=0.0;
    String p="";//To store action command...
  11. Replies
    25
    Views
    811

    Re: action listener not working help

    This is the latest version of the code
  12. Replies
    25
    Views
    811

    Re: action listener not working help

    i cant understand what you want me to do can you just post the correct codes .also tell me what i should for my nested switch case
  13. Replies
    25
    Views
    811

    Re: action listener not working help

    This is the latest version of the code
  14. Replies
    25
    Views
    811

    Re: action listener not working help

    Nothing at all happens
  15. Replies
    25
    Views
    811

    Re: action listener not working help

    This is the current version of the code!
  16. Replies
    25
    Views
    811

    Re: action listener not working help

    i have added radio buttons,changed the names and added components to the class.but now the program is executing but i am gettong nothing on the screen.also i did not clearly understand what you said...
  17. Replies
    25
    Views
    811

    Re: action listener not working help

    hi i have edited the code a little and hope it is easier to read i am now getting a null pointer exception at 1)q.start() and 2)f1.add(panel1)
  18. Replies
    25
    Views
    811

    Re: action listener not working help

    Hi i have edited the post as required.as for the variables this is probably my first proper java guide program hence the poor variables.thanks for replies :-j
  19. Replies
    25
    Views
    811

    action listener not working help

    Hi thanks for the post.The first panel is printed with its buttons but nothing happens on clicking them.I may not have been edited the posted properly cause I am new here and this my first post.the...
Results 1 to 19 of 19