aspose file tools
The moose likes IDEs, Version Control and other tools and the fly likes Label dissapears in Netbeans Editor if it has no text Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Label dissapears in Netbeans Editor if it has no text" Watch "Label dissapears in Netbeans Editor if it has no text" New topic
Author

Label dissapears in Netbeans Editor if it has no text

Panagiotis Kalogeropoulos
Rancher

Joined: May 27, 2011
Posts: 99

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.
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 927
    
    2

You will have a 'Inspector' window in the left bottom part when you are in 'Design' mode. You can select the label there.


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Panagiotis Kalogeropoulos
Rancher

Joined: May 27, 2011
Posts: 99

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

Joined: Oct 16, 2003
Posts: 927
    
    2

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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Label dissapears in Netbeans Editor if it has no text
 
Similar Threads
sun studio creator or what else?
howto prevent JLabel text selection
Undirected graph help - using ArrayLists and Maps.
yet another jLabel
Trouble opening project in Eclipse