aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Help Needed For Resizing of Swing Comp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Help Needed For Resizing of Swing Comp" Watch "Help Needed For Resizing of Swing Comp" New topic
Author

Help Needed For Resizing of Swing Comp

jignesh patel
Greenhorn

Joined: Aug 28, 2000
Posts: 3
Hi All!
Can anybody help me out.......................I'm facing problems in scaling some components through code in runtime.
Prob. 1: I am increasing the size and font of a JComboBox in Runtime. if i click on ComboBox, in the drop down all items are of smaller fond and as soon as i select an item, after getting selected it gets bigger. How to make all drop down items of ComboBox gets scaled according to font size(scaled one) of JComboBox.
Prob. 2: I am increasing the size and font of a JTextField in runtime. But still the font of tool tip text remaining small. How to scale it accordingly.
Prob. 3: How to increase the size of Title bar and font of title of a JDialogBox.
Prob. 4: How to increase the font size of Informational messase and size of buttons of JOptionPane during runtime.
Prob. 5: I'm increasing the dimensions of a button in runtime The button has an icon on it. Is it possible to scale the Icon also accordingly.
Prob. 6: In scaling a JTable i'm scaling font size, row height, and header..............How to scale Scroll bars of the table
Any help or suggesion would be of great use to me.
Thanx in advance,
Jignesh
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help Needed For Resizing of Swing Comp