Closed GoogleCodeExporter closed 8 years ago
We should probably change the summary of this enhancement to something like
"Make interface more Mac-
like in OS X", because in addition to keyboard shortcuts, the menu should be in
the menu bar, and
Tools>Options should be RESTClient>Preferences. All this might require the
application to be packaged as a
Mac app package instead of a JAR, which may or may not be desired. I'll see if
I can look into how involved all
this is.
Original comment by aviflax
on 18 Feb 2008 at 10:43
Original comment by subwiz
on 19 Feb 2008 at 8:34
Use the System property `os.name` for generating dynamic interface. Avi, can u
tell
me what this property returns in OS X:
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#getProperty(java.l
ang.String)
System.getProperty("os.name");
Original comment by subwiz
on 19 Feb 2008 at 10:42
"Mac OS X"
Original comment by aviflax
on 19 Feb 2008 at 4:49
I'd think Apple would have some tutorials somewhere on these sorts of things.
Original comment by aviflax
on 19 Feb 2008 at 4:49
http://homepage.mac.com/svc/macosxjava.pdf
has an old tutorial--but think this could be of help. And, I should plan to get
a Mac
(for testing this)!
Original comment by subwiz
on 9 Apr 2008 at 5:33
The Jar Bundler application found in /Developer/Applications/Utilities turns an
Executable JAR into a Mac
application. If you check the "Use Macintosh Menu Bar" option, the menus move
to where Mac users expect
them.
By default, the OPTION key triggers the shortcuts for Swing applications on
Macs. Why the OPTION key and
not the COMMAND key I don't know. You don't need to anything special to make
it work. For example, the
<OPTION-E> keystroke will trigger this button:
b = new JButton("Exit"); b.setMnemonic(b.getText().charAt(0));
These two simple things go a long way to making a Swing app more Mac friendly.
For more packaging info: http://www.centerkey.com/mac/java/
Original comment by pilaftank
on 26 Aug 2009 at 12:09
Thanks for the information. I have been unable to get a Mac for testing :-(
Would you be interested in hacking this piece? I can give u commit rights if
you are
interested...
Original comment by subwiz
on 1 Sep 2009 at 3:09
It took me a while to find the time to get to this, but the Mac OS X version is
now ready. I'd be happy to commit
it.
Original comment by pilaftank
on 12 Oct 2009 at 7:54
Attachments:
Bravo :) Great WORK!! I did some few commits yesterday and today. Be sure to
merge
it. I will give you commit rights right away :-)
Original comment by subwiz
on 16 Oct 2009 at 6:59
Commit rights given. Please checkout:
http://wiztools.googlecode.com/svn/commons-lib/trunk/
and do mvn install before u build the current trunk.
Mac support: This has been a dream come true for me! I have been saving money
to buy
a Mac, asked a co-worker and owner of a Mac to look into this issue: but
nothing
succeeded. Great work :-)
Original comment by subwiz
on 16 Oct 2009 at 7:04
The Mac version is now on the Downloads page.
The project files are in:
restclient-ui/src/main/resources/org/wiztools/restclient/macosx-app/
From now on, anyone with a Mac can follow the instructions to create and upload
the Mac version. The whole
process should take about 5 minutes.
Original comment by pilaftank
on 22 Oct 2009 at 5:35
Bravo :-)
Original comment by subwiz
on 22 Oct 2009 at 7:32
Original issue reported on code.google.com by
aviflax
on 18 Feb 2008 at 7:56