Updates to Java On-Line Compiler

Discussion in 'Java' started by Andrew Thompson, Jan 26, 2004.

  1. Andrew Thompson, Jan 26, 2004
    #1
    1. Advertising

  2. Andrew Thompson

    ak Guest

    > I would appreciate some testing.
    > I have not even managed to test
    > the 1.3 stuff yet..


    yeah, next step is online-IDE ;-)

    ____________

    http://reader.imagero.com the best java image reader.
    ak, Jan 26, 2004
    #2
    1. Advertising

  3. Thomas Fritsch, Jan 26, 2004
    #3
  4. Thomas Fritsch wrote:

    > Andrew Thompson wrote:
    >
    >> I would appreciate some testing.
    >> I have not even managed to test
    >> the 1.3 stuff yet..

    >

    *Sorry* for my previous nonsense post. I hit the send-buttom before I
    pasted in my text!


    The CardTest example is not compilable with
    the settings
    -target 1.3
    -bootclasspath 1.3

    ...../CardTest.java:21: cannot resolve symbol
    symbol : variable YELLOW
    location: class java.awt.Color
    addPanel(Color.YELLOW, "First");
    ^
    ...../CardTest.java:22: cannot resolve symbol
    symbol : variable GREEN
    location: class java.awt.Color
    addPanel(Color.GREEN, "Second");
    ^
    ...../CardTest.java:23: cannot resolve symbol
    symbol : variable MAGENTA
    location: class java.awt.Color
    addPanel(Color.MAGENTA, "Third");
    ^
    ...../CardTest.java:24: cannot resolve symbol
    symbol : variable CYAN
    location: class java.awt.Color
    addPanel(Color.CYAN, "Fourth");
    ^
    4 errors

    ....Thomas

    ______________________________________________________
    Thomas <dot> Fritsch <at> ops <dot> de
    Thomas Fritsch, Jan 26, 2004
    #4
  5. "Thomas Fritsch" <> wrote in message
    news:...
    | Thomas Fritsch wrote:
    .....
    | >> I have not even managed to test
    | >> the 1.3 stuff yet..
    .....
    | The CardTest example is not compilable with
    | the settings
    | -target 1.3
    | -bootclasspath 1.3
    |
    | ..../CardTest.java:21: cannot resolve symbol
    | symbol : variable YELLOW

    Yeah. Scratches head. I noticed they were
    not working with the 1.1 classes, but hadn't
    seen it with 1.3...

    [ I tried at home with debugging on.. it is
    definitely testing against the 1.3 rt.jar ]

    Brings us to the same question as the
    undocumented introduction of
    BufferedImage in 1.2. When were
    the Color constants introduced?

    I would be astounded to find the
    Color.CONSTANTS were
    introduced in 1.4...

    --
    Andrew Thompson
    * http://www.PhySci.org/ PhySci software suite
    * http://www.1point1C.org/ 1.1C - Superluminal!
    * http://www.AThompson.info/andrew/ personal site
    Andrew Thompson, Jan 26, 2004
    #5
  6. Andrew Thompson wrote:

    >...
    >I would be astounded to find the
    >Color.CONSTANTS were
    >introduced in 1.4...
    >...
    >
    >

    Color.YELLOW, Color.GREEN, etc were indeed introduced in 1.4
    (but without any "@since" doc-comment),
    whereas Color.yellow, etc exist from the early 1.0

    Thomas

    ______________________________________________________
    Thomas <dot> Fritsch <at> ops <dot> de
    Thomas Fritsch, Jan 26, 2004
    #6
  7. "Thomas Fritsch" <> wrote in message
    news:...
    | Andrew Thompson wrote:
    |
    | >...
    | >I would be astounded to find the
    | >Color.CONSTANTS were
    | >introduced in 1.4...
    | >...
    | >
    | >
    | Color.YELLOW, Color.GREEN, etc were indeed introduced in 1.4
    | (but without any "@since" doc-comment),
    | whereas Color.yellow, etc exist from the early 1.0

    Sounds like the version checker might
    come in _very_ handy if these results
    are right [ read: 'if I have not made a
    monumental logic or coding error'.. ]

    --
    Andrew Thompson
    * http://www.PhySci.org/ PhySci software suite
    * http://www.1point1C.org/ 1.1C - Superluminal!
    * http://www.AThompson.info/andrew/ personal site
    Andrew Thompson, Jan 26, 2004
    #7
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Thompson

    Updates to On-Line Compiler

    Andrew Thompson, Feb 27, 2004, in forum: Java
    Replies:
    6
    Views:
    335
    Andrew Thompson
    Mar 1, 2004
  2. Hugo
    Replies:
    10
    Views:
    1,292
    Matt Humphrey
    Oct 18, 2004
  3. kaushikshome
    Replies:
    4
    Views:
    754
    kaushikshome
    Sep 10, 2006
  4. scad
    Replies:
    23
    Views:
    1,146
    Alf P. Steinbach
    May 17, 2009
  5. Marek Stepanek
    Replies:
    12
    Views:
    401
    Peter J. Holzer
    Sep 2, 2006
Loading...

Share This Page