Link to home
Start Free TrialLog in
Avatar of dwcronin
dwcroninFlag for United States of America

asked on

How do I make a bean in netbeans using java

I am trying to make a newspaper game project that contains
1) jumble
2) crossword
3) celebrity cipher

I will work out the details of the above three games in a bit but I am not there yet.  I made a tabbed pane so you could choose to play any of the above games.  I THINK I have to make my three game programs into beans so they can be added to  the three tabbed panes.  I don't know how to make my programs into beans that may be added to the netbeans pallette.  Does anyone know how to make a bean?
Avatar of hazgoduk
hazgoduk
Flag of United Kingdom of Great Britain and Northern Ireland image

A bean is an object with database persistence. Don't think that's really what you need. Start off by creating 3 JPanel forms. You can develop each one seperately in the form builder and then add them to your tabbed pane (jtabbedpane.add("Crossword", new Crossword())).
Avatar of dwcronin

ASKER

OK thanks.  Obviously I'm not real sure what a bean is.  What does database persistence mean?  I'll try to make the JPanel forms tonight.
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To add your panel to the palette you just have to right click it and do tools/add to palette
EE suggests to stay engaged with the experts helping you with your question.  I just want to let hazgoduk and CEHJ know that I haven't fallen asleep or anything - I just got sidetracked for a few hours and I'm working through the webpage from CEHJ.
OK ;-)
The current version of netbeans that I have is 6.5 and the web site is for a couple versions back.  After I figured that out, I realized what the very small problem was.