On Fri, Aug 14, 2009 at 3:08 PM, Matthew Stevenson<no-reply at opensolaris.org> wrote: > What would the feasibility of using JavaFX Script for vpanel UIs be? > > Not only would this be a good showcase of JavaFX in a real-world application, > but it would also be a bit more modern and visually pleasing for the user > than regular Java Swing UIs. Since this would just be the UI, still using > existing Java classes for the main work (touted feature of JavaFX), it should > still retain the original benefits of using Java for vpanels (ability to run > remotely etc) > > Since vpanels are still relatively new, I guess it would be a good time to > consider it, if it were indeed a viable option.
vpanels predates JavaFX by quite a bit. > Any thoughts on this, or am I barking up the wrong tree? Having ported some java swing apps to javafx, it's not all that easy. There's a whole lot of java functionality that's just plain missing. Even interfacing with old java code can be a bit of a pain. (For example, Collections and Generics aren't available to you: they're implemented underneath but the language gives you no access to those constructs.) It's also the case that javafx is targeted at rich media; it's not obvious how well it would work for what are basically simple text forms. If you wanted to use javafx, I think it would involve a paradigm shift in how you build the user interface. What kind of rich media experience can you imagine? (I'm not saying that enhancing the user interface isn't a good thing, but I'm not sure I can yet think far enough outside the box.) And I don't think there's a sparc version. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
