wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes Decrese space between Jlabel and its container(as cell spacing in html) 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 "Decrese space between Jlabel and its container(as cell spacing in html)" Watch "Decrese space between Jlabel and its container(as cell spacing in html)" New topic
Author

Decrese space between Jlabel and its container(as cell spacing in html)

vineet kumar chaudhry
Ranch Hand

Joined: Apr 02, 2011
Posts: 45
I wanna remove the space to the left and right side of (barchart in attachment)Jlabel in box which contains it.How would I do that

I am using layout manaager as null

I am not talking about container.I an asking about the box whhich contains Jlabel


[Thumbnail for a.png]

Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2156
    
    7
I am using layout manaager as null


Don't use a null layout manager.

Use the appropriate layout manager or combination of layout managers to get your desired layout.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Decrese space between Jlabel and its container(as cell spacing in html)
 
Similar Threads
BorderLayout
Getting a JLabel to follow the cursor
Does anyone use the Style object?
hard! how to use a compound node (JTextAreas + JButtons) in a JTree?
JLabels and setText()