Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

opening new frame with a button

  Asked By: Ashan    Date: Jun 10    Category: Java    Views: 1204
  

I am trying to open JEditorPane which should open on a new frame by
clicking on the button. I have written the code for opening it
actionperformed but nothing is happening.
Can anyone please tell me how is it possible to open a new frame by
clicking a button.If anyone has an example, plz do send.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Kristen Chavez     Answered On: Jun 10

I had this problem too with (AWT) Button, the
ActionListener was doing nothing. Buth, using (swing)
JButton solved the problemm.

 
Didn't find what you were looking for? Find more on opening new frame with a button Or get search suggestion and latest updates.




Tagged: