aspose file tools*
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
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: 159
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: 159
Please help me with some ideas ...
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18675
    
    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: 159
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