File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Resuming an old project, gui problems" Watch "Resuming an old project, gui problems" New topic
Author

Resuming an old project, gui problems

Sancho Xavier
Greenhorn

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
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
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
Marshal

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


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resuming an old project, gui problems
 
Similar Threads
NetBeans passing entry parameter for main
Can't see com ports with Netbeans IDE
DriverManager.getConnection hangs from actionPerformed
Install 3rd party jars
Netbeans 6.9.1 : Deployment descriptor directrory can not be found.