• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to remove label

 
Aayush Patel
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to remove label..can anybody guide me...
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aayush,
Remove a label from what?
Did you try:
hide method, or
setVisible method, or
not creating it in the first place?
Manfred.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can get your finger-nail under the edge, they tend to be easier to peel off...


But seriously... it would help if you would give a little bit more detail on what you want to do...

-Nate
 
Aayush Patel
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am adding labels in one applet and storing that objects of labels in one vector ..after that i want to remove one or two specific labels..now it will be remove from vector but how can i remove it from an applet....i mean object of label how can i remove....
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Personally, I've found that a knife or razor blade can help
OK. Let's see if we can make this a little clearer. When you say "label and object" do you mean something like a textfield control with a label next to it? If you're just looking to hide visual elements, you can always set their "visible" properties to "false".
However, it's not generally a good idea to have the GUI rearranging itself like that - it frustrates and confuses people - better to simply disable items. That way the UI looks consistent, but the user is prevented from misusing the disabled items and they're usually visually marked as disabled.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic