Search:

Type: Posts; User: Sugi

Search: Search took 0.11 seconds.

  1. Replies
    29
    Views
    2,293

    Re: Help with elections program

    What should I do about the syntax of the program?
    What other options should I try?
  2. Replies
    29
    Views
    2,293

    Re: Help with elections program

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Suharsh>appletviewer TheHtmlThatExecutesTheApplet.html
  3. Replies
    29
    Views
    2,293

    Re: Help with elections program

    Still not working
  4. Replies
    29
    Views
    2,293

    Re: Help with elections program

    I use BlueJ and after compiling I run the applet by right-clicking the class.
    I go to My Computer/Java/Jdk/Bin/Java.consoleto open the console
  5. Replies
    29
    Views
    2,293

    Re: Help with elections program

    The screen of the console opens and closes immediately...no idea.
    After compiling the code I run the applet. I make a note of what is being displayed and what is not.
    I add a code to see if the...
  6. Replies
    29
    Views
    2,293

    Re: Help with elections program

    I simply view the applet and try to change the syntax if the program is not running.
    How should I execute the program?
  7. Replies
    29
    Views
    2,293

    Re: Help with elections program

    I am unable to see the screen of the console, it opens and closes instantly .....
    Based on what you get as an output..what should I do?
  8. Replies
    29
    Views
    2,293

    Re: Help with elections program

    I am pretty sure the if statement is correct...
    If I add a println statement in the listener method nothing happens.
    Is this because I am viewing it in applet viewer?
  9. Replies
    29
    Views
    2,293

    Re: Help with elections program

    The updated version:



    import java.awt.*; //Basic hierarchy of packages for native GUI components
    import java.applet.*; //Package for creating an applet
    import javax.swing.*;
    import...
  10. Replies
    29
    Views
    2,293

    Re: Help with elections program

    I see the message Applet Starting in the terminal window. I am using the applet viewer.
    Now that I have made the program into ActionListener, what difference does it make and yet the buttons are not...
  11. Replies
    29
    Views
    2,293

    Re: Help with elections program

    Okay I have no idea what you did...but now I made a similar coded class with ActionListener
    It is pretty much the same just without the other methods that were there for mouseListener.
    Also..what...
  12. Replies
    29
    Views
    2,293

    Re: Help with elections program

    I put the println() statement in mouseClicked method.
    I clicked the mouse on the buttons
  13. Replies
    29
    Views
    2,293

    Re: Help with elections program

    I have tried printing a message but nothing happens..I guess the listener is not being called.
    Should I convert it to ActionListener?
  14. Replies
    29
    Views
    2,293

    Re: Help with elections program

    When I execute..The Label Vidya Valley School Elections is displayed.
    The label Head Boy is also displayed and along with it 4 buttons are also displayed.
    If I click on the first button nothing...
  15. Replies
    29
    Views
    2,293

    Help with elections program

    Hey guys..I am not able to find the solution of the problem in my applet. It displays the buttons for only one category and it is not going ahead with the program.
    Please help me find the problem...
Results 1 to 15 of 16