Results 1 to 2 of 2
  1. #1
    lasse_larsson is offline Member
    Join Date
    May 2013
    Posts
    2
    Rep Power
    0

    Default How to create osX java application bundle that allow multiple instances of program?

    I wonder if it is possible to specify an OsX application bundle .plist key that allows for opening new instances of a program when i click "open with" in Finder?
    As an example I have created a simple text editor in java and want to open multiple instances when clicking on different text files.
    The current behaviour is that the currently open instance of program is destroyed and the new is opened. If not a setting in the application bundle, is there a way to handle this in the Mac OSX with for example the ApplicationListener interface?
    In windows "open with" opens a new instance of the program. /Andreas

  2. #2
    lasse_larsson is offline Member
    Join Date
    May 2013
    Posts
    2
    Rep Power
    0

    Default Re: How to create osX java application bundle that allow multiple instances of progra

    I found one work-around, it is to make my program behave differently and handling multiple frame instances in the OsX handleOpenFile(ApplicationEvent event), I guess this means that the different frames still only have one GUI-thread.... puh..... why does Mac have to be so darn non-standard!
    /Andreas

Similar Threads

  1. Bundle program into a single file?
    By kkid in forum New To Java
    Replies: 1
    Last Post: 03-29-2013, 02:49 PM
  2. Replies: 9
    Last Post: 05-21-2012, 09:52 PM
  3. Multiple GUI Interface Instances
    By mutagen in forum AWT / Swing
    Replies: 2
    Last Post: 03-19-2011, 04:06 PM
  4. Debug Multiple Java Applet Instances
    By szgaljic in forum Java Applets
    Replies: 1
    Last Post: 09-21-2010, 05:38 AM
  5. Replies: 1
    Last Post: 08-07-2007, 05:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •