A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
How to change the button size dynamically ?
Joined: Sep 11, 2007
Oct 24, 2007 00:30:00
I need to change the button size dynamically.
When my button label is "delete" , it gets displayed properly.
But if my button label is "delete fr" , some of the text gets cuts off.
How to solve this problem ?
Can anyone help me ?
Joined: Nov 08, 2001
Oct 24, 2007 07:12:00
Well you did not give much to go on here. Why is it getting cut off. Do you have a set width on it. When is the text being changed to include the new text?
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: How to change the button size dynamically ?
JButton redimension itself
JButton size mystery
JTree Sizing Question
dynamic size of label
How to add JLabel In a JTable cell
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013