PDA

Click to See Complete Forum and Search --> : My new component


Mrs Kensington
Feb 21st, 2002, 06:20 AM
Anyone?

Dillinger4
Feb 27th, 2002, 11:49 PM
Pretty good. Nice and compact. :p
How long did it take you to do?
Seems like it might have taken awhile
since there is a lot of code.
DOS seems to lock when the JFrame
is closed so maybe there is a bug in the
Listener. :)

Mrs Kensington
Feb 28th, 2002, 02:46 AM
Worked out why it wasn't closing properly. Dumb ass here had put a capital W for windowClosing()!

It took me about a day of continuous coding (well when i say continuous....) though i've noticed a couple of things i'm going to change.
First of all isFocusTraversable() has been deprecated so its changed to isFocusable(), secondly changing the events generated from actionEvents to ChangeEvent!

Thanks for having a look!

zmerlinz
Feb 28th, 2002, 08:23 AM
for some reason it wont run on my machine, i have the latest version of JDK, erm i think i will try it out in one of the computers in Lab and see if works there

if you are interested the error i got was


Exception in thread "main" java.lang.NoSuchMethodError: main

Mrs Kensington
Feb 28th, 2002, 11:27 AM
you are doing java JDatePickerTest in the classes sub directory aren't you?

Also it needs 1.3.0_02 or higher to run you can check your version by doing java -version

Do tell me if you still can't get it to work!

zmerlinz
Feb 28th, 2002, 01:52 PM
ooops feel silly now, i was running the wrong one :p,

cool program, but you haven't got anything that catches the close button, but i will let it that pass this time :rolleyes: :p