Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1915 > unrolled thread
| Started by | "ImLurkingHere" <imlurkinghere@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:36 +0000 |
| Last post | 2011-04-27 15:36 +0000 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.lang.java.gui
NetBeans - Refactor kille "ImLurkingHere" <imlurkinghere@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: NetBeans - Refactor k "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: NetBeans - Refactor k "ImLurkingHere" <imlurkinghere@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: NetBeans - Refactor k "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
| From | "ImLurkingHere" <imlurkinghere@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:36 +0000 |
| Subject | NetBeans - Refactor kille |
| Message-ID | <1183079329.099985.235280@k29g2000hsd.googlegroups.com> |
To: comp.lang.java.gui I'm working on a program in the NetBeans IDE. I have a few components that I've created, and added to the design pallet. Today, I decided to reorganize my code a bit, and renamed the default package where most of my source is kept. After re-naming and refactoring the code, I opened up one of my forms, to discover that all of my compontents were "invalid". In some forms it gives me errors about loading the properties of the various components. The components were added from the project, not from a JAR, if that makes any difference. I tried "reload form" in the source browser, but it doesn't work :(. Any suggestions? I really don't feel like starting over. I'm using NetBeans 5.5. Thanks. --- * 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 | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:36 +0000 |
| Subject | Re: NetBeans - Refactor k |
| Message-ID | <746770634ac78@uwe> |
| In reply to | #1915 |
To: comp.lang.java.gui ImLurkingHere@gmail.com wrote: >I'm working on a program in the NetBeans IDE. I have a few components >that I've created, and added to the design pallet. Note this is an IDE/java problem (but mostly IDE). It is not so much a 'GUI' question. >Any suggestions? I really don't feel like starting over. I'm using >NetBeans 5.5. Stop using NetBeans until you can code both basic Java, and are relatively proficient in writing GUI code. The basic problem here, I guess, is that the NetBeans form definition is still expecting the old packge names (or lack of them). But that is between you, and your IDE. -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via http://www.javakb.com --- * 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] | [next] | [standalone]
| From | "ImLurkingHere" <imlurkinghere@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:36 +0000 |
| Subject | Re: NetBeans - Refactor k |
| Message-ID | <1183089205.171973.190740@w5g2000hsg.googlegroups.com> |
| In reply to | #1917 |
To: comp.lang.java.gui On Jun 29, 1:23 am, "Andrew Thompson" <u32984@uwe> wrote: > Note this is an IDE/java problem (but mostly IDE). > It is not so much a 'GUI' question. Sorry, I'll keep that in mind. > The basic problem here, I guess, is that the NetBeans > form definition is still expecting the old packge names > (or lack of them) Well, that prompted me to try and open up the .form file used by NetBeans, and I'm in luck. It's an XML document, so I can change the class references in the form to point to the new packages. Thanks for the (slightly indirect) help! --- * 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] | [next] | [standalone]
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:36 +0000 |
| Subject | Re: NetBeans - Refactor k |
| Message-ID | <7468be246ffa9@uwe> |
| In reply to | #1918 |
To: comp.lang.java.gui ImLurkingHere@gmail.com wrote: . >> The basic problem here, I guess, is that the NetBeans >> form definition is still expecting the old packge names >> (or lack of them) > >Well, that prompted me to try and open up the .form file used .. Aha! Well, if you are going to add that level of common sense to the use of the IDE while learning Java, it might be possible to circumvent or work around the hazards I expected would hinder the project! >...by >NetBeans, and I'm in luck. It's an XML document, ... Yeah. NB is relatively sensible that way. The project files are either ant based build.xml's, or NB's own (AFAIR) internal project files are also XML based. If something goes wrong with a build or run (it will) those are the the most common files to look into. >..so I can change the >class references in the form to point to the new packages. Glad you sorted it. >Thanks for the (slightly indirect) help! Your ability to sort the problem from the hint, and willingness to report back, was more than enough thanks. -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via http://www.javakb.com --- * 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