Running in invisible mode

Hi,
I have a Java Frame that i want to run in invisible mode. The problem is that i have to set it to visible first, then invisible otherwise it doesn't seem to execute. Also if i set it to ICONIFIED, the program doesn't run until it is maximized.
How can i make it so i never have to make it visible and have it still run?
Thanks for any help.

First explain what you mean by "executing a frame". Hi, this is the first time i have done anything in Java. I am trying to run this java program from a C program, but don't want to see the window pop up at all. But if i don't have the f.setVisible(true) where it is, the viewer modules, which are capturing streaming data and writing to bmp's to not work. The same is true if i set to ICONIFIED.
Thanks, hope this helps...
public static void main(String args[])
ms_standalone = true;
Frame f = new Frame(AppID.getAppID().getAppName());
f.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent we)
System.exit(0);
f.setSize(352, 320);
f.setLayout(new BorderLayout());
int numCams = 0;
StringBuffer concatURL = new StringBuffer();
for (int i=0;i< args.length;i++)
String arg = args;
if (arg.startsWith("-")) {
int eqidx = arg.indexOf("=")+1;
if (arg.startsWith("-num=")) {
numCams = Character.getNumericValue(arg.charAt(eqidx));
} else {
usage();
System.exit(0);
} else {
if (concatURL.length() != 0)
concatURL.append("|");
concatURL.append(arg.trim());
// create multiple viewers
Viewer cv[] = new Viewer[numCams];
for (int i = 0;i < numCams; i++) {
cv[i] = new Viewer();
cv[i].m_parameters.put(PAR_ACCESSORIES, "none");
String tmpStr = concatURL.toString() + i + ".a";
cv[i].m_parameters.put("url", tmpStr);
cv[i].m_camNum = i;
f.add(BorderLayout.CENTER, cv[i]);
cv[i].init();
f.setVisible(true);
cv[i].start();
f.setVisible(false);

Similar Messages

  • Run ifrun60.exe in invisible mode

    Hi,
    I am running a form from a batch file and i want to run it in invisible mode,
    please tell me how it can be acheived.
    Regards,
    Sandeep

    zakaoullah gave a good solution.
    Still, I do not understand why do you have to call/open a form without showing anything, and not rather call some procedures written in the form you are in or in a .pll attached to the form you are in. Because, usually, when you create a form, it is created in order to be visible and to interact with the user somehow.

  • How to put some tabs in sales order item level  invisible mode

    Hello Gurus ,
    Good evening everybody ,
    We have some specific requirement from the client - Client does n't want few  end users to see the price details in sales so they want  the condition tab to be  invisible mode in sales order item lvel only for few users  i.e the condition tab  should not be displayed  for that user  is this possible  ?
    Note : I only have idea setting few fields in  sales order  but not tabs in sales order through screen variant -SHD0
    Looking for your inputs
    Thanks and regards
    Venkat

    Hi,
    There are a couple of options you can go with.
    1) You can use Transaction and Screen variants to create your own ZVariant and then put that to user profile.  Allow the user to run only with the variant you setup for the user via authorizations.
    2) Get GUIXT software by Synactive, to perform the above task for you. 
    3) If you happen to have latest version of SAP ECC i.e. 6.0 with EHP3 or above, you can go with NWBC (Netweaver Business Client).
    Thanks
    Kapil Sharma

  • Collection Data Form in invisible mode.

    Hi,
    We are using zcm 10.3 installed on SLES 11. Our clients are XP SP3. I have configured a collection data form with autofill and checked "Invisible mode for autofill only" In the autofill settings I have entered a environment variable. I have configured a Collection data form schedule to run "When a device is refreshed". The collection data form never pick up the environment variable value when running a refresh. When I right click on the ZenWorks notify icon and choose "Collection data form" the environment variable value configured in autofill is picked up.
    Autofill worked well when refreshing a device in zcm 10.2.2.
    Does anybody know if this is a known "bug"?
    /John

    hajo68,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Running 10.6.8. Trying to open and view contents of a CD (of an MRI) and getting message 'This program cannot be run in DOS mode' Is there a way? Thanks for the help.

    Running 10.6.8. Trying to open and view contents of a CD (of an MRI) and getting message 'This program cannot be run in DOS mode' Is there a way? Thanks for the help.

    Go to the support site for the provider of the MRI software.
    Sounds like it windows/PC. I have ran across that for the CDs that veterinarians provide for digital x-rays.
    I would try on a PC or on yuur Mac with Windows via BootCamp or a virtual machine like VirtualBox

  • I am trying to run my registered CS6 Design Standard programs for the first time after install. InDesign runs OK, but Illustrator and Photoshop will only run in trail mode. How do I activate those two?

    I can't get my registered versions of CS6 Photoshop and Illustrator to run in full mode. I installed CS6 Design Standard online end of June (an upgrade from CS5.5), on my old MacBook Pro. I didn't run the programs then as I was waiting on arrival of new MacBook Pro. I migrated the programs from my old MacBook to the new, and today tried to run those programs for the first time. InDesign work OK (after an initial hiccup) but Illustrator and Photoshop will only run in trial mode, and won't let me save files. My CS6 Design Standard shows with it's registration in my Adobe Account. All seems in order, but Illustrator and Photoshop won't run in registered mode. Can you please help?

    Demons1 in the future please only migrate your documents and settings.
    Please use the uninstallers to remove your current installation.  They are located in the Applications/Utilities/Adobe Installers folder.  Once the uninstall is complete you will also want to run the CC Cleaner Tool.  You can find more details at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.
    If you need to download a fresh copy of the installation files for Creative Suite 6 you can do so at Download CS6 products.

  • Every time I start iTunes I get the message: "iTunes exec has been set to run in compatability mode for an older version of Windows. Turn off compatability mode for iTunes before you open it." How do I turn off the compatability mode?

    Every time I start iTunes I get the message: "iTunes exec has been set to run in compatability mode for an older version of Windows. Turn off compatability mode for iTunes before you open it." How do I turn off the compatability mode? Particularly when I have to do it before I turn on iTunes.

    Try the following document, only be sure that none of the boxes in the compatibility mode tab are checked (not just the compatibility mode box itself):
    iTunes for Windows: How to turn off Compatibility Mode

  • Running under classic mode - Standard Options

    In WLS 5.1 server, there was an option to run under classic mode in a UNIX environment.
    We just upgraded to WLS 6.1 and in the docs, http://e-docs.bea.com/wls/docs61/perform/JVMTuning.html
    it mentions classic mode available in NT but not in UNIX.
    Does anyone know if the java option -classic will work under 6.1 and if not, what
    the new option is.
    Elizabeth

    -classic asks the JVM to use the old non-HotSpot JVM. First off, why do
    you want to use it? It's most likely slower.
    -- Rob
    E Johnson wrote:
    In WLS 5.1 server, there was an option to run under classic mode in a UNIX environment.
    We just upgraded to WLS 6.1 and in the docs, http://e-docs.bea.com/wls/docs61/perform/JVMTuning.html
    it mentions classic mode available in NT but not in UNIX.
    Does anyone know if the java option -classic will work under 6.1 and if not, what
    the new option is.
    Elizabeth

  • Getting error message that states itunesexe has been set to run in compatibilty mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it .How do i turn off compatibility mode?

    recieved error message that states" itunes exe has been set to run in compatibility mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it. How do i access compatibility mode and turn it off ? Believe i have Windows 7.

    Try the following document, only be sure that none of the boxes in the compatibility tab are checked (not just the compatibility mode box itself): 
    iTunes for Windows: How to turn off Compatibility Mode

  • I have a mac osx version 10.6.8 no windows and i am trying to install a program but keep getting can not run in dos mode  ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?

    i have a mac osx version 10.6.8 no windows installed and i am trying to install a program but keep getting can not run in dos mode  ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?

    You run Windows in Parallels or Fusion. Then in Windows you install the program.

  • How to delete application deployed in Run Application Only mode?

    I have exported/imported an application (Run Application Only mode) from one DB instance to another.
    As a developer, I cannot see the application in Application Builder in the target instance. This is as intended because changes should only be made on the source (development) instance.
    After testing, there may be errors to correct. The application is not going to be a new version, it is going to be corrected on the source instance. Without creating a new version of the application on the source instance, what steps does the HTML DB admin take on the target instance to delete the application so the application can be imported again?
    Thanks,
    Kelly

    Thank you Scott. I missed the help text to the side of the install page that explained how an existing application is deleted and replaced.
    The tool provided the prompt page, Confirm Replace Application, before proceeding with the install.

  • How to recompile a single JSP in WLS10.3 running in production mode

    In OAS there was a parameter...something like ?precompile=true which would force recompile of a JSP. Does anyone know any equivalent setting in WLS? We are running in production mode, but there are cases where we need to make a JSP change to fix an issue. And I dont want to have to run the server in development mode.
    Thanks

    Just an update...It cannot be done. Even if you compile the class manually and put it in place of the old class, it will not take effect. The WLS must cache the classes in production mode, which makes perfect sense. Just a pain.

  • Help I itunes will not recognize my iphone or ipod. Trouble with USB driver, device not running in safe mode, and HDCP not supported.

    Help! When I connect my iphone or ipod touch to my computer, windows recognizes my device but itunes will not. I can still see my songs, videos, and access the itunes store but my phone and itunes store have no connection so it does me no good. I have for 2 days now tried every trouble shooting method posted with no luck. I think I may have finally found a lead. My Apple Mobile Device USB Driver is showing up under portable mobile devices while it is supposed to be showing up under universal serial Bus controllers from my understanding? Also, while running my diagnostic report under itunes it also says itunes is not running in safe mode, it is not showing enabled in windows firewall (which it is checked), and the HDCP is not supported. I don't know what to do? I am in tears here, someone please help!!!

    See Here for Device not recognised:
    http://support.apple.com/kb/TS1538
    Here for General Support:
    http://www.apple.com/support/
    This may also be helpful:
    AMDS for Windows
    http://support.apple.com/kb/TS1567

  • Installed itunes 10.5.2 on my laptop and now it only runs in safe mode HELLLLP!!!

    I installed itunes 10.5.2 on my laptop and when it rebooted after it said that it could not connect to my ipod because of something to do with "apple mobile device" I tried unsuccessfully to find an answer and whilst trying to find an anwer my laptop froze and crashed and everything said it was not responding that was when it actually opened anything.
    I've found the solution to get it to connect to the mobile devices however my laptop will only run in safe mode and i cant fix the problem in safe mode!!
    My question is if I uninstall and reinstall itunes will i lose all my playlists? or does anyone have a solution to fix my itunes????????

    The Apple launch issues article suggests pulling 3rd-party plug-ins if the problem doesn't happen in Safe Mode.
    Here's the article that will walk you through the process -> iTunes: Troubleshooting issues with third-party iTunes plug-ins

  • I just installed Firefox on a new HP 600-1120 with Windows 7 and it is only running in "safe" mode. Why? How do I get it to run in "regular" mode? How does "safe" mode differ?

    I just installed Firefox on a new HP 600-1120 with Windows 7 and it is only running in "safe" mode. Why? How do I get it to run in "regular" mode? How does "safe" mode differ?

    > So now my question is, how can i fix this problem?
    Use the Toshiba recovery disk or the Toshiba HDD recovery option.
    If you dont have the Toshiba Recovery disk try the HDD recovery:
    http://aps2.toshiba-tro.de/kb0/HTD1303440001R01.htm
    This works only if the recovery image files from Toshiba are still on the HDD:
    If you installed the system using another disk as Toshiba recovery disk, this recovery option will not work.

Maybe you are looking for

  • In need help: Analytic Report with Group by

    Good morning, I am trying to create a report with subtotal and grand total, which of couse goes to the group by clause, with rollup, cube, grouping... etc. I'd like to use rollup, then some columns in the Select list have to be put into the Group By

  • Keyboard quirk

    The end / home, Ctrl+end / Cntrl+home keys don't work when editing text. In fact they don't do anything as far as I can tell. Did I miss a setting?

  • Jackmuffin1

    at photoshop cs6 extended downloaded in july, i now get the following message: "some of the application components are missing from the application directory. please reinstall the application." how/what can i do? thanks...

  • Problem in Javascript

    Hi, In apex versio 3.2 , I have created an item button with following fields under Button Display Attributes: Style : Template based button Template : Button Attributes : onclick="javascript:check()"; Button Request Value : Reset I have written the j

  • Purchased & downloaded songs need to be re-downloaded.

    I bought songs on iTunes a few days ago, today the songs are no longer available on my phone I have to re-download the songs. This is not the first time this is happening, I had to re-download 1GB worth of music I'd already purchased and downloaded.