wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes resizing the JLabel in java3d Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "resizing the JLabel in java3d" Watch "resizing the JLabel in java3d" New topic
Author

resizing the JLabel in java3d

Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 151
I tried to add label to the canvas. But I couldn't able to increasse the size of the label. Please help me.




David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Moving to Swing.
Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 151
Please help me with some ideas ...
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Maybe you could explain which "label" you are asking about. I see at least two. Or three. And I don't see where in the code you are trying to resize any labels, so an explanation of that might help too.
Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 151
I tried to set size for the panel instead of Label. Now its working fine. Thank you all.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: resizing the JLabel in java3d
 
Similar Threads
Vectors
using JLabel to title a JScroller
Problem with custom painting and multiple JPanel
North Panel Not Displaying....
How to size jsplitpane?