Java: When you want to make a UI that is equally horrible on all OS

  • (2 Pages)
  • +
  • 1
  • 2

18 Replies - 1657 Views - Last Post: 06 June 2011 - 10:03 AM

#1 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1251
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Java: When you want to make a UI that is equally horrible on all OS

Posted 03 June 2011 - 05:32 AM

Now that I have your attention! :lol:

I was browing through the /r/programming subreddit and found this link:
http://forums.silver...502/562113.aspx

It seems a lot of Silverlight/WPF developers are pissed that Windows 8 will use HTML5 and Javascript. I understand this is a VERY early showcase demo and obviously doesn't represent how the final product will work, I just wanted to give context.

But then in the threads, I found this, and oh did I laugh my ass off.

Posted Image

Specifically:

Quote

Java: When you don't want your app to look native on any platform.


This is particularly true, because out of all the Java programs I've used they all had horrible UI's that stuck out as non-native. Since I'm not a Java programmer (I can write it, but don't grok it), I was curious if this is the fault of the programmer or the fault of the UI library itself. I think you guys use Swing, no?

Why do Java programs look like ass?

Then there's this comment:

Quote

It's like 1 line of code to enable native look and feel on apps. Shitty developers don't know it, though. Java gets blamed for all the crappy programs out there written by terrible devs.


If this is true, why don't most programs use it? Or do they use it, but still look brutal?

Is This A Good Question/Topic? 0
  • +

Replies To: Java: When you want to make a UI that is equally horrible on all OS

#2 NeoTifa  Icon User is offline

  • Whorediot
  • member icon





Reputation: 2495
  • View blog
  • Posts: 15,450
  • Joined: 24-September 08

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 03 June 2011 - 05:35 AM

At least ex_ample know's what they're talking about.
Was This Post Helpful? 0
  • +
  • -

#3 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1251
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 03 June 2011 - 05:37 AM

If you know what he's talking about please share!
Was This Post Helpful? 0
  • +
  • -

#4 NeoTifa  Icon User is offline

  • Whorediot
  • member icon





Reputation: 2495
  • View blog
  • Posts: 15,450
  • Joined: 24-September 08

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 03 June 2011 - 05:42 AM

http://download.orac...dfeel/plaf.html

*Disclaimer: I personally have never used it, but I knew this existed.

This post has been edited by NeoTifa: 03 June 2011 - 05:46 AM

Was This Post Helpful? 1
  • +
  • -

#5 xclite  Icon User is offline

  • LIKE A BOSS
  • member icon


Reputation: 877
  • View blog
  • Posts: 3,122
  • Joined: 12-May 09

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 03 June 2011 - 07:36 AM

Good old look and feel. The default IS really freaking terrible, though.
Was This Post Helpful? 3
  • +
  • -

#6 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2506
  • View blog
  • Posts: 4,615
  • Joined: 24-September 10

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 03 June 2011 - 07:39 AM

Some devs might use the default 'metal' or 'CrossPlatformLookAndFeel' because they feel like having consistency in their product across platforms. On a case by case it may not have been the best choice... but eh.
Was This Post Helpful? 2
  • +
  • -

#7 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10179
  • View blog
  • Posts: 37,585
  • Joined: 27-December 08

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 03 June 2011 - 10:20 AM

*
POPULAR

Don't be messin' with mah Java. Remember that an Apple a day keeps Sergio away. :wheelchair:
Was This Post Helpful? 5
  • +
  • -

#8 WolfCoder  Icon User is offline

  • Isn't a volcano just an angry hill?
  • member icon


Reputation: 781
  • View blog
  • Posts: 7,604
  • Joined: 05-May 05

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 03 June 2011 - 05:41 PM

It really is like one line to make JAVA use whatever system look it's running on. Stick that in your main function and forget it.
Was This Post Helpful? 2
  • +
  • -

