d2jsp
Log InRegister
d2jsp Forums > Off-Topic > General Chat > Homework Help > Java Gui Project
Add Reply New Topic New Poll
Member
Posts: 8,250
Joined: May 10 2012
Gold: 0.00
May 1 2015 08:43pm
My code:

http://pastebin.com/NGxeZCvs

Can't figure out why my main method has an error message. I have the main in the code, but when I start it up, it says:

Code
Exception in thread "main" java.lang.Error: Unresolved compilation problem: at LibraryGUI.main(LibraryGUI.java:46)
I guess I am missing the reason for it not compiling.


The other 2 classes, which may be relevant, are both posted in one bin at:

http://pastebin.com/V6M2RexE

Any help would be appreciated. And I'm even willing to throw in my fg if you want it.
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
May 2 2015 12:18pm
your IDE isn't telling you about the compile error prior to running it? what happens when you javac it?
Go Back To Homework Help Topic List
Add Reply New Topic New Poll