Jscrollpane not updating
Scroll Pane has panel1 in it while panel1 has a grid Bag Layout and it has panel2 and the text Area in it with panel2 being north of text Area.Panel1 is bigger than the screen size so you need to scroll to be able to see all of panel2 and textarea since they fill their constraints.
For the love of all things good, *never* set the layout of a JScroll Pane to null. JScroll Pane uses a special layout, Scroll Pane Layout, that allows it to handle its viewport properly, and by setting the layout to null, you've in effect nullified this, and have prevented your JScroll Pane from working.
NEVER_UPDATE); db edit It has the same effect on text typing as removing the listener, but isn't hackish: it uses the public API and can be guaranteed against future updates / versions.
The weakness of the 'solution' I posted earlier is that it relies on the class name of an inner class.
FULL PRODUCT VERSION : java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) Java Hot Spot(TM) Client VM (build 1.5.0-b64, mixed mode) ADDITIONAL OS VERSION INFORMATION : Sun OS asia 5.8 Generic_117350-23 sun4u sparc SUNW, Sun-Blade-1000 A DESCRIPTION OF THE PROBLEM : Want a scrollable menu.
Created a JList added it to a JScroll Pane, added the JScroll Pane to a JMenu.