Re: Class Loading on Different Opperating Systems



In article <MPG.1e970ebba46a21d8989e1c@xxxxxxxxxxxxxxxx>,
Chris Smith <cdsmith@xxxxxxx> wrote:

[ snip ]

I still find it hard to believe that WindowListener.windowClosing
doesn't work properly on the Mac... but if you've tried it, I guess I
can't argue since I don't have a Mac to try it with.

WindowListener.windowClosing works exactly the same way on a Mac as it
does in Windows and Linux.

The origins of this question are not about handling window closing
events, but about the proper way when running on a Mac to handle the
system-provided Quit and About menu items. If you took a Swing app you
designed on Windows or Linux and moved it to a Mac, you would find those
items present whether you wanted them or not. And the Quit menu item,
since your app wouldn't provide any handling for it, would simply
unceremoniously terminate your application without your intervention.
The About item would display a simplistic dialog with "Java" in it
rather than using your already-built code.

= Steve =
--
Steve W. Jackson
Montgomery, Alabama
.



Relevant Pages

  • 15 reasons Macs are still better than Windows PCs
    ... With Windows 7 coming up, it's time to yet again ponder on whether ... I long ago stopped actively seeking out Mac vs PC discussions (partly ... Apple uses good quality parts. ... problem lies from those three apps. ...
    (comp.sys.mac.advocacy)
  • Re: Apple Notebook
    ... die gerne mit Unix Befehlen arbeiten und sich freuen, ... mich stören weder UNIX-Befehle (neben Mac OS X benutze ich selbst z.B. u.A. auch HP-UX, UNIX ist für mich also kein Fremder) noch Leute, die mit ihrem Mac zufrieden sind. ... Mich stört auch nicht, dass Windows mit Ausnahme von Windows Server 2003 R2 keine UNIX-Befehle kann, genauer gesagt geht mir das ziemlich am Allerwertesten vorbei, einfach weil der Bedarf nicht vorhanden ist. ... Und das nicht nur deswegen, weil Apple schlichtweg keinen professionellen Support anbietet, sondern weil die Masse der wichtigen Anwendungen eben nicht unter Mac OS X läuft, sondern unter Windows oder allenfalls noch Linux. ...
    (de.comp.sys.notebooks)
  • Re: I really do like OS X but . . .
    ... I think he was pointing out that Microsoft has to ensure backwards compatibility with the older MS-DOS based versions of Windows, which introduces a number of problems. ... But, of course, Mac users have no choice but to upgrade... ... support perspective too. ... even going to try to claim the PPC port of gcc is anywhere near as good ...
    (comp.sys.mac.advocacy)
  • Re: 15 reasons Macs are still better than Windows PCs
    ... 15 reasons Macs are still better than Windows PCs ... With Windows 7 coming up, it's time to yet again ponder on whether ... Microsoft has the upper hand in operating systems. ... I long ago stopped actively seeking out Mac vs PC discussions (partly ...
    (comp.sys.mac.advocacy)
  • Re: POWER POINT
    ... Gotcha on "Package for CD" (for Windows). ... Ah, I wouldn't dream of hurting you, Steve... ... Was it there in Office for Mac 2004? ... There's a free PPT Viewer for Mac. ...
    (microsoft.public.mac.office.powerpoint)