This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Resuming an old project, gui problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Resuming an old project, gui problems" Watch "Resuming an old project, gui problems" New topic

Resuming an old project, gui problems

Sancho Xavier

Joined: Jan 11, 2010
Posts: 8
So I've been asked to revisit a project I haven't touched or thought about for 3 years. It was developed using NetBeans 6.9.1 and targeted for jre 1.5. I dug up the source and downloaded NetBeans 7, long story short, I am back in NetBeans 6.9.1 trying to at least get the project to compile and run properly.

In NetBeans I can select "Run Project" and it works flawlessly, GUI and all. When I compile, it succeeds, but upon opening the jar, the window, the fields, and all the buttons show and function, but there is no Application title on the top of the window (it says: Application.title not specified), the background color is grey, no menus, no labels, and no button text.

Like I said, the functionality is still there and so is the layout, but none of the GUI details.

Any ideas as to why the app would run flawlessly within NetBeans, but following compile would be lacking this data?

Thanks for looking at this!
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38045
Code developed on an old version of NetBeans should run normally on newer versions and Java5 code should run on Java7 without any changes.
You can’t even have any of that dreadful auto‑generated code because GroupLayout wasn’t available in Java5.
How are you passing the title to the frame?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41144
Sounds like a properties file that contains this information is missing, or in the wrong place.

Ping & DNS - my free Android networking tools app
wood burning stoves
subject: Resuming an old project, gui problems
Similar Threads
DriverManager.getConnection hangs from actionPerformed
Netbeans 6.9.1 : Deployment descriptor directrory can not be found.
Can't see com ports with Netbeans IDE
Install 3rd party jars
NetBeans passing entry parameter for main