This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

iTunes like interface with Swing?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to make an modern mac os x interface with Swing on Mac OS X? (like Mail or iTunes).
If there any docs or books on this topic that one could point me to would be greatly appreciated.
 
Ranch Hand
Posts: 693
Mac OS X Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iTunes was actually developed using WebObjects which has a relationship with Java:

wikipedia.org on WebObjects

Kaydell
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Kaydell Leavitt:
iTunes was actually developed using WebObjects which has a relationship with Java:



This sounds odd, since WebObjects is a server-side framework. I believe the iTunes Store is done with WebObjects, though.

The MacOsxFaq points to Greg Guerins software, who has Java adapters for several OS X core libraries (e.g. drawers). Using those would definitely give the app an OS X touch.

Apples Java also has partial support for a brushed metal look-and-feel.
[ June 13, 2007: Message edited by: Ulf Dittmer ]
 
Kaydell Leavitt
Ranch Hand
Posts: 693
Mac OS X Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

...WebObjects is a server-side framework.


Thanks for correcting me Ulf.

Here is something that should be useful.

When you install Apple's developer tools on your hard drive, there will be some Java sample code for developing desktop applications: For example, see SwingSet2:

/Developer/Examples/Java/JFC/

Apple also provides a default "look-and-feel" as Aqua for their implementation of Java SE.

Apple also provides a simple Mac OS X Swing application template. Even if you don't plan to use XCode, you can open XCode, choose "New Project...", and choose the "Swing Application" project and see Apple's idea of a simple Swing app.

Apple provides the following interface and classes that are useful to make a Mac applicatioin be more "Mac-like":

import com.apple.eawt.Application;
import com.apple.eawt.ApplicationEvent;
import com.apple.eawt.ApplicationListener;

The above imports can be used to receive 7 standard Apple Events and to provide an about box, and a Preferences menu-item in the Mac OS X application menu as Mac users would expect them to be.

Kaydell
[ June 19, 2007: Message edited by: Kaydell Leavitt ]
 
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!