Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3316 > unrolled thread
| Started by | "Willy Wankalot" <willy.wankalot@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:44 +0000 |
| Last post | 2011-04-27 15:44 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.gui
Java -> Netbeans -> JText "Willy Wankalot" <willy.wankalot@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
Re: Java -> Netbeans -> J "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
| From | "Willy Wankalot" <willy.wankalot@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:44 +0000 |
| Subject | Java -> Netbeans -> JText |
| Message-ID | <13ub3q4kls6eob0@corp.supernews.com> |
To: comp.lang.java.gui Hi New to java, but seasoned in other languages like C++. Anyway, first time using Netbeans for java. When using the gui designer to place a text component in a dialog, I get a default "JTextField1" name for it from the gui designer. so far, so good. But when I rename it to something else like "Username" in the "name" field, the change is not made in the source. However, when I right click the JTextField component and do "change variable name", it changes the source code *and* name field correctly. Is this a bug in the IDE or am I misinterpreting the use of the "name" field in the properties box? No big deal ... I just need to use the right-click method to change the name, but I would like to verify this behavior is not just my install of it, or anything else I might be overlooking about the behavior of the gui developer. TIA --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [next] | [standalone]
| From | "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:44 +0000 |
| Subject | Re: Java -> Netbeans -> J |
| Message-ID | <Et2dnY2PceD1E3ranZ2dnUVZ8u-dnZ2d@novis.pt> |
| In reply to | #3316 |
To: comp.lang.java.gui Willy Wankalot wrote: > Hi > > New to java, but seasoned in other languages like C++. Anyway, first time > using Netbeans for java. > > When using the gui designer to place a text component in a dialog, I get a > default "JTextField1" name for it from the gui designer. so far, so good. > But when I rename it to something else like "Username" in the "name" field, > the change is not made in the source. However, when I right click the > JTextField component and do "change variable name", it changes the source > code *and* name field correctly. Is this a bug in the IDE or am I > misinterpreting the use of the "name" field in the properties box? > > No big deal ... I just need to use the right-click method to change the > name, but I would like to verify this behavior is not just my install of it, > or anything else I might be overlooking about the behavior of the gui > developer. TIA > > I think you want "change variable name". "name" is/can be used for other things then unique identification. -- Sabine Dinis Blochberger Op3racional www.op3racional.eu --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web