Results 1 to 6 of 6

Thread: My new component

  1. #1

    Thread Starter
    Addicted Member Mrs Kensington's Avatar
    Join Date
    Sep 2001
    Location
    Dorset, UK
    Posts
    144
    Anyone?
    Ford? Theres an infinite number of monkeys outside that want to talk to you about a script of hamlet they've produced!

  2. #2
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Pretty good. Nice and compact.
    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.

  3. #3

    Thread Starter
    Addicted Member Mrs Kensington's Avatar
    Join Date
    Sep 2001
    Location
    Dorset, UK
    Posts
    144
    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!
    Ford? Theres an infinite number of monkeys outside that want to talk to you about a script of hamlet they've produced!

  4. #4
    Fanatic Member zmerlinz's Avatar
    Join Date
    May 2000
    Location
    in a world where the sun always shines on the bloody tv!!
    Posts
    604
    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

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

    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

    [Galahtech.com] | [My Site] | [Fishsponge] | [UnixForum.co.uk]

  5. #5

    Thread Starter
    Addicted Member Mrs Kensington's Avatar
    Join Date
    Sep 2001
    Location
    Dorset, UK
    Posts
    144
    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!
    Ford? Theres an infinite number of monkeys outside that want to talk to you about a script of hamlet they've produced!

  6. #6
    Fanatic Member zmerlinz's Avatar
    Join Date
    May 2000
    Location
    in a world where the sun always shines on the bloody tv!!
    Posts
    604
    ooops feel silly now, i was running the wrong one ,

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

    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

    [Galahtech.com] | [My Site] | [Fishsponge] | [UnixForum.co.uk]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width