Mac Widgets for Java on Snow Leopard
September 6, 2009
Mac Widgets for Java has been updated to work with Snow Leopard. The Unified Tool Bar, Preferences Bar and Bottom Bar all needed small updates. The textured window in Snow Leopard uses slightly lighter colors, possibly to compensate for the increased gamma correction values, which causes everything to look darker and more saturated.
These updates will be part of the next release (0.9.6), but you can also download the latest developer build here. Be sure to report any issues you have on Snow Leopard, as well as any regressions on Leopard.
September 6, 2009 at 10:00 pm
[…] Ken Orr has posted an update to his Mac Widgets for Java so that the components look more integrated in Snow Leopard. […]
September 7, 2009 at 5:46 am
Thanks so much, looks great! Really impressed with your work on this.
I using it with groovy at the moment, and the combination makes Swing fun again :-)
September 7, 2009 at 11:38 am
Glad to hear it!
September 7, 2009 at 3:25 pm
I also updated my maven module with the latest Changes.
Repository is:
maven.javastream.de
javastream Repository
http://maven.javastream.de
there are 2 Modules:
com.explodingpixels
macwidgets
macwidgets
0.9.6-SNAPSHOT
and
com.explodingpixels
macwidgets-demo
macwidgets-demo
0.9.6-SNAPSHOT
Maybe somebody might need this. I just use it for some Test-Projects :-).
September 7, 2009 at 4:52 pm
Thanks for updating that Philipp!
September 9, 2009 at 9:25 pm
Yes, I won’t work on projects unless they’re in Maven.
I had made my own Maven copy in my local repo, but thanks!
-K
September 9, 2009 at 12:47 pm
Hi Ken,
I just submitted and issue (http://code.google.com/p/macwidgets/issues/detail?id=126), I don’t know whether it’s due to using deprecated methods or if it’s a bug of MacWidgets. Perhaps someone else could confirm that issue (or probably say that he/she has no such problems…).
Best wishes
Daniel
September 9, 2009 at 12:56 pm
Hi Daniel,
You’re the second to report this, so you’re not the only one. I’ll look into it.
-Ken
September 9, 2009 at 9:27 pm
Has anyone else downloaded the new iTunes 9.0? I think the button design is strange. I don’t think I care for it at all.
But maybe my opinion will change with time…
-K, who didn’t like new coke.
September 9, 2009 at 10:07 pm
The rewind/play/fast forward buttons? I agree that they don’t look quite right.
September 10, 2009 at 2:26 am
Yeah, and the gradient background in the search window.
There’s something squirrely and Windowsy about it.
(Not that there’s anything wrong with that… ;-))
September 13, 2009 at 10:43 am
Hi, the macupdate.jar is compiled with Java 6, is this mandatory as most customers use Java 1.5 on Leopard
September 13, 2009 at 11:12 am
Hi Paul,
This was a mistake on my part — I was verifying agains JRE 6 on the Mac and never switched back to JRE 5. I’ve updated the latest developer build to be a JRE 5 jar file.
Let me know if you have further issues.
-Ken
September 13, 2009 at 11:30 am
Thanks Ken
Im just trying to upgrade from a fairly early versions of macwidegets, I delayed this because when I tried it before a few months ago my icons on the toolbar were too bunched up – but this is still the case, any ideas ?
(Snow Leapord is causiong me a bit of a headache, and Quaqua isnt ready for it so I’m considering dropping Quaqua as a LAF and just using some of its functionality (i.e. Jsheet)).
September 13, 2009 at 11:56 am
Ken
You sur eyou’ve updated it Ive tried downloading again using a different browser to avoid caching problems and I still get the following error
bad class file: c:\Code\jthink\libs\client\mac_widgets.jar(com/explodingpixels/macwidgets/IAppWidgetFactory.class)
class file has wrong version 50.0, should be 49.0
September 13, 2009 at 12:07 pm
Ahh, it appears that the 1.5.0 version of Java on Snow Leopard simply points to the 1.6 version. I guess this is going to force Mac Widgets for Java to be 1.6 only?
-Ken
September 13, 2009 at 12:12 pm
Good old Apple, you need a Leopard machine os something.
September 14, 2009 at 9:57 am
Hopefully your last comment was a joke.
Because you can install 10.5 on SL, its just not there by default I read something about it on the apple Java mailing lists, I can’t find it now but it was along the lines of http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard
September 14, 2009 at 10:42 am
Hi Paul,
Well, I was half kidding. Apple has never been sympathetic to users getting burned when using non-standard setups. I’d like to avoid that.
For now, I’ve got Leopard on my work machine, so we can push off worrying about this for now. Try grabbing the latest developer build again — you should find that it’s built with JDK 5.
-Ken
September 14, 2009 at 11:35 am
Yes it works now Ken, thanks for the quick turnaround.
September 14, 2009 at 11:39 am
Actually although I’m sure they don’t want end users installing Java 5 on Snow Leopard surely they want you to be able to use SnowLeopard to develop applications that will run on the default java for Leopard, or Tiger.
If you just add the -source 1.5 to a Java 6 compile would that maintain Java 5 compatability.
September 14, 2009 at 12:13 pm
I’ll add that! Thanks Paul.
September 14, 2009 at 1:36 pm
scrub that, I don’t think that will do what you want.
September 15, 2009 at 8:24 pm
Paul/Ken: I think -target 1.5 is what you want. ;-)
September 15, 2009 at 8:29 pm
I’ll give that a try… thanks Harald!
September 17, 2009 at 1:00 pm
Hi there,
it’s just great. Just to know, for which operating system is the iTunesTable for? What I mean is, is it just for LookAndFeels for Apple or for windows as well?
I tried to use the iTunesTable but i does not show the nice colors…
Even the headers are not shown.
Here my code:
String[][] data = new String[][] { { “A”, “B”, “C” },
{ “D”, “E”, “F” }, { “G”, “H”, “I” } };
String[] columnNames = new String[] { “One”, “Two”, “Three” };
TableModel model = new DefaultTableModel(data, columnNames);
JTable table = MacWidgetFactory.createITunesTable(model);
TableUtils.SortDelegate sortDelegate = new TableUtils.SortDelegate() {
public void sort(int columnModelIndex,
TableUtils.SortDirection sortDirection) {
// initiate your sorting here.
}
};
TableUtils.makeSortable(table, sortDelegate);
table.setShowGrid(true);
add(table, BorderLayout.CENTER);
September 17, 2009 at 1:23 pm
Most all of Mac Widgets for Java (including the ITunesTable) look the same on all platforms. Make sure to add your table to a JScrollPane, and then add that scroll pane to your container.
-Ken
October 29, 2009 at 3:11 pm
Hi Ken
Is MacWidgets 0.9.6 on the horizon ?
October 29, 2009 at 3:31 pm
Hi Paul,
It’s on the horizon — no specific date yet. There are a bunch of bug fixes and there will be a new TabbedPaneUI that acts similar to Chrome — it could be used as for an applications document tabs.
-Ken
November 5, 2009 at 1:26 pm
Hi Ken,
I’ve recently been playing around with the source lists (looks awesome) and noticed they are missing check boxes as found in iCal. Have you any plans to add this?
I cant find anything on OS X Java that has the coloured style checkboxes like in iCal, so was thinking I could use custom icons with a mouse listener to change the checked state. Seems a bit of a hack though!
Chris
November 5, 2009 at 8:57 pm
Hi Chris,
I don’t have any plans to add the colored check boxes, like those seen in iCal. As always, you’re welcome to submit an enhancement request here.
If you wanted to code it yourself, you could look at how I created the HudCheckboxUI, which will give you a pretty good idea of what to do.
-Ken
November 8, 2009 at 1:44 am
Ken,
If you implemented chrome like tabs that would be sweet. Have never been happy with JTabbedPane on OSX.
– Bill
November 8, 2009 at 3:12 pm
Hi Bill,
I’ll be blogging about the upcoming Chrome style tabs soon.
-Ken