Re: Windows/Linux/Mac GUI?



On 7 Jun 2005 04:28:49 -0700, J.M. Joensuu wrote:

> ..As the game works in
> Windows, Linux, Mac OS X and Solaris, I would like to support as many
> of those OSs as possible.
>
> If I write the GUI using Swing, will the program work on Windows,
> Linux and Mac?

Yes. There might be a few quirks with Mac's implementation of Swing,
but otherwise yes.

[ Assuming the end user has Java 1.2+ (or Java 1.1 and the Swing Jar)
installed ]

>..I don't know what Solaris is..

Sun's own OS.

>..or if it has Swing,

Solaris would come ready with a late model Java installed.

> What else should I know about cross-platform developing?

One quick tip. Avoid the system specific path separators for file names
and text file EOL character by calling the appropriate system properties..
<http://java.sun.com/docs/books/tutorial/essential/system/properties.html>

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
.



Relevant Pages

  • Re: Initial experiences moving to Mac
    ... 2Ghz Intel Core Duo processor a few weeks ago. ... Mac platform is to replace both my Linux boxes ... and my Windows boxes (for music and occasionally other stuff Linux ...
    (comp.sys.mac.advocacy)
  • Re: The Palladium (NGSCB) rollout has begun!!!
    ... >>willing to make the phones with Windows CE. ... Can you imagine a WindowsCE based cellphone? ... In most ways Linux ... Look at Mac Office and IE. ...
    (comp.os.linux.misc)
  • Re: HP announces new Integrity servers
    ... alone VMS on Itanic, when Solaris on good old familiar x86 will fill the bill if they can't use Windows or Linux to do so? ... You want to suggest that that 'something else' somehow involves HP-UX or VMS on Itanic, when it's obvious that people already used to those x86 platforms will far more likely be attracted to Solaris on x86-64 if they can't break out of that Windows mind-set and expand using the same OSs that they currently use on x86. ...
    (comp.os.vms)
  • Re: Should Apple do away with OS X?
    ... good enough for the majority of Photoshop users to be using Windows, ... then clearly it would be good enough for the Mac users. ... Where You perceive Windows or Linux to be better, ... at Apple because they will not port OS X to Linux. ...
    (comp.sys.mac.advocacy)
  • Re: advice for a mac laptop, please
    ... generally speaking the Mac just works out of the box. ... i need Linux for my Phd. ... Mac way of doing what you did on a Windows PC. ... operating systems, you may need a generous amount of disk space, ...
    (comp.sys.mac.misc)