#9 bonyjoe  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 175
  • View blog
  • Posts: 548
  • Joined: 08-September 10

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 04 June 2011 - 06:27 AM

.Net still looks great though and will probably be the standard for desktop apps on windows 8. They are just making the touch features more accessible to web developers so they can make various widgets etc.

Microsoft has been grooming the crap out of .Net for a long time, it is definitely not going to drop it in favour of a third party developed language.
Was This Post Helpful? 0
  • +
  • -

#10 NeoTifa  Icon User is offline

  • Whorediot
  • member icon





Reputation: 2495
  • View blog
  • Posts: 15,450
  • Joined: 24-September 08

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 04 June 2011 - 09:33 AM

I claim this flawless victory in the name of Java fanboyism :splat:
Was This Post Helpful? 1
  • +
  • -

#11 Raynes  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 610
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 04 June 2011 - 12:05 PM

Swing is only as ugly as whatever look and feel you're using. I wrote a little Swing application in Clojure on my mac, and I was shocked at how much it fit in. http://blog.raynes.me/?p=146 there is a screen shot here.

Note that I even got the menubar to go to the right place on OS X just by adding a call to native! which sets the look and feel to the system look and feel and puts the menubar in the proper place on OS X.

It actually looks really good, even if it isn't a very nontrivial application.

There are a lot of reasons to bitch about Swing (which are considerably lessened for me by Seesaw), but the look of it is generally fixable.
Was This Post Helpful? 2
  • +
  • -

#12 Shane Hudson  Icon User is offline

  • D.I.C Technophile
  • member icon

Reputation: 342
  • View blog
  • Posts: 1,286
  • Joined: 06-December 09

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 04 June 2011 - 03:12 PM

I was wondering this the other day when I was thinking about programming more often with Java (though decided to choose Python instead)... is there no look and feel which just takes the default? Ie. In Win7 it looks like Win7, Xp looks like XP, GDK looks like GDK etc.?
Was This Post Helpful? 0
  • +
  • -

#13 RandomlyKnighted  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 115
  • View blog
  • Posts: 1,332
  • Joined: 14-January 10

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 04 June 2011 - 04:18 PM

View Postbonyjoe, on 04 June 2011 - 08:27 AM, said:

.Net still looks great though and will probably be the standard for desktop apps on windows 8. They are just making the touch features more accessible to web developers so they can make various widgets etc.

Microsoft has been grooming the crap out of .Net for a long time, it is definitely not going to drop it in favour of a third party developed language.


Here's you a preview of what Windows 8 will be like.
Was This Post Helpful? 0
  • +
  • -

#14 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2506
  • View blog
  • Posts: 4,615
  • Joined: 24-September 10

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 04 June 2011 - 04:18 PM

@Shane - Already was answered... it's actually the majority of this thread... o_O

This post has been edited by lordofduct: 04 June 2011 - 04:18 PM

Was This Post Helpful? 3
  • +
  • -

#15 bonyjoe  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 175
  • View blog
  • Posts: 548
  • Joined: 08-September 10

Re: Java: When you want to make a UI that is equally horrible on all OS

Posted 05 June 2011 - 09:27 AM

View PostRandomlyKnighted, on 04 June 2011 - 04:18 PM, said:

View Postbonyjoe, on 04 June 2011 - 08:27 AM, said:

.Net still looks great though and will probably be the standard for desktop apps on windows 8. They are just making the touch features more accessible to web developers so they can make various widgets etc.

Microsoft has been grooming the crap out of .Net for a long time, it is definitely not going to drop it in favour of a third party developed language.


Here's you a preview of what Windows 8 will be like.


Yeah I know, but it's obvious that that is not what people will be using on desktop pcs as that would be an absolutely awful user experience with a mouse and keyboard. There is a point where he opens up the file browser and you see the standard desktop which is what most people will use and looks very similar to windows 7. They will probably change a lot of the ui to resemble office 2010 because that seems to be the way standards are going.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2