hs teacher needs help -
hi folks,
im a high school teacher teaching a java class for the first time. The students are doing their final projects and I'm coming across some problems.
One student wants to use swing components to display numerous buttons and menus. He wants to know the best way to do this. I decided i need to use jbuttons (right?), and i thought to setlayout to null. As below:
Container c = getContentPane();
c.setLayout(null);
But i cant get menus or scrollpane (scrolling textarea) to work, any simple code to do that...
i and my students appreciate any help you can give
jeff
hi folks,
im a high school teacher teaching a java class for the first time. The students are doing their final projects and I'm coming across some problems.
One student wants to use swing components to display numerous buttons and menus. He wants to know the best way to do this. I decided i need to use jbuttons (right?), and i thought to setlayout to null. As below:
Container c = getContentPane();
c.setLayout(null);
But i cant get menus or scrollpane (scrolling textarea) to work, any simple code to do that...
i and my students appreciate any help you can give
jeff