Hide Java application in windows alt-tab menu

Hi,
I got this JFrame that should be always on top but I don't won't it to show up in the windows alt-tab menu. (just like many other windows programs like winamp for instance).
setEnabled(false) hides the frame from alt-tab menu but also kills the frame...
Any ideas?
TIA

Unfortunately, according to javadoc, a JWindow can not receive focus unless
it's a child window of a visible Frame or Dialog.you can trick the JWindow into thinking it has a visible parent, so focusing is
not a problem, but this still shows up in alt-tab
import javax.swing.*;
import java.awt.*;
class Testing
  public void buildGUI()
    JWindow window = new JWindow(new JFrame(){
       public boolean isShowing(){return true;}});
    JScrollPane sp = new JScrollPane(new JTextArea("Hello World",5,10));
    window.getContentPane().add(sp,BorderLayout.NORTH);
    window.setSize(400,300);
    window.setLocationRelativeTo(null);
    window.setVisible(true);
  public static void main(String[] args)
    SwingUtilities.invokeLater(new Runnable(){
      public void run(){
        new Testing().buildGUI();
}

Similar Messages

  • [SOLVED] Customizing alt+tab menu in Openbox

    I tried to change a little bit the openbox alt+tab menu, and I have some questions, but first things first. This is my current menu:
    What I want is:
    1. number of columns -- I wanted to set, for example, 10 columns for the menu.
    2. icon size -- Can I make them smaller or bigger?
    3. mouse support -- you know, I press alt+tab and choose an icon.
    4. Is there a way to group desktop apps? For instance, I have 5 apps in 1st desktop and 3 apps in 2nd desktop. When I press alt+tab, I want to see in the first row apps from desktop1 and in the second row apps from desktop2, etc.
    Last edited by morfik (2013-06-11 15:05:07)

    Finally, I've found it -- https://aur.archlinux.org/packages/xwinmosaic-git/
    It has a mouse support, and it is possible to change icon size as well as box width and height. Also, there are some other features, but there is one thing that I want to remove:
    As you can see, it also shows the windows which are in the background, like conky, etc.
    Ignoring this little annoying thing, It is basically what I want.

  • Developing Java application for windows CE based Handheld device

    Hi everybody,
    I am planning to develop the java application for windows CE
    based handheld device.I came to know that Oracle 9iLite supports
    the Developement of Java Application for windows CE devices.Can
    i use the JDeveloper IDE to develop the application on windows
    NT.If so how to deploy the application on windows CE device(Is
    there any options in Jdeveloper to deploy the application).Any
    body please give the solution.
    Regards,
    Siva mani kumar.D

    I agree. In my opinion Sun has done a horrible job documenting all this madness for the average developer just starting out with this stuff. There is the CLDC, J2ME, Personal Java, J2ME-WTK, MIDP, MIDP-FCS ... maddness. Anyway after sorting through it all for a few days, I think the answer to your question you will need to use Personal Java for WinCE and the Sharp Zaurus, and MIDP for PalmOS for the palm. Jeode seems to be the most common and best Personal Java implementation and it is basically the JDK1.2.2 (or is it 1.1.8) that is designed to run on WinCE and Embeddix (such as Lineo on the Zaurus). You program it just like you would a 1.1.8 application and then you can test it by running pjava.exe which is included in the personal java 3.1 download from Sun. There is also a program called JavaCheck that will ensure that your app will run properly in PersonalJava. As for the Palm, MIDP for PalmOS is a 574K program that installs on your palm device. You then use the J2ME-WTK (wireless toolkit) to build a JAR/JAD file and you use the MIDP API to write the code.

  • Developing Java Applications for Windows CE

    Hello,
    I hope this sub forum is right. So I must develop a Java Application for Windows CE. I read something about J2ME, but I think this is only for Mobilephone and Windows CE supports AWT. So I tried just some simple forms with J2ME.
    Can anybody tell me how I develop java Applications for Windows CE? Can I use Eclipse or must I use another IDE?
    Realy I developed Swing 5-6 Month but I have no idea how I develop Java Applications for Windows CE.
    Thanks a lot for helping...

    The MIDP for Palm OS 1.0 requires Palm OS v3.5 or higher to run. According to your error message, the emulator is not running v3.5 or higher. Try to get hold of a ROM image with a later version. I've run it with v4.0 of the OS and it works.

  • Running a Java Application in Windows

    Hi, Can anyone tell me how to run a Java Application in Windows? I've tried to run it using TextPad 4.5 but it gives me an exception saying it can't find a class defenition. I'm actually using IBM VisualAge for Java to develop the app and it runs fine INSIDE VisualAge and I've exported my compiled class files and so on, to run it stand-alone in Windows. I'm using some custom objects and inner classes, could these be the problem?

    YES! SUCCESS! I exported my class files from VAJ and along with the manifest file that it adds automatically. I opened up the jar with Winrar, extracted the manifest file and added the Main-class: header pointing to my executable and then put it back in the jar with winrar. And PRESTO! I can now run it with javaw! Thanks for your help peeps...

  • Hot Keys for Switching between Applications (Equivalent to Windows Alt-Tab)

    Please help.
    For the longest time, I have had trouble finding the keys to enable a fast switch of active applications. Is there an "ALT-TAB" for us Mac lovers? I mostly want to know because when playing WoW, I'd like to be able to switch to Safari at a drop of a hat to look up info.
    Any suggestions/answers?
    -M

    The alternative command is Command-TAB.
    When WoW operates in full screen it might not work however.
    You posted in the wrong forum BTW.
    Please post in the appropriate forum next time.
    E.g. in one of the Mac OS X v10.4 Tiger forums.
    Hope this helps.
    M
    17' iMac fp 800 MHz 768 MB RAM   Mac OS X (10.4.6)   Several ext. HD (backup and data)

  • How to Run a Hello World Java application on WIndows Mobile

    Hi!
    We have a sample Plug-in environment Java application downloaded from http://www-128.ibm.com/developerworks/library/os-ecl-ercp/index.html - IBM library.
    We have downloaded the source files org.eclipse.testworkbenchapp_1.0.0.jar and tried running the application on desktop PC, this worked fine.
    We are using Eclipse 3.2 to run this Java application on Desktop.
    Now, we are trying to run the same application on Intermec Windows Mobile 5.0 device.
    1. The device has IBM J9 ? WebSphere MicroEnvironment MIDP 2.0 for Windows Mobile2003 installed in it.
    2. On installing this on Windows Mobile, in Start ? Programs ? we find MIDlet HQ - on launching this, opens a window with Install button.
    3. On Click on Install button, another window opens which asks for URL to install.
    4. In the URL Edit box, I give file:////Org.Eclipse.testWorkbenchapp.feature_1.0.0.jar which is present in \MyDocuments\Update site folder copied from desktop workspace via Active sync ? As mentioned in the above IBM library site.
    5. I have also tried file:////MyDocuments\Updatesite\Org.Eclipse.testWorkbenchapp.feature_1.0.0.jar as input to URL.
    6. On click OK, I get an error titled AMS Error with description The application descriptor was missing the required MIDlet Name field.
    I am held up here and not able to move further.
    As mentioned in the above IBM library site I tried downloading the update site folder via Eclipse ? Software Updates ? Find and Install in Help menu.
    I selected Search for new features to install and browsed the Update site folder location present in my Eclipse workspace. This also does not work.
    Any help in this regard in greatly appreciated. Thanks in advance!

    I would ask such questions in the J2ME forums, or even better in a websphere forum, like here:
    http://www-128.ibm.com/developerworks/forums/wsdd_forums.jsp

  • How to schedule a java application via Windows Scheduler

    I can't figure out how to schedule a java application using the Windows Scheduler. Do I schedule the java application with the .class file as a parameter? How do I pass arguments to it?
    To execute FileCopy.class, my best guess was:
    Start | Control Panel | Performance and Maintenance | Scheduled
    Tasks | Add Scheduled Task | Browse | Program Files | Java |
    jre1.5.0_06 | ... Advanced Properties
    Under the Task tab:
    Run: "C:\Program Files\Java\jre1.5.0_06\bin\java.exe"
    Start In: "MyDocuments\Eclipse_Workspace\Java_File_Copy
    FileCopy"
    This does not work. How do I schedule the FileCopy.class java application, and how can I pass arguments to it? Can this be done without specifying a password?
    TIA,
    John

    Suppose that your class is FileCopy (has no package name) and is located under MyDocuments\Eclipse_Workspace\Java_File_Copy folder, then you should have:
    Run: "C:\Program Files\Java\jre1.5.0_06\bin\java.exe" FileCopy
    Start In: "MyDocuments\Eclipse_Workspace\Java_File_Copy"
    And yes you must provide a user password to execute the task.
    Best way to do this is to create a special user (with password) for executing this task.
    Regards

  • To launch a java application in Windows environment

    hello,
    I need to distribute one stand alone application, that I made using NetBeans, for sale it.
    I know that this is not a so simple problem, because delivering the program to one client you cannot simlpy say him to launch the jar file....
    I saw that, in the Windows environment, program like eclipse or netBeans run thruogth an .exe file, that I think is a program that its purpose is to define the java environment for the application in the particular host operative environment .
    Perhaps they are corporations like InstallShield (now Macrovision) that sale programs to solve this type of problems..., and I already used this type of programs to install some my
    applications that I coded in languages different than java.
    But before to look for one of them, I should like have more informations how this problem fits in java language, knowing that java is different to other languages because use JRE and have proper tools, how JWS and JNPL, that concern with this problem.
    ...Looking in the forum I had not much help..., but I saw that someone uses to write launchers program in different language, like C, as well I had not so much detailled instructions about how to do it.
    In order to solve my problem I should like have, from some one that already made it, some general information about how he realized the commercial installation of java applications in the most used Operatve Systems (particullary Windows), and possibly to have links to web sites for good explanations, including advantages to buy apposite commercials installation programs too.
    thank you very much
    tonyMrsangelo

    You can distribute it as an executable JAR so users will run it by double clicking. The would be required to have JRE installed.
    You can distribute it online via WebStart. Users need JRE but it's easier to manage updates and distribution of new versions.
    You can distribute it with AjaxSwing, a product that deploys Swing applications as AJAX websites so you don't need JRE at all.
    You can create EXE files using many of the products available. Google for it and you'll get lots of hits.

  • Calling a  java application in windows enviroment from a browser

    so for example first you install my java application.
    Then you surf to www.example.com and the page on that site calls my application installed on windows. Is this possible?
    thanks

    Yes. With Webstart, you can create a link that'll run a Webstart-distributed app when clicked. "Autoclicking" this link using Javascript should be easy.

  • Starting and stopping applications via a Java-application on Windows/Unix

    Hello,
    I want to start java and other applications via a java application.
    This java application should start several different applications on windows and
    on unix systems and take care of their current state (e.g. running/not running).
    For all applications to be started there are .sh-scripts for unix and .bat-scripts
    for windows. In the scripts there could be a java call, e.g. "java someApplication",
    or some executables could be called. These scripts set the applications' environment etc.
    and start the application finally.
    My java application calls these scripts via the ProcessBuilder API, which is working fine.
    But there is the following problem: on windows, when executing a script that starts
    some other application, the ProcessBuilder gives me process-handle to the started
    process. If calling destroy() on this handle, only the cmd.exe gets killed which
    started the application. The application itself is running on. This is undesired behaviour
    since I want to be able to control the started applications, at least start and stop it which
    is impossible that way.
    On unix, it is working when using
    "exec java someApplication"
    instead of just
    "java someApplication"
    in the .sh-scripts. The exec command substitutes the shell process with the underlying
    process started in the script, so everything is working as expected on unix.
    But how could I get this working on windows systems? Is there any equivalent to the exec
    command on unix? Any suggestions appreciated.
    If something's unclear in my description, please let me know.

    Yes - after looking at this option - I think that's the direction I am going to go. It probably makes sense to give my JMS topics and my BPEL server their own OC4J instances anyway - for a number of reasons.
    Lon

  • How to start a java application as windows 2000 service?

    Hi all,
    I'm trying to start / stop a java application as a windows 2000 service. But nothing appens (I can see the screen that rapidly display the java help prompt and then disappear)
    I've a working directory i.e C:\MyDir and it contains instsrv.exe, srvany.exe and my application jar MyApp.jar
    I'm using instsrv.exe to register a java application as a service ( C:\MyDir\instsrv MyApp C:\MyDir\srvany.exe )
    I've added a key in registry by running regedit
    The key is under the tree HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyApp
    the key value is Parameters
    in the key I've added a string value "Application" with the value "C:\j2sdk1.4.2_01\bin\java.exe"
    and a string value "AppParameters" with the value "-classpath C:\MyDir\MyApp.jar main" where main is the name of the main class application.
    This seems to run correctly with Windows NT 4.0
    But doesn't work with Windows 2000.
    Can anyone help me?? pls.
    Thanks.
    Max

    I'm replying to myself .... ;-) ahah
    All we need for this purpose is JavaService, at link
    http://www.alexandriasc.com/software/JavaService/index.html

  • How to call java application in Windows NT environment?

    I have a JDBC application running against oracle database on NT server. There is another non-java application need to call my java application. The programs that non-java program can call are .exe, .dll, and .bat files. I wrote a Dos script and save it as .bat file. Every time this .bat file was called, the dos screen will be shown. Anything I can do to let Dos screen not shown, or anything I can do to wrap my java classes into an .exe file? Thanks in advance.

    If your tool can run a .exe and supply arguments, why not simply invoke "javaw <jvm-args> <class> <class-args>"?

  • Java Application in Window Pocket PC

    Hi,
    i'm using iPAQ h3970. Can i know what type of emulator i need to use and what are the step i need to follow.
    Beside, I intend to develop a speech recognition application in Pocket PC. Can i know what type of tools i need??
    Thanks.
    George.

    Hi geomut,
    within your Compaq-CD you find the Jeode Virtual Machine. That is the Runtime Environment you need to run a Java Application on your iPAQ.
    Download the PersonalJava Emulation Environment from the Sun site and compile the classes on your Desktop PC.
    Then follow the instructions you find in the Jeode's readme file to set a link and copy the classes (or jar file, for exmaple) to your PDA.
    About the speech recognition application, sorry, I have no Idea about.
    Have a nice day,
    regiostudent.

  • Java Application Window

    Hi to all,
    I wanted to learn is it possible to hide "Java Application Window" section that shows below the every frames created by developer.
    regars
    bulent

    AWT creates this warning banner for every top level window created without the AWTPermission "ShowWindowWithoutWarning".
    By default the jnlp sandbox will not include this permission.
    If you sign you jars, and you jnlp file contains:
    <security> <all-permission> </security>
    you will have this permission (along with all others) and top level windows will not get the banner.
    /Dietz

Maybe you are looking for

  • Difference between ANY and ALL operators

    I am learning the basics of ANY and ALL operators. Retrieving all employees in Dept 30 whose sal is greater than ANY employees in Dept 20 SQL> SELECT * FROM EMP;      EMPNO ENAME           JOB              MGR HIREDATE         SAL       COMM     DEPT

  • Database Smart Flash Cache and Data Guard

    We are on Oracle 11.2.0.2 on OEL 5 and our considering buying fusion io (PCIe flash drives) for our Production (Primary) database. My question is; Can we use Physical Data Guard with the Primary side using Database Smart Flash Cache and keep-ing tabl

  • Captivate 4 and highlight box

    I have this project where a slide shows a button in my application the user should press. I have this caption with the text "Clique no botão Entregar" and a highlight box with the option Fill outer area checked. I want to know WHY the highligth box i

  • FRM-92101 - URGENT!!!

    Hi fellas, good evening... For Christ sake... somebody help me... I am taking this error for weeks and I am not getting resolved. I've already tried the metalink, in forums, here, even I found a blog from a developer in Cyprus, talking about this err

  • E5 camera trouble

    hey folks.. am having an e5 and it was working all fine. then out of nothing the camera has started to give some troubles. the still camera takes a few seconds more to store data. also the video camera is not working fine. the recording display hangs