Search:

Type: Posts; User: Mr.777

Search: Search took 0.19 seconds.

  1. Re: Need help correcting a JFrame program for class!

    Well, may be i am little bad with explaining all this. Let me quote an example here.


    import javax.swing.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import...
  2. Re: Need help correcting a JFrame program for class!

    Well, you must add all the components in the frame and then,


    Container whateverObj = frameName.getContentPane();

    Becuase containers are the top level and JFrame, JPanel etc extends Container,...
  3. Re: Need help correcting a JFrame program for class!

    Yes coz you are adding buttons to the panel, and panel in the container and where are you adding conatianer to Frame?
  4. Re: Need help correcting a JFrame program for class!

    Read OP's problem description first, before giving such a bad advices.

    @AlexAndHalf: You need to read about Swing. And as far as javac is an issue, check, if java is installed or not. If yes,...
Results 1 to 4 of 4