Results 1 to 3 of 3
Thread: Help needed NetBeans
- 08-21-2008, 04:00 PM #1
Member
- Join Date
- Aug 2008
- Posts
- 17
- Rep Power
- 0
Help needed NetBeans
I have a deadline to meet and urgent this Saturday
I need your help with connectors
How to call a J-frame from a main frame in java when a button is clicked in Netbeans
I have two frames (A) and [B]
Frame (A) is the main and the other [B] is a sub-frame
in the main frame (A) theres a button to click it should open the sub-frame (frame [B] what should i do to achieve this in NetBeans ?
and the Second problem encountered is how to create a Menu-Bar in NetBean i Know how to use the panel but where does the coding fit?
Thanks
-
You probably don't want to state this in your posts. Even if it is urgent to you, realize that it is not urgent to us. Many here take offense to this as it implies to them that a) the poster thinks that his post is more important than everyone else's, and b) that the poster wants to put pressure on the volunteers who come here to help on their own free time. Just a friendly word of advice.I have a deadline to meet and urgent this Saturday
Likely this is a Swing Java issue and probably has little to do with NetBeans unless you are talking about NetBeans-generated code.I need your help with connectors
How to call a J-frame from a main frame in java when a button is clicked in Netbeans
Are "frames" JFrames?I have two frames (A) and [b]
You will have to add an ActionListener to the JButton, and in this ActionListener create a FrameB object, call its constructor, call pack(); on this object (if not done in the constructor), and call setVisible(true) on this object. For more details, see the Sun Swing tutorials.Frame (A) is the main and the other [b] is a sub-frame
in the main frame (A) theres a button to click it should open the sub-frame (frame [b] what should i do to achieve this in NetBeans ?
Check out the Sun tutorials on Menus.and the Second problem encountered is how to create a Menu-Bar in NetBean i Know how to use the panel but where does the coding fit?
Good luck.
- 08-21-2008, 04:31 PM #3
Member
- Join Date
- Aug 2008
- Posts
- 17
- Rep Power
- 0
Similar Threads
-
help needed!!! :S
By mark-mlt in forum NetworkingReplies: 1Last Post: 04-14-2008, 09:27 AM -
Help needed.
By necro-1000 in forum AWT / SwingReplies: 2Last Post: 01-12-2008, 11:37 AM -
Help Needed
By pks in forum New To JavaReplies: 1Last Post: 01-09-2008, 12:07 AM -
help needed.
By dirtycash in forum New To JavaReplies: 3Last Post: 12-03-2007, 09:17 PM -
jfreeReport help needed
By sandor in forum XMLReplies: 1Last Post: 04-20-2007, 08:10 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks