Can one JVM use multiple X Windows displays?

I'm probably clutching at straws here, but is it possible for one JVM to use multiple X Windows displays? Consider this, I've got multiple video cards and each card has a different X session running on it (localhost:0 and localhost:1 for example). I start up a JVM that is displaying to :0 but I also want it to be able to display windows also on :1 without having to instantiate a new JVM.
Is this at all possible and any ideas on how it might be done?

yes, this can be done. I think that you need to set the GraphicsDevice for the JFrames and JDialogs so that they appear in the right place. look at the class GraphicsEnvironment for more information.

Similar Messages

  • When can one computer use multiple I match

    I share a computer. We all have individual apple ids and individual iTunes a counts.  I am new to apple products. Why can't I have my own match account when someone already has match?  I understand if I want to use it that would mean that he could not use his account for 90 days.  Why so unfriendly for families?  Any help or ideas?
    Thanks

    There are no workarounds: http://support.apple.com/kb/HT4627?viewlocale=en_US&locale=en_US

  • How to Merge 1 PDF file  to 50 PDF together not one by one. Using Acrobat 9 Windows xp.

    Hi, How to Merge 1 PDF file  to 50 PDF together not one by one. Using Acrobat 9 Windows xp.

    Depending on just what you are trying to do, you can also use DOCUMENT>Insert Pages to add multiple documents or simply drag and drop the documents into the current document (OK, I have not tried this one).

  • HT1206 Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)

    Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • Can one pc have multiple ipods

    I have a problem when trying to download/purchase new music, I receive three security questions to set for security purposes. After listing the questions and answers I click the continue or enter and I receive an error message that my answers could not be saved. This began after entering code from an itunes card recently purchased, I was able to purchase 1 song and then this issue came up.

    Your title seems to have nothing to do with your post.
    Is your question "can one pc have multiple ipods"?  If so, then yes.  You can sync as many ipods as you like to one comptuer.
    Or is your question something to do with the body of your post?

  • Can you access/use multiple apple ID's on one device?

    Hello,
    In our family we have been registering everything (ipods, iphones and computers) all under one apple id. We have made purchases with the family apple id which we have been accessing on multiple devices. With everyones different needs I am wondering about setting up new apple id's for different family members. Can I use multiple apple id's on devices like my iPhone and still access apps/books/music purchased on the family apple id's and if so how do I do this. 
    Thank you in advance for your help.

    Why do you have 3 Apple IDs?
    Apple IDs cannot be merged and items bought with one Apple ID cannot be transfered to another. A computer can only be associated with one Apple ID every 90 days for automatic downloads, re-downloading of past purchases or iTunes Match. There is no getting around this restriction.
    One computer can be autorized to play content purchased with multiple Apple IDs, though.
    My suggestion is to pick on Apple ID and stick with it for the future. Once you have decided, log into one of the other Apple IDs and download every avialble item you bought with that ID to your computer. Wait 90 days. Log into the other ID and do the same thing. Wait 90 days. Finally log into the "main" Apple ID and stay logged in. Keep current backups of all your purchased items on a local, external HDD.

  • Using multiple arrange windows + drag apple loops from one to another

    does anyone or has anyone experienced this?
    when you drag a apple loop from on arangement to another (both the same tempo) the apple loop will not cycle correctly, and audio instruments have to be shifted via the delay parameter for both AI and Apple loops to line up. this is a frequent accurance for me.
    logic 7.1.1

    i resign this topic. guess i am the only one who uses this work flow. cheers.

  • Can one textfield have multiple text backgrounds?

    Hello guys,
    I have been trying to find a way to color the backgrounds of different words in a single textfield with different colors. 
    For an example, lets imagine the whole text is a story which has nouns and verbs...etc
    Now I want to show the full text which is my story and highlight the background of nouns in blue, verbs in red.
    Please see the attachment.
    Then I have dedicated toggle buttons for each types. The use of those buttons is removing or showing those backgrounds. For an example and when user clicks on noun button it will remove or show the background of all the nouns. Same for the button for verbs.
    Then you may ask why I can't achieve this by using separate textfield for each word in the story and line them like a paragraph.
    The problem is user should be able to edit those text. So those are INPUT typed textfields. So all the words should move within the boundaries of paragraph when user keep changing one word. Please see the second attachment and you may see that I have changed the first word by typing "abcde", so as I type all other words should move like you type inside a textfield. So thats why I think if we can achieve it using single textfield rearranging words as user types is taken care of the textfiled so we don't need to place all the words manually.
    When I was trying to think of a way to do it, I found that background is only a property of TextField, but not TextFormat.
    If it was a property of textformat then I could have set different formats for different words in same textfield.
    So that option is out.
    Also I thought of using CSS with htmlText. But unfortunately text-background is not supported by actionscript stylesheet class.
    I really appreciate if you can post your expert ideas to help me how to achieve this task.
    Thanks
    Nisha

    Is there an expert to answer this question please?
    Any big guns...

  • After the latest update of Itunes I can no longer use it. Windows Error 127 and restore Itunes is the message I get. Do I have to download it again fro m the Apps store?

    Do I have to download Itunes again from the App Store after updating my original I can no longer use it.
    Keep getting the error message Windows error 127, restore ITunes. This has not affected my IPad at all.
    Hope someone can help.
    thanks Jean

    Hello Jean,
    Based of what you have provided then I would say yes download iTunes from Apple’s website and also make sure that your version of Windows is up to date as well. Take a look at the article below to walk you through that plus some other steps necessary to get you back to using iTunes.
    If you can't install or update iTunes for Windows
    https://support.apple.com/en-us/HT201668
    Regards,
    -Norm G. 

  • Can one have i cloud functionon windows 8.1 allowing to be able to read ibooks

    can one have i cloud function on windows 8.1 allowing to be able to read ibooks

    To read iBooks you must have the iBook app which only works on iOS devices and Mac OS X 10.9, Mavericks.

  • How can I better use multiple displays as if they were multiple computers?

    In Mavericks I read online that multiple display support is the best it's ever been, but it's still very frustrating.  Is there any way to get the "multi displays are different spaces" option to act more as it promises?  Photoshop, for instance, refuses to let me move all of its control windows to my calibrated display, forcing me to go back and forth between my Eizo and internal monitors; one for its colors and the other for the tool pallates. 
    I want to use my MacBook display just for email and such, so I don't want to close the lid, but I wish it could be really segrigated.  The experience I'm looking for is sort of like 2 computers with a shared keyboard and mouse.  One dock per display is desprately needed.  Can that be done? 
    Also allowing each display to have one applicatioin currently in front when multiple input devices are present would be greatly appreciated.  I could then keep one keyboard and tablet in front of the Eizo and use the internal for use on the Macbook - if the OS could learn my setup it could really be the best of the benefits of having 2 computers and just one.  Shared Clipboard and one Space colaborating seamlessly with another, while having the abillity to work entirely within one space and then move to the other while waiting for a command to finish executing, or to go back to the file system to open more work. 
    This is so close to perfect but it has a few really frustrating limitations.  Any advice? 
    thank you
    -Jeremy

    data.
    At least your query seems to get data where MODIFIED_BY IS NULL, doesn't it?
    So if the reccount is>0 there is a reason to inform your employees.
    Bye, Olaf.
    Olaf Doschke - TMN Systemberatung GmbH
    http://www.tmn-systemberatung.de

  • How can one specify that multiple windows open (each with its own web page(s) ) when Firefox starts?

    I am on Firefox 15.0. I would prefer not to open multiple tabs to get multiple web sites up when Firefox is started. Instead, I prefer multiple windows. Some might have one tab, some might have several. For example, one window might have Gmail, another might have several different web pages related to weather, and another might simply have Google, and another Yahoo, and another, Orbitz. Since there may be five or six of these windows, with multiple web pages, perhaps 20 in toal, tabs get cluttered, and I don't prefer them anyway. I have plenty of memory and processing power.
    Interestingly enough, if Firefox crashes, it allows you to restart with the pages it thinks you would want. It would be great to have a Start Firefox option similar to that!

    You can reopen the windows and tabs from the previous session.
    You can also use command line switches with a bash script or a modified Firefox desktop shortcut ant use -new-window -url <URL> to open a page in a new window.
    <pre><nowiki><path to firefox>/firefox -new-window -url <URL1> -new-window -url <URL2>
    </nowiki></pre>
    *https://developer.mozilla.org/en/Command_Line_Options

  • How can one resize a inDesign Document Window without moving Document's position?

    I've searched high and low for an answer to this habit that inDesign has. Am I the only one that finds this annoying?
    You go to adjust the size of your document window to move it out of the way to get to something else on your desktop, and instead of keeping the document in place and just resizing the window, it moves the document with the resize. Not sure if I'm putting this in a way that people can understand me. Say I have two inDesign files open side by side and I zoom in on an area and adjust my view of the page. Then I go to the other inDesign document and adjust the view by grabbing the bottom right hand corner of the window and moving it to where I want it. The whole document then moves with it! I desire it not to, so now I have to waste time by using the hand tool to move it back into place. Illustrator doesn't act like this. Photoshop doesn't act like this. Only inDesign. Does this harken back to the PageMaker days? Am I missing a preference somewhere I need to change? Or is it just the way of things and I'm stuck with it?
    Currently using inDesign CS5 and CS6 on a Mac in OS 10.6.8

    Hi,
    The simplest would be to set the application preferences in the script.
    Like this :
    -- *** set prefs ****
    tell application "AppleWorks 6"
          activate
          set oldPrefs to its preferences
          copy oldPrefs to tPrefs
          tell tPrefs
                set old version warning to false --doesn't show the old version warning alert  
                set converted file suffix to true -- append “[v6.0]” to documents converted from older formats
                set locked file warning to false
                set paint reduction warning to false
          end tell
          set preferences to tPrefs
    end tell
    -- *** end set prefs ****
    --**** your script, example ***
    set tfiles to choose file with multiple selections allowed
    tell application "AppleWorks 6"
          repeat with i in tfiles
                open i
                tell front document
                      -- do something
                end tell
          end repeat
    end tell
    --**** end  your script ***
    -- *** reset prefs ****
    tell application "AppleWorks 6" to set preferences to oldPrefs

  • Possible to test one JVM using RMI into another JVM through a single IDE?

    Hi everyone,
    I'm currently trying to do something that I'm not yet sure is possible so I'll try to explain what I want to do as best I can and hopefully someone can give me some insight.
    Basically I'm working with a service that runs on a JVM and I also have separate tool that runs its own main class with a new JVM.
    Currently, in production the only way the tool can interact with the running service is to connect over RMI, which is fine, but now I want to add some new tools doing the same thing but am having a hard time figuring out the best way to test it pre-production.
    So I guess what I'm asking is if it is possible to have my main service running in a test suite, and then also run a completely separate class through its main method and have it connect via RMI to the other one. All using the same instance of some IDE (in this case IntelliJ IDEA)
    I know there are other ways of testing it, but this would be ideal (I think) if I could get it working at all.
    My current test suite creates unix home directories so I could possibly tap into that somehow. I guess my other option would maybe be to run the tools class on its own through a different outside of the IDE enviro.
    Thanks for any possible help

    IJ lets you debug multiple apps concurrently from a single IJ instance. You didn't mention that that's what you're doing, but I'm assuming it is, else why run in IJ, right? If it's not what you mean, I assume that you can also just plain ol' run multiple apps the same way, and if by some weirdness you can't, just debug 'em and don't set any breakpoints.
    EDIT: I guess I don't really know what you're talking about. When I've debugged multiple apps, it was using the "remote" debugging facility. The apps were started on the command line, and then I connected IJ. Note that "remote" just means a separate JVM, not necessarily a remote host, though that's also doable.
    What is it exactly that you need IJ for as part of the runtime here?
    Edited by: jverd on May 20, 2011 2:50 PM

  • Can one instance have multiple redo threads ?

    i was reading the Oracle Data guard 10g guide and it says
    Determine the appropriate number of standby redo log file groups.
    Minimally, the configuration should have one more standby redo log file group than the number of online redo log file groups on the primary database. However, the recommended number of standby redo log file groups is dependent on the number of threads on the primary database. Use the following equation to determine an appropriate number of standby redo log file groups:
    (maximum number of logfiles for each thread + 1) * maximum number of threads
    Using this equation reduces the likelihood that the primary instance's log writer (LGWR) process will be blocked because a standby redo log file cannot be allocated on the standby database. For example, if the primary database has 2 log files for each thread and 2 threads, then 6 standby redo log file groups are needed on the standby database
    while Oracle's definition of redo log states the following
    Redo Threads
    When speaking in the context of multiple database instances, the redo log for each database instance is also referred to as a redo thread. In typical configurations, only one database instance accesses an Oracle Database, so only one thread is present. In an Oracle Real Application Clusters environment, however, two or more instances concurrently access a single database and each instance has its own thread of redo.
    this is confusing, in a typical environment where only one instance accesses a database, can we have more than one redo thread ?

    Though you can create multiple threads but of no use in NON-RAC or non-parallel server configuration.
    Following is the generic formula. You should consider
    maximum number of threads = 1 for single instance (NON-RAC).
    (maximum number of logfiles for each thread + 1) * maximum number of threads
    Message was edited by:
    Reega

Maybe you are looking for

  • Rip-off apps in the store

    If you do a search on the word "Microsoft" in the store, you will find several apps that are mostly purchased by people who confuse them with actual Microsoft products.  For example, we have "Microsoft(R) Word(R) 2010 -- mastering in 24h(TM)."  The r

  • Installing software written for Windows Vista/XP

    Hi everyone, I've just realised that some software I've got was written for Windows XP/Vista and not Mac, but the company that made it says that some of their customers have been able to find a way to convert the software for Mac. Their rep couldn't

  • Parent/Child vlan configurations

    Hi, Comparing some 2811 configurations from two years ago to now, I found these changes but have no idea where they came from. Is this a hidden default that is now shown in the configuration? Is this needed or can it be deleted?  Version 12.4(24)T3 I

  • Finder, Safari, and Photoshop CS6 keep crashing.

    Hi there, I could really use your help as I am a photographer and can't edit any photos without photoshop. My macbook pro has version 10.9.3 and a 2.4 ghz intel core i5 processor with 4 gb of memory. I have a ton of space on my hard drive, but in the

  • Printer profile for non canon paper

    Is there a list of profiles for Epson, Kodak, OfficeMax, etc photo papers?