Results 1 to 7 of 7
  1. #1
    evanejk is offline Member
    Join Date
    Sep 2010
    Posts
    3
    Rep Power
    0

    Default A few beginner questions about JavaFX vs normal Java.

    I used to know a lot of C++, but now I'm pretty rusty. However I am fluent in php and javascript now. I decided I wanted to learn java.

    In the long run I want to be able to make web applets with java. Does that mean JavaFX would be best for me? Or is JavaFX for advanced java programmers? Is JavaFX the same as normal java except with more if you want it? If I wanted to use mysql with java to make a multiplayer game, what do I need?

  2. #2
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    You dont need javaFx for an applet. JDBC if you want Mysql or database incorparation. javaFX is for RIA's as far as I can tell.

  3. #3
    evanejk is offline Member
    Join Date
    Sep 2010
    Posts
    3
    Rep Power
    0

    Default

    Quote Originally Posted by al_Marshy_1981 View Post
    You dont need javaFx for an applet. JDBC if you want Mysql or database incorparation. javaFX is for RIA's as far as I can tell.
    So I should stick to normal java to keep it simpler.

    Is my understanding correct that "import" is like "include" from c/c++? And to make a web applet I would need to import "java.applet.*" and "java.awt.*"?

  4. #4
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

  5. #5
    evanejk is offline Member
    Join Date
    Sep 2010
    Posts
    3
    Rep Power
    0

    Default

    Quote Originally Posted by al_Marshy_1981 View Post
    Ah, thank you.

  6. #6
    dinosoep is offline Senior Member
    Join Date
    Nov 2009
    Posts
    150
    Rep Power
    5

    Default

    by the way, if you are going to create a game you can use webstart

  7. #7
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,562
    Rep Power
    25

    Default

    Is my understanding correct that "import" is like "include" from c/c++?
    No, it is nothing like include.
    The import statement is like an extension to the classpath. It tells the compiler where to find class definitions. It does NOT insert code from another file into the source file at compile time.

Similar Threads

  1. Beginner Questions
    By elsenoire in forum New To Java
    Replies: 5
    Last Post: 04-10-2012, 10:53 AM
  2. Replies: 0
    Last Post: 02-16-2010, 10:07 AM
  3. JavaFX Script and JavaFX Mobile
    By levent in forum Java Software
    Replies: 1
    Last Post: 01-27-2010, 04:48 PM
  4. Replies: 12
    Last Post: 01-17-2010, 11:05 PM
  5. Replies: 3
    Last Post: 08-10-2009, 06:34 AM

Posting Permissions

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