I changed a JLabel's text to be "Your Name:" through the Property window. I want to know where this "Your Name: " is stored?开发者_StackOverflow中文版
Also in the Property window, I changed this JLabel's name to be "lblName" but in the FrameView.java file it is still JLabel1. So weired.
- Where is the label's text stored... - The text is probably in the file Bundle.properties (unless you have disabled automatic internationalization) 
- Why didn't the variable name change when I changed the Name property... - The Name property is a property on ALL java.awt.Component objects and a JLabel is one of those things. If you do want to change the variable name in the code, right-click on the component and select the 'Change Variable Name...' item. 
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论