Is it possible to have one java GUI program run from another Java program
If it is possible let me know and if you could write some code that would be greatly appreciated.
Frank
hm ... what will happen, if one of these applications
invoke System.exit(...)?- The JVM starts its shut down
sequence and both applications will shut down this
way.You're right. If you don't want that - or you can't rely on the behaviour of the second app - you have to start another VM in a separate process calling Runtime.exec().
If you only want to "use" the second app from the first one (and you have the sources) you can write a method like main() which do not call System.exit() at the end.
Alex
Similar Messages
-
hello,
I am tring to convert my main test vi in case structure so latter on i can make some changes in that for example i want creat one pause button and reset button in that.
I am not so much familer with case structure i want your guidence that how can i make my vi in globle case stucture in that i m having case 1 ,case 2...
i already tried for that but then i got confused.
here i am attaching my .llb file in that aa.vi is my main testing vi.
will you plese guide me so i can make confort vi in case structure.
Or can it possible to have one pause button and one reset button in same stucture,so User can pause or reset execution at any time when they want.
Thank you very much in advance.
Attachments:
aa.llb 3338 KBHello,
I have change my entire structure ,now is it possible to have pause and reset button.
here i have attached my changed vi.
if still any changes required then please suggest me.
Thank you.
Attachments:
aa.vi 75 KB
aa1.llb 3333 KB -
I have one device that can run iCloud. It is my iPad. I backed up all my photos to the cloud, then deleted them off my ipad. I thought they would download
to my Mac and to my iTouch but then I discovered that those two devices are too old to run icloud. Now my photos are gone! Is there any way my ipad can access them again?
Thanks for any help. These photos were of our recent vacation in Ecuador. I hate to lose them forever.
DorothyWelcome to the Apple Community.
Photos in photo stream...
You can log into your iCloud account on another computer or device and enable photo stream to see your photos. You should do this as soon as possible because photo stream in the cloud only keeps photos for 30 days and each day you delay, you will lose another days photos.
Photos in the camera roll...
If you kept a back up of your device you can use it to restore to a replacement device, this will restore all of the photos in your camera roll and isn't time limited. -
I am trying to purchase an app and update my apps all are free but it won't accept my card, all it keeps saying is that my payment method has been declined, I only have one card so can't try another. Now I can't use some of my apps because they are waiting to be updated. Somebody please help!!
Hello Sriggers,
Welcome to the Apple Support Communities!
I understand that you are attempting to update some applications on your iPhone but the payment method was declined. In this situation, I would recommend reading over the information in the attached article to help resolve the situation.
Pay an unpaid balance in the iTunes Store - Apple Support
Best,
Joe -
HAVE ONE WEB PAGE OPEN AND SUDDENLY ANOTHER WEB PAGE OPENS
I can have one web page open and suddenly another web page will pop up. Why? It doesn't happen all the time. Like I said suddenly.
Another thing you can try doing is scanning for Malware:
Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]
Download and Run TDSSKiller [http://support.kaspersky.com/faq/?qid=208283363 http://support.kaspersky.com/faq/?qid=208283363]
Download and Install Microsoft Security Essentials [http://windows.microsoft.com/en-US/windows/products/security-essentials http://windows.microsoft.com/en-US/windows/products/security-essentials] (not an official endorsement, but I personally recommend MSE as an awesome permanent anti-virus)
Double check for all Windows Updates.
What is the website that opens up? Is it always the same, always different, one of a few, etc? -
Is it possible to have 5.1 S/PDIF input from the pins of Audigy 2 ZS SB0350?
LIs it possible to have 5. S/PDIF input from the pins of Audigy 2 ZS SB0350? Hello,
I took this sound card (Audigy 2 ZS SB0350) yesterday from a friend, just to test whether it can do what I intend to use it for. It is only the card itself without the front panel (the I/O Dri've Bay) and I want to connect a satellite receiver's S/PDIF output to the sound card input in order to experience a 5. sound, which my satellite receiver supports. Since it turned out that this sound card has no digital inputs but on the front panel (the I/O Dri've Bay), I started wondering whether I can connect the coaxial digital out of the satellite receiver directly to some of the pins of the Audigy 2 ZS, and in case I can do that, will I have the desired 5. sound on the analogue outputs of the sound card or just stereo?
If this is impossible, can you confirm that if I buy Audigy 2 Platinum (with I/O Dri've front panel) I can have the desired effect (no matter if the output of the satellite receiver is coaxial or optical)?
Thank you for your answer
Best regards,
ZdravkoInstall disks for specific systems do not boot a different system. Sometimes if the two computers are from the same year and are the same type and the same build number, maybe.
-
Have one instance on linux running one database.can i create more databases to sam
i have one instance on linux running one database.can i create more databases to same instance and they all remain up .
you can create more than one database (Instance) on the same machine, start up all of them, in the connect string write the Instance name you want to work with.
null -
I keep seeing "you have been disconnected from chat because you have signed in to Yahoo Messenger from another computer of device" Please explain to me what this means.
what does "you have been disconnected from chat because you have signed in to Yahoo Messenger from another computer or device mean?
-
Can someone pls. Tell me how long it would take to have the iPad up and running from removing the plastic on the box?
Upon applying for Telstra contract, salesman filled out all details & I was approved immed. He grabbed a new iPad 2 from the store's stock, all plastic wrapped, a white 32 gb. He then asked me if I needed to go and do some shopping as he had mucked something up and had to redo application. Everything had been completed and approved on screen, so I wasn't sure why he had asked me to come back in half an hour. I did so, and upon arriving back he was standing at the desk, iPad in hand together with receipt and box, no evidence of shrink wrap. As I already had bought a red cover, he basically grabbed that and slipped the iPad straight into it, without really asking me, and said, all ready to go. Was a bit surprised but accepted that. Did not see it being unwrapped, sim inserted or anything. Thought it to be odd, and without any further advice, was handed bag, box and receipt. Got home, thought it looked a bit fingerprinty, then wondered why it was basically set up ready to go. He knew I was a gadget freak, owning 25 wifi related devices, but had never bought apple products so he said I'd have no problems. There was virtually no set up to go through except for asking if I had an apple ID which I didn't so I created that and away I went. I was looking through the settings a bit later and noticed the ITunes said to sync back with WILLS-MSI when it was available. WILLS is the name of the store. There was a 32 gb white iPad 2 as a display model and now I am seriously wondering if he has taken that off the shelf and given to me. I have never in my life bought a display model and never would. From my description do you think I may be right? ( even the silver back looked 'not quite new').
OPINIONS appreciated, is there anyway of checking to see if a reset has been done as I am not at all happy & will be going straight to store manager on opening of store. -
I have a sole i-pod and two pc's, used the instructions for "iTunes for Windows: Moving your iTunes Media folder" in the hope that I could synch my one i-pod between two different computers that are sharing the same library. Is it possible to have two seperate computers that only share an external hard drive (one wireless, one not) ? When I am looking at a shared library should it appear the same on both machines (ie: playlists/ purchased list etc)?
If it is moved correctly, playlists will display on both computers and it should be possible.
Close iTunes.
Hold <SHIFT> and launch iTunes.
When prompted to create a new or open an existing iTunes library point iTunes to the iTunesLibrary.itl file on the external drive.
The entire library should now show up with all playlists and playcounts.
Do this on both computers.
Keep in mind that only one computer can access iTunes at a time, otherwise errors will occur when each computer attempts to write to or update the iTunesLibrary.itl file.
Syncing may work seemlessly with both computers, but honestly syncing is designed to work with one and only one computer. -
Is it possible to have a number of cards (say one credit card and two debit cards) to be listed as the payment cards for my itunes account, so that different cards can be used for different purchases? Or can you only have one card registered on itunes at any one time?
So is there any way that three members of a family can share one itunes account but pay for their own purchases, other than inputting their own cards each time they make a purchase.
No, there is no way to do that.
Or if we all have our own individual itune accounts, can we share each other's music, or can you only sync your iphone/ipad/mac, with one itune account at a time?
You can sync content from up to five iTunes Store accounts to any given computer or device. You just will each have to copy the content into your own libraries so you can sync to your devices and have your devices authorized to all applicable accounts.
Regards. -
Is it possible to clone one part of an image into another in iphoto?
Since it is not possible in Aperture to clone one part of an image into another photo is it possible in iphoto?
No. You will need to use an image editor that can handle layers.
Some Image Editors that support layers:
Photoshop Elements 9 for Mac - $79
GraphicConverter - $45
Rainbow Painter - $30
Imagerie - $38
Acorn - $50 Pixelmator - $60
Seashore - Free
Portraits and Prints - Free
GIMP for Mac - Free
Of those I believe you get the most bang for the buck with PSE 9. The following are some of the advanced editing you can do with it:
Click to view full size
Click to view full size
Additional possible candidates for editors can be found by searching for "edit" at MacUpdate.com.
OT -
Possible to create a pool of JVM's from another JVM's ?
Hi all,
currently I'm researching on a small task where a native "black box" C++ library needs to be integrated into Java, developing some kind of JNI-based wrapper. I've done this already with SWIG two times before, worked quote well, but this time it's different: The wrapper will be used from a multiuser application (i.e. various parallel working calls) but the native library is not only not threadsafe, but it also utilises static variables at central places.
My idea is the follwing
1) The standard solution part: create a wrapper application in it's own JVM which exposes the native interfaces as Java interfaces
2) Instantiate multiple of these wrappers as separate processes (i.e.: separate JVMs, the "inside JVM") from another JVM ("outside JVM").
3) The outside JVM uses the multiple instances in a kind of "round-robin" or "next free" pattern to assign new calls to a set of "worker JVM".
The interesting part of this question is in 2): How can I instantiate a [set of] new JVM from inside another JVM so the inside JVM are really their own processes? Only by having the multiple instances as separate processes I can overcome the problem of the single-threaded native lib becoming "quasi-multithreading"?
The easiest approach would be likely to start new JVMs using the "Process" object and to start new JVMs with the usual shell scripts. But I'd like to have some more elegant ,-)) Is there any way to have this done in a better way?
Thanks a lot,
Soeren GerlachPresumbly locking wouldn't work?Not really: Locking would mean that only one client/person could use the library using the Java wrapper. That in fact is the shortcoming I'd like to overcome by instantiate multiple processes.
Thanks,
Soeren -
How to restrict values in one prompt based on value from another prompt
Hi
I have a requirement as follows. I have two fields (objects)
program code
contract number
one program code can have several contract numbers.
I need to provide prompts on Program code and contract number. when user selects one program from the prompt on program code then contract field should only show contract numbers belonging the program user selected.
Please let me know how to bring this functionality in Webi report.
Thanks in advance.Hi
if ur requirement is in query level its impossible.(i mean whn u click on programcode then u have to display in contract at query level)
if you want to display at report level then
The two objects Program and contract have a mapping then place a program object in query filter and use operator equal to and select prompt and run the query then it will ask you to select program .whn on choosing it you will get filtered contract numbers for that program in report level . There no need to use prompt for contract numbers object .
Hope this helps u
Thanks
sunil
Edited by: K.sunil on Nov 7, 2011 9:30 AM -
I get disconnected when I try to read my mail. I didn't sign on from another computer or device. I need to keep chat open and I don't know how to do it.
Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
Your above posted system details show multiple Java Console extensions.<br />
You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
See also http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0
Disable the Java Quick Starter extension: Tools -> Addons -> Extensions<br />
Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)
Maybe you are looking for
-
Airport: Self-assigned ip address, can't connect (public routers only)
this has been talkeda bout before, but is extremely frustrating, because i don't have the problem with a PC. 1/2 of the public routers i connect to have some kind of login page, most the time they just say "youre getting free internet, click here" ..
-
Applying a swatch to imported illustrator file (link)
Hi All, I'm quite new to InDesign and I just want to query the below... I've imported an illustrator file, which I have several instances of on the document, and have applied a colour swatch. InDesign is displaying the colour so that it fills the ent
-
Is there a config file or java method in app server that I can set a timeout for a jsp page and then send a message to the user saying they have to login again?
-
Question- Issue for productoin
Hello Experts, Error 'Quantity falls below minimum stock level' in issue for production window.What could be the reason for this ?
-
BTW the id and pw I use just got me logged into this forum on my iPad. The program I can,t log onto is adobe LR.