|
Tuning Java Swing Applications For Mac OS X
|
Login/Create an Account
| Top
| 16 comments
|
Search Discussion
|
|
|
|
The Fine Print:
The following comments are owned by whoever posted them.
We are not responsible for them in any way.
|
 |
|
 |
 |
|
by
Anonymous Coward
on Saturday October 05, @03:44PM (#3325)
|
|
 |
 |
 |
|
at 21 pages, i would say that it's getting towards O'reilly pocket book size =]
Have you thought of trying out the cocoa-java AppKit interfaces? Since they are just calls to native code, they are mucho faster than Swing could ever be.
|
|
 |
 |
|
 |
|
Swing
(Score:2, Interesting)
|
|
 |
 |
|
 |
 |
 |
The great thing about this article for me as a developer, is that I can develop apps in Swing that look good and work well in OS X (my development platform of choice), but that I can also run under Windows and Linux.
I've developed Swing apps before and found Swing a pretty powerful GUI platform to work with. For basic kinds of things pretty much any GUI toolkit will work, but when you need complex custom widgets that leverage exisiting widgets as much as possible, Swing really shines.
--> Kendall (proper spelling is this post brought to you by Safari [if I remembered to turn it on])
|
|
 |
 |
|
|
|
|
|
|
|
 |
|
 |
 |
|
 |
 |
 |
|
The clear purpose of this article is give information to current Java developers to make their applications attractive on Mac OS X.
Yes, cocoa-java is an option, but it isn't an option with already completed applications.---
MACOSX solved the 'Productivity Paradox' for me ;-)
|
|
 |
 |
|
 |
|
 |
 |
|
by
Anonymous Coward
on Saturday October 05, @10:46PM (#17568)
|
|
 |
 |
 |
|
Does the tutorial include instructions on speeding up java apps so that they run as fast as java on Windows?
|
|
 |
 |
|
|
|
 |
|
 |
 |
|
by
Anonymous Coward
on Monday October 07, @09:48AM (#17601)
|
|
 |
 |
 |
"how to tune standard Java Swing applications to conform to the Mac OS X User Experience and make them virtually undistinguishable from native Mac OS X applications"
... is just impossible !
You can't catch the open event to know if the application was started because someone double-clicked on a document, so you can't display this document when the application starts (it's a MacOS X bug)... How can you make the user experience even remotely similar to a native app without this ?
I haven't tried Jaguar yet, but I guess Apple never bothered to fix this bug. From what I heard, they even added another one: now there is no way to fix the 10.1 bug preventing you to display a "save as" dialog when the user quits the app...
|
|
 |
 |
|
 |
|
 |
 |
|
by
Anonymous Coward
on Wednesday October 09, @04:31AM (#17666)
|
|
 |
 |
 |
From what I read (but I haven't checked so far), the workaround for the quit handler suggested by Apple before 10.2 has a bad result in 10.2 (where the initial bug is fixed, but the old workaround has the result of making the apps quit without warning). They changed their suggested workaround since then, but it doesn't mean all the Java apps developped before 10.2 suddenly changed at the same time they changed their workaround !
I'm just upset they didn't take their own workaround into consideration when fixing the bug.
However, you're bringing good news, and I'm glad there is finally a way to run Java apps on MacOS (it's been a while Apple has been advertising about having the best platform for Java development, but it wasn't the case).
Damien
|
|
 |
 |
|
 |
|
 |
 |
|
by
Anonymous Coward
on Wednesday October 09, @04:18AM (#17668)
|
|
 |
 |
 |
|
I have tried, but I don't see anything related to this bug in the article. To make sure, I tried the JPEG Viewer application, dragging a file to it to open it, and it opens the app without opening the file (as I expected). Maybe this bug was fixed in 10.2 (I'm still using 10.1) ?
|
|
 |
 |
|
 |
|
 |
 |
|
 |
 |
 |
I just wanted to publicly express my thanks for posting this article! Much appreciated. Thank you, Sven!
Krishen
|
|
 |
 |
|
|
|
 |
|
 |
 |
|
by
Anonymous Coward
on Monday October 07, @03:03AM (#17886)
|
|
 |
 |
 |
|
That article was very informative, and I will be referring to it all the time from now on. Thanks for making it available to us all!
|
|
 |
 |
|
 |
|
 |
 |
|
 |
 |
 |
The great thing about this article for me as a developer, is that I can develop apps in Swing that look good and work well in OS X (my development platform of choice), but that I can also run under Windows and Linux.
This is exactly what I love about this document. I haven't read the whole thing yet, but if what I read on page two is correct -- "...we can do all this and maintain full standard Java Swing compatibility... ...in other words, the application will continue to run on other platforms as before" -- I'm overjoyed. My current project involves writing a 100% Pure Java application. I couldn't be happier!
|
|
 |
 |
|
|
|