Nate Hur

Greenhorn
+ Follow
since Dec 02, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nate Hur

I have a JList that the user is allowed to add names to. The JList is in a panel that has a boxlayout. I have other components to the right of the JList. The components to the right of the JList are in a separate panel and are also in a boxlayout. The JList is scrollable. When the user enters a name all of the components to the right shift rightward even thought the list stays the same size since it is scrollable. Is there any way I can prevent these components from shifting to the right?
13 years ago
I am creating a GUI using a boxlayout. The user is able to enter a string and this string will be displayed in a JLabel. However, when the string is placed in the JLabel all of the other components in the boxlayout shift to right as the length of the string increases. Is there any way I can prevent all of my components from shifting right when the length of the string increases?
13 years ago