View Single Post
  #3  
Old 10-11-2009, 01:17 AM
Bellum Bellum is offline
Novice
 
Join Date: Sep 2009
Posts: 25
Default

First, thanks alot for the help and example and explanation. That will be a great help in building in the future.

Second, Are there any good links that you know of that have syntax and java script and/or java basic's.

Thrid, When #JSREAD on the file I get this error

Code:
 missing ) after argument list (window.js#9)"
I looked over it a quite a few times and I can't seem to find where you fail to close a (). I attached the file exactly as I load it in UMC.

In my UMC root folder I have it saved as window.js but the forum will not let me upload that file so I switched it to a txt just for uploading purposes.



EDIT

I actually found the bug, was in the line:

Code:
 myFrame.setDefaultCloseOperation(javax.swing.Windo wConstants.DISPOSE_ON_CLOSE);
needs to be:

Code:
myFrame.setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
Thanks again for the help Uda!
Attached Files
File Type: txt window.txt (419 Bytes, 1 views)

Last edited by Bellum; 10-11-2009 at 01:50 AM.
Reply With Quote