简体   繁体   中英

how to change jFrame name in netbeans

I'm following a tutorial ( http://docs.oracle.com/javase/tutorial/uiswing/learn/creatinggui.html ) to make a gui in java it says "First, set the title of the application's JFrame to "Celsius Converter", by single-clicking the JFrame in the Inspector:" I can't seem to find an inspector anywhere and some from what I could tell from some searching it is called "Navigator" now. I have a navigator on screen by default but clicking on jFrame isn't doing anything...so how am I suposed to change the name of the jframe?

The "inspector" (AKA the "Navigator") is typically found on the left hand side under the "Project"/"Files" group.

Navigtor

The "Inspector" and "Navigator" use to be separate, but they appear to have been merged and display different things based on the current context of the editor. You can open it, if closed, pressing Ctrl + 7 or going to Window > Navigator menu.

Make sure your in "Design" mode and not "Source" mode in the editor. You can check this based on the state of the toggle buttons at the top of the editor

模式

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM