6 Replies - 3056 Views - Last Post: 01 February 2011 - 09:32 PM

#1 heyoman1  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 64
  • View blog
  • Posts: 735
  • Joined: 30-November 09

JavaFX or Swing?

Post icon  Posted 01 February 2011 - 07:43 PM

If you were to make a large, sophisticated program to be distributed to the public, would you use JavaFX or Swing to make it?
Is This A Good Question/Topic? 1
  • +

Replies To: JavaFX or Swing?

#2 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2857
  • View blog
  • Posts: 10,960
  • Joined: 15-July 08

Re: JavaFX or Swing?

Posted 01 February 2011 - 07:49 PM

I would use Swing. I am not familiar with JavaFX at all, to be honest, however, I thought that it was primarily used to be added to webpages for dynamic content (sort of like flash). I could be wrong.

Due to that uncertainty though, I would use Swing.
Was This Post Helpful? 0
  • +
  • -

#3 fromTheSprawl  Icon User is offline

  • Monomania
  • member icon

Reputation: 513
  • View blog
  • Posts: 2,055
  • Joined: 28-December 10

Re: JavaFX or Swing?

Posted 01 February 2011 - 08:03 PM

What is JavaFX?
I'm just making a portable app right now, and I'm using Swing + I/O(which I just learned from boss Dogstopper here it won't work that way).

Can JavaFX help me?
Was This Post Helpful? 0
  • +
  • -

#4 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2857
  • View blog
  • Posts: 10,960
  • Joined: 15-July 08

Re: JavaFX or Swing?

Posted 01 February 2011 - 08:07 PM

No Swing is ok....it's JApplet that doesn't work...Swing is the the way to go.


OT:
JavaFX is basically a Java version of Flash. It has had little impact on the desktop community.
Was This Post Helpful? 1
  • +
  • -

#5 fromTheSprawl  Icon User is offline

  • Monomania
  • member icon

Reputation: 513
  • View blog
  • Posts: 2,055
  • Joined: 28-December 10

Re: JavaFX or Swing?

Posted 01 February 2011 - 08:13 PM

I can use Swing with JFrame?

That is the only thing I need, to use Swing(not that horrible AWT) for the GUI. Me extending my program to JApplet is attributed to the fact that I'm following a book right now as I go along with Java. Man, how could that book possibly let me down? Yet it did.

Anyway... back to the topic.

Wikipedia lists it as a platform to release rich internet applications. By large, sophisticated program do you mean it to be up there on the internet or installed at the desktop?

(Reading more information about JavaFX by the time this would be posted)
Was This Post Helpful? 0
  • +
  • -

#6 heyoman1  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 64
  • View blog
  • Posts: 735
  • Joined: 30-November 09

Re: JavaFX or Swing?

Posted 01 February 2011 - 09:24 PM

So I guess from the lack of knowledge about JavaFX, there's probably less of a community for it too. So I guess I'll stick with Swing then!
Was This Post Helpful? 0
  • +
  • -

#7 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10180
  • View blog
  • Posts: 37,594
  • Joined: 27-December 08

Re: JavaFX or Swing?

Posted 01 February 2011 - 09:32 PM

JavaFX Script is actually being discontinued, and the functionality is being moved to standard Java APIs. So I'd stick with Swing because of this. JavaFX Script is still compiled to bytecode, so you can still use it with your other Java code.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1