• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Better looking GUI in Java

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all!

Lately I was helping my cousin in her college project. It was some kind of automated testing engine with a GUI in Swing. A question crossed my mind:

Java is so powerful, for desktop apps too. But why arent the GUIs that good looking?

I mean looknfeel concept is nice but still it doesnt produce those cool looking GUIs. Is Java weak in this sense? Or are there other GUI languages etc that can be merged with java code in background!!
 
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess you would be using Swing. Did you check out JavaFX 2? Or other possible GUI frameworks?
 
Suparn Gupta
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah! You got me right. It was Swings. I ll check JavaFX2. But like we have photoshop and other such softwares that can create wonders. Does Java has external application support of such extent that we can incorporate GUI designs (not just images but frames etc too) built using these softwares and run Java in background?
 
Mohamed Sanaulla
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Suparn Gupta wrote:Yeah! You got me right. It was Swings. I ll check JavaFX2. But like we have photoshop and other such softwares that can create wonders. Does Java has external application support of such extent that we can incorporate GUI designs (not just images but frames etc too) built using these softwares and run Java in background?


The fact that the Java GUI is used by the developers, I think it wouldn't be much use for them to provide such a support as it would mostly be used by the designers. I remember pre JavaFX 2 providing such a support, but I dont know the extent it was successful and mostly its been scraped in the new JavaFX release.
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Suparn Gupta wrote:Yeah! You got me right. It was Swings.


Swing is a Proper Noun
 
Darryl Burke
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mohamed Sanaulla wrote:I remember pre JavaFX 2 providing such a support, but I dont know the extent it was successful and mostly its been scraped in the new JavaFX release.


FX 2 still has CSS styling, including background images.

I don't think support for any styling was dropped, but I could be wrong.
http://docs.oracle.com/javafx/2.0/css_tutorial/jfxpub-css_tutorial.htm
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Suparn Gupta wrote:
Java is so powerful, for desktop apps too. But why arent the GUIs that good looking?
I mean looknfeel concept is nice but still it doesnt produce those cool looking GUIs. Is Java weak in this sense?



Certainly not.
The "coolness" of the applications are dependent on the design/developers and not restricted by the framework.
The default look and feel sucks. Agree. But I rarely use it in my apps. The correct way in my opinion is to go for the OS look and feel on which the application is running.

PS. Did you know Netbeans is Swing? Is it cool? Does it suck?
 
Ranch Hand
Posts: 177
Hibernate Python Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Maneesh Godbole wrote:
The default look and feel sucks. Agree. But I rarely use it in my apps. The correct way in my opinion is to go for the OS look and feel on which the application is running.

PS. Did you know Netbeans is Swing? Is it cool? Does it suck?



That's not a good idea on Linux imo. I would use the gtk wrapper there.
 
Mohamed Sanaulla
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Darryl Burke wrote:

Mohamed Sanaulla wrote:I remember pre JavaFX 2 providing such a support, but I dont know the extent it was successful and mostly its been scraped in the new JavaFX release.


FX 2 still has CSS styling, including background images.

I don't think support for any styling was dropped, but I could be wrong.
http://docs.oracle.com/javafx/2.0/css_tutorial/jfxpub-css_tutorial.htm


CSS yes, but I remember pre JavaFX 2 had an option to create a layout in photoshop and import it via some javafx tool (photoshop plugin) into a javafx application. And I was referring to that feature. But CSS styling and other things are still supported.
 
Suparn Gupta
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am sorry for not replying for so long. I was sick(Jaundice). Meanwhile, I started trying JavaFX2. The CSS option is so great. It feels like Iam designing a webpage...!
 
Darryl Burke
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Suparn Gupta wrote:Hi,

I am sorry for not replying for so long. I was sick(Jaundice). Meanwhile, I started trying JavaFX2. The CSS option is so great. It feels like Iam designing a webpage...!



Hope you're well on the way to recovery. Have fun with FX! and if you have any questions, remember there's a separate forum here for Java FX. But don't run down Swing, it's far more flexible than FX when you really need to customize stuff.

OT: I had jaundice twice in my younger days, so I know how it feels.
 
Ranch Hand
Posts: 507
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Suparn Gupta wrote:Hi all!

Lately I was helping my cousin in her college project. It was some kind of automated testing engine with a GUI in Swing. A question crossed my mind:

Java is so powerful, for desktop apps too. But why arent the GUIs that good looking?

I mean looknfeel concept is nice but still it doesnt produce those cool looking GUIs. Is Java weak in this sense? Or are there other GUI languages etc that can be merged with java code in background!!



Why don't you try Look and Feel packages provided by free vendors? At least it can change something, with really no effort at all.
 
Evil is afoot. But this tiny ad is just an ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic