Migrating Projects Created in NetBeans IDE 5.5 to NetBeans IDE 6.1
I have a Swing/JDBC application, which is created using NetBeans IDE 5.5, and is not yet complete. I attended Sun Tech Days 2008 in Manila and I asked the NetBeans Booth for instructions on migration. Here is the screeshot of my project in NetBeans IDE 5.5:

I was wondering what those red exclamation marks on the left pane in the Projects window mean. I tried hovering my mouse waiting to see some tooltip or some error tips for it but it didn't provide information.
Another point is that this is how my JFrame looks in NetBeans IDE 5.5:
...and here is what it looks like in NetBeans IDE 6.1:
Notice the differences... especially the length of the visible textfield. What could the reason be?
| Attachment | Size |
|---|---|
| 55.png | 47.19 KB |
| 61.png | 44.43 KB |
- Login or register to post comments
- 554 reads
- Flag as offensive
- Email this Story
- Printer-friendly version
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)







Comments
Geertjan Wielenga replied on Mon, 2008/06/23 - 3:49am
Hi Joshua! Those red error marks indicate that some of the classes in those packages are unable to compile for some reason. You should try to expand those packages and find those classes, which will also have those red error marks. Maybe you're missing a library in your migrated application? It's possible that you migrated your application, but somehow failed to include the libraries on which the application depends.
The second question can partly be explained by the fact that you're using different look and feels. Try running the 6.1 version with the Metal look and feel, which is what you seem to have used for the 5.5 screenshot.
Varun Nischal replied on Mon, 2008/06/23 - 4:30am
in response to: geertjan
@Geertjan,
Well, I faced another problem, i.e. the components added on a panel on JFrame, gets hidden, when window resizing takes place. In my case, its not related to Look and Feel (as far as I know), its more related to the Matisse.
I had once blogged about resizing components, wherein the components position shifts due to resizing, I found the workaround.
However, I am looking for a solution for windows to resize to a limit, i.e. they should not hide components. Any suggestions?
jemate18 replied on Wed, 2008/06/25 - 6:51am
in response to: geertjan
Hi Joshua! Those red error marks indicate that some of the classes in those packages are unable to compile for some reason. You should try to expand those packages and find those classes, which will also have those red error marks. Maybe you're missing a library in your migrated application? It's possible that you migrated your application, but somehow failed to include the libraries on which the application depends.
The second question can partly be explained by the fact that you're using different look and feels. Try running the 6.1 version with the Metal look and feel, which is what you seem to have used for the 5.5 screenshot.
I have tried using the metal look and feel, but to no luck, the problems on the JFRAME sizes and its components was not solved.