Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19267 > unrolled thread
| Started by | bob smith <bob@coolfone.comze.com> |
|---|---|
| First post | 2012-10-12 12:41 -0700 |
| Last post | 2012-10-12 21:57 -0400 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.programmer
dock icon bob smith <bob@coolfone.comze.com> - 2012-10-12 12:41 -0700
Re: dock icon "John B. Matthews" <nospam@nospam.invalid> - 2012-10-12 21:57 -0400
| From | bob smith <bob@coolfone.comze.com> |
|---|---|
| Date | 2012-10-12 12:41 -0700 |
| Subject | dock icon |
| Message-ID | <e03199b1-03a3-468b-849c-092fd4c9a0c3@googlegroups.com> |
Does anyone know how to set the dock icon of a Java Swing app on Mac? Thanks. Here's what I'm talking about: http://ScrnSht.com/tbowkq
[toc] | [next] | [standalone]
| From | "John B. Matthews" <nospam@nospam.invalid> |
|---|---|
| Date | 2012-10-12 21:57 -0400 |
| Message-ID | <nospam-43F857.21571512102012@news.aioe.org> |
| In reply to | #19267 |
In article <e03199b1-03a3-468b-849c-092fd4c9a0c3@googlegroups.com>, bob smith <bob@coolfone.comze.com> wrote: > Does anyone know how to set the dock icon of a Java Swing app on Mac? > > Thanks. > > Here's what I'm talking about: > > http://ScrnSht.com/tbowkq Using com.apple.eawt.Application, you can do something like this: Application.getApplication().setDockIconImage(icon); Alternatively, you can specify your icon in the Info.plist file of a Mac OS X application bundle, as suggested here: <http://stackoverflow.com/a/8956715/230513> This project is an example: <http://applecommander.sourceforge.net/> -- John B. Matthews trashgod at gmail dot com <http://sites.google.com/site/drjohnbmatthews>
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web