This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Spark in Action and have Jean-Georges Perrin on-line!
See this thread for details.
Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to remove label

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to remove label..can anybody guide me...
 
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.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • 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....
 
Saloon Keeper
Posts: 22245
151
Android Eclipse IDE Tomcat Server Redhat Java 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.
    Bookmark Topic Watch Topic
  • New Topic