1. Java (Swing): JScrollPane.setBounds() does not apply? stackoverflow.comI'm trying to create a simple JList with a scrollbar, and therefore i need to have the JList within a JScrollPane. So far, so good. However, for some reason i can't ... |
2. java JList size stackoverflow.comHi i want to set JList height as height as screen is
|
3. How to fix ListBox and Panel size .. coderanch.com |
4. JList Sizing coderanch.com |
5. JList maximum size? coderanch.com |
6. How to control JList's size ? coderanch.com |
7. I want to increase the Jpanel size so that i can fit a bigger Jlist coderanch.comwhy didn't you just continue your other thread? anyway, these steps should work add the elements to the list's model set the visible row count add the list to a scrollpane get the scrollpane's preferredSize set the scrollpane's location set the scrollpane's size as it's preferredSize.width,preferredSize.height (the above 2 can be combined into setBounds()) this should give you a scrollpane at ... |
8. Dynamically changing size of JList items? forums.oracle.comHello! I'm working on an application which kind of revolves around a JList with a custom ListCellRenderer. Now, it all works rather good as it is, but I want the selected JList item to show more detailed information about the selected value, and thus I need it to be bigger then the not selected items. The thing is that no matter ... |