• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Label dissapears in Netbeans Editor if it has no text

 
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

I am using the Netbeans editor to create some simple guis. In one gui i put some labels that have no text and are used to display error messages when they happen. The problem is that if a JLabel has not text, it is like it does not exist in the editor so I can't select it, modify it, or even delete it. Do you know how to select a JLabel in the Netbeans editor if it has no text?

Thanks a lot in advance.
 
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will have a 'Inspector' window in the left bottom part when you are in 'Design' mode. You can select the label there.
 
Panagiotis Kalogeropoulos
Rancher
Posts: 99
Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know that I can select the components from the inspector. But if a label has no text, then selecting it in the editor does not open the Properties window on the right. This means that I can't modify it after I initialize it with an empty text.
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The property editor may be in undocked mode. In that case, you have to drag it and dock it. Label being empty is in no way related to docking/undocking of windows.
reply
    Bookmark Topic Watch Topic
  • New Topic