• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

iTunes like interface with Swing?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 694
Mac OS X Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
iTunes was actually developed using WebObjects which has a relationship with Java:

wikipedia.org on WebObjects

Kaydell
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 694
Mac OS X Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
What does a metric clock look like? I bet it is nothing like this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic