Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-08-2008, 09:28 PM
Member
 
Join Date: May 2008
Posts: 1
Rep Power: 0
computer is on a distinguished road
Question How to Create MAC application using Java on Windows platform..
I have created a java swing application and its working fine on
windows . Now I want to create this for MAC. I got we can
create .app for MAC, but I don't know too much about MAC, so want to
create .app on windows, Is there are any ant task for that or any
steps for creating .appcication..

please suggest me ASAP ...
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 09-08-2008, 10:05 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: SouthWest Missouri, USA
Posts: 2,229
Rep Power: 4
Norm is on a distinguished road
Default
AFAIK jar files will execute on a Mac. So put your app in a jar file.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 09-12-2008, 07:13 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,513
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
jar file can run on any OS. But all of all features are not working/available on any OS. As an example think about tray icon.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 09-14-2008, 01:06 AM
Member
 
Join Date: Jul 2008
Posts: 68
Rep Power: 0
racerxadam is on a distinguished road
Default
One of the benefits of Java is that it can be write once, run anywhere. As long as you don't hard code anything OS specific i.e.

Code:
FileReader fileReader= new FileReader("C:/temp/myFile.txt");
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 09-14-2008, 06:19 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,513
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
Originally Posted by racerxadam View Post
One of the benefits of Java is that it can be write once, run anywhere. As long as you don't hard code anything OS specific i.e.

Code:
FileReader fileReader= new FileReader("C:/temp/myFile.txt");
True, but you have to select the most correct way to work on any OS. As I said in my previous post there are some limitation to use standard API for any OS in Java.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Application Interface similar with Windows Themes Heracles Choe AWT / Swing 9 05-02-2008 04:47 AM
JAVA application residing on the windows tool bar! rameshraj Advanced Java 19 04-30-2008 04:30 AM
Building a Rich Client Platform application (I) JavaForums Java Blogs 0 01-03-2008 11:40 AM
Build a Rich Client Platform application (II) JavaForums Java Blogs 0 01-03-2008 11:40 AM
Create Windows, Applet & Swing Eric AWT / Swing 1 07-05-2007 07:36 AM


All times are GMT +2. The time now is 06:39 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org