A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
RabbitMQ in Depth
this week in the
Swing / AWT / SWT
ImageUpdate to modify HEIGHT of a JCheckBox
Joined: Sep 11, 2000
Jun 26, 2006 15:29:00
Does anyone have an example of using ImageUpdate to modify the HEIGHT of a
has been created with a text
as the constructor parameter. I need to modify the height of the check box.
Joined: Jan 14, 2004
Jun 30, 2006 18:00:00
JCheckBox checkBox = new JCheckBox("higher"); Dimension d = checkBox.getPreferredSize(); d.height = 45; checkBox.setPreferredSize(d);
I agree. Here's the link:
subject: ImageUpdate to modify HEIGHT of a JCheckBox
why is an interface's varable static, and a method not allowed to be static?
Java- Image height required
JFrame n JTabbedPane and Panel Very Urgent
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015