Full Screen Window on second screen minimizes when windows explorer opens..

I did implement a full screen window on my second screen (it's a feature needed by my application)
When I open windows explorer (I'm on windows XP), or when I click in a windows explorer window, the second screen window is minimized, even if explorer pops in the first screen.
Is there any way to overcome this problem?
Any help would be appreciated...
Laurent
(sample code below)
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JWindow;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.Window;
import javax.swing.JButton;
import javax.swing.JToggleButton;
import java.awt.Rectangle;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
public class FullScreenTest {
     private JFrame jFrame = null;  //  @jve:decl-index=0:visual-constraint="94,35"
     private JPanel jContentPane = null;
     private JToggleButton jToggleButton = null;
     private JPanel jFSPanel = null;  //  @jve:decl-index=0:visual-constraint="392,37"
     private JLabel jLabel = null;
     private Window window;
      * This method initializes jFrame     
      * @return javax.swing.JFrame     
     private JFrame getJFrame() {
          if (jFrame == null) {
               jFrame = new JFrame();
               jFrame.setSize(new Dimension(474, 105));
               jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
               jFrame.setContentPane(getJContentPane());
          return jFrame;
      * This method initializes jContentPane     
      * @return javax.swing.JPanel     
     private JPanel getJContentPane() {
          if (jContentPane == null) {
               jContentPane = new JPanel();
               jContentPane.setLayout(null);
               jContentPane.add(getJToggleButton(), null);
          return jContentPane;
      * This method initializes jToggleButton     
      * @return javax.swing.JToggleButton     
     private JToggleButton getJToggleButton() {
          if (jToggleButton == null) {
               jToggleButton = new JToggleButton();
               jToggleButton.setBounds(new Rectangle(50, 23, 360, 28));
               jToggleButton.setText("Show Full Screen Window on 2nd screen");
               jToggleButton.addActionListener(new java.awt.event.ActionListener() {
                    public void actionPerformed(java.awt.event.ActionEvent e) {
                         showFullScreenWindow(jToggleButton.isSelected());
          return jToggleButton;
     protected void showFullScreenWindow(boolean b) {
          if(window==null){
               window = initFullScreenWindow();
          window.setVisible(b);
     private Window initFullScreenWindow() {
          GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
          GraphicsDevice[] gds = ge.getScreenDevices();
          GraphicsDevice gd = gds[1];
          JWindow window = new JWindow(gd.getDefaultConfiguration());
          window.setContentPane(getJFSPanel());
          gd.setFullScreenWindow(window);
          return window;
      * This method initializes jFSPanel     
      * @return javax.swing.JPanel     
     private JPanel getJFSPanel() {
          if (jFSPanel == null) {
               jLabel = new JLabel();
               jLabel.setBounds(new Rectangle(18, 19, 500, 66));
               jLabel.setText("Hello ! Now, juste open windows explorer and see what happens...");
               jFSPanel = new JPanel();
               jFSPanel.setLayout(null);
               jFSPanel.setSize(new Dimension(500, 107));
               jFSPanel.add(jLabel, null);
          return jFSPanel;
      * @param args
     public static void main(String[] args) {
          FullScreenTest me = new FullScreenTest();
          me.getJFrame().setVisible(true);
}

I suppose that you have this exception when the second window is initiated...
Excuse my remark, it may be perfectly stupid : do you have two screens? The full screen window is supposed to show itself on the user's second screen.
Or maybe the screens are not handled the same way on each computer? (I'm not used at developping applications working on two screens...)
thanks for your help
LK

Similar Messages

  • How do I get my DVDs to play full screen on a second screen?

         I downloaded OS X Lion a few days ago and went to watch a movie on the second screen that is hooked up to my macbook pro.  Instead of going to full screen on my TV, the movie moved itself back onto my computer and filled my second screen with a gray picture.  Why does it do this, and is ther any way to play a DVD on a second screen in full screen? I have tried mirroring but the movie will not fill my TV screen like it used to with the old system because it is limited to the shape of my computer screen.

    This is a general problem with the full screen mode under lion. Every time you bring whatever application in full screen mode the secondary screen is not usable anymore. As workaround you can only switch the primary screen onto you TV screen as long as you watch movies.
    I know that this is no final solution but the only alternate is to roll back to SL. (I did so, and now I wait until Apple fix the problem)
    Unfortunately Apple devellopers don't watch the community discussions. If you want to inform them about this problem please use the following link:
         http://www.apple.com/feedback/
    I did it also and discribed the problem there. My hope is that if many people do the same this problem gets higher priority and will be resolved by apple devellopers.

  • Black Window on second screen in Photoshop CS6

    Hi Guys,
    hope you can help me with the following issue.
    Ive booted my computer up and started photoshop. i use a second screen, its installed automaticly on Mac OSX 1.8.
    Now, when i drag the file to th second screen, it appears to become black. if i drag it back to my Home-Screen, the content appears.
    resizing dont change anything as well as disable the graphic processor on photoshop.
    btw, a second restart solves the issue. but i dont want to restart my machine everytime when i work on photoshop.
    hope anyone can help me out.
    thanks guys.

    The feature as provided by Adobe may have bugs (I wouldn’t know) but it is one issue where bugs of the OS or the GPU drivers may mislead users to believe that there is a Photoshop bug when really it is somebofy else’s fault, but they only become apparent because Photoshop may make higher demands on certain components than other applications.

  • [Solved] dwm - move/toggle current window to second screen/projector

    I'm using dwm and I'm trying to figure out if there's a MODKEY that I can use/assign to move/toggle the current window to my second monitor and the other way around. Thanks.
    Last edited by inurl (2014-03-29 05:28:22)

    They are called screens in the man page:
    man dwm wrote:
           Mod1-, Focus previous screen, if any.
           Mod1-. Focus next screen, if any.
           Mod1-Shift-,
                  Send focused window to previous screen, if any.
           Mod1-Shift-.
                  Send focused window to next screen, if any.

  • Can't position windows on second screen JDeveloper 10.1.3 EA1

    I love to work with JDeveloper. For a better overview i use two monitors.
    At monitor one I place the JDeveloper Main Windows with the code-editor.
    On the second monitor I place the other windows like "Structure" or Log-Windows.
    This works good with JDeveloper 10.1.2.
    But with the new version Oracle JDeveloper 10.1.3 EA1 (10.1.3.0.2) I can't place separate windows on the second monitor if the Main Windows is on the first Monitor.
    (I use Windows 2000.)

    I have a dual screen setup with a ATI Radion VE card - I've experienced no problems with splitting windows across both screens (either way). This is running on XP though.
    You might want to pull the latest drivers for your card and see if that helps if you're not already on it.

  • Windows 8.1 keeps crashing when trying to open movie or videos

    Explorer.EXE
    6.3.9600.17415
    54503a3a
    mfmp4srcsnk.dll
    12.0.9600.17415
    54503c43
    c0000094
    00000000000aae7f
    133c
    01d01bd7558d78f4
    C:\windows\Explorer.EXE
    C:\windows\System32\mfmp4srcsnk.dll
    aa127fcd-87ca-11e4-8264-3010b39e93b4

    Hi Bash156,
    As S.Sengupta suggested, this may be related with the Windows update.
    See this thread:
    Windows 8.1 File Explorer crashes repeatedly
    with iPhone movies (MOV) files
    If issue insists after uninstall the related update, please follow the steps I mentioned in the above thread to create a Explorer crash dump, upload it to OneDrive and then post the shared link here.
    Best regards
    Michael Shao
    TechNet Community Support

  • Unit missing or error returned when Project Explorer open

    Hi,
    I found out strange behaviour when I open VI from Project Explorer, and I don't know why is this happening.
    It can be tested with files in attached archive.
    When I open UnitMissingTest.vi directly from directory (Project Explorer is not opened) and run it, everything is ok,
    but when I open Project Explorer first, then UnitMissingTest.vi and run it, there is no unit in waveform attributes or I get this error "Error -200378 occurred at Property Node DAQmx Scale (arg 2) in DAQmx Create Scale (Linear).vi:1->UnitMissingTest.vi", "Possible reason(s): Custom scale specified does not exist."
    Can anyone help me with this?
    Thanks,
    andrej
    Attachments:
    Unit missing when project open.zip ‏15 KB

    Hello Andrej,
           Thank you for posting example code that succintly reproduced the issue.  I took a look at your code and saw the same behavior of the unit name being blank with the project explorer open.  The workaround that I found was creating a DAQmx scale in the project and using that in the VI.  I have altered the VI and the project.  Please confirm that this works on your end.  I think what might be happening is that LabVIEW is looking at the project for a custom scale and then mistakenly disregarding the scale you have in the VI.
    Have a great weekend,
    NathanT
    Attachments:
    Unit No Longer Missing.zip ‏20 KB

  • T520: White screen a few seconds after logging into Windows

    Starting yesterday, when I log into my computer 10-15 seconds after loading the desktop the screen goes completely white and is unresponsive. The only thing that makes it go away (sometimes) is ctrl-alt-del and telling the system to log off. As soon as it starts to try to log off and asks me if I want to force close certain programs I have to cancel the whole log off, otherwise I'll just end up logging in and the whole process starts over again. I've noticed that it seems as though a slideshow of my desktop background starts up and then just crashes, because occasionally that image appears before the white screen of doom.
    Any ideas?
    My specs:
    Windows 7 Home Premium x64-bit
    Intel i7-2760QM @ 2.40Ghz
    8 GB RAM

    There are malware programs that cause those symptoms. (like Trojan Reveton) First, I would download an offline virus scanner. I tend to use Microsoft offline defender, because it tends to work and it's free. You will need to download the ISO and burn a disk. You need to download either the 32-bit version, or, more likely, the 64-bit version, depending on your OS.  You then boot from the disk you created and run the long scan.

  • In FCPX 10.1 and 10.2, I set FCPX on desktop 2. When i go back to desktop 1 for any reason, my second screen viewer leaves desktop 2 and travels to desktop 1

    I use two desktops in OS-X. One is for FCPX (desktop 2) and one is for default things, browser, email etc.
    I have two screens, and my second screen is my viewer. When I am in FCPX, all is fine, viewer is on screen 2 as it should be but if I flip over to desktop 1, the second screen travels with me and then does not return when i go back to FCPX.. so then I have to three finger swipe up and move the screen back, and it sticks there 1 in 5 tries, if that. I have removed preferences, reset, all the normal obvious things. I am 99.9% sure this is a bug as I can replicate it time and time again.

    I found this as I am too experiencing the exact same issue.  When I restart the synced databases are gone, corrupt and incomplete. 
    How did you resolve this ?
    10.9.3
    FCPX 10.1.1
    Syn n Link X 1.0.18
    I need help this ***.
    -Robert

  • How do I run two full screen applications on separate screens?

    I have two screens for my MacBook Pro with Lion; the laptop screen and a stock screen hooked up by a VGA cable. Currently, when I use a full screen application, my second screen just changes to the grey fabric pattern. How do I run a full-screen application on each screen?

    Hi Jared,
    Connect/turn on the external monitor. Open System Preferences on your MBP > Displays. There should be two windows, one for the external monitor and one for the MBP. Click on the window for the external monitor. Click on the Arrangement tab. Uncheck the box for Mirror Displays. This willallow you to set each display to its own resolution. On the external display, click on the pref window for the external monitor display setting. Click on Display. Set the resolution to what you want. On the MBP's display, click on the pref window for the MBP's display and set the resolution to whatever you want. You'll be in what's called "extended desktop mode." You'll have to move the "pointer" all the way to the edge of one display to get it to go onto the other display. Open whatever you want, and drag it to the extended monitor. Set it to full screen. Open another whatever on the MBP's display and set it to full screen. You should be full screen on both displays.

  • Reg: calling selection screen from the second list

    Hi all,
    How can we call the selection screen from the second screen.
    Can any one help me to solve this problem.

    HI RJ,
    Try .....
    case sy-ucomm.
    WHEN '&F03'.
    LEAVE TO SCREEN '0'.
    endcase.
    after the FM for grid-display
    i m using the same .....
    i hav selection-screen..then alv grid screen 1  then again another screen with alv grid display..
    bt in my code for first alv grid ...i m using REUSE_ALV_GRID_DISPLAY_LVC
    as
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
          EXPORTING
            i_callback_program       = sy-repid
            i_callback_pf_status_set = 'SET_PF_STATUS'(303)
            i_callback_user_command  = 'USER_COMMAND'(304)
            i_grid_title             = 'Reconcilation Report'(305)
            is_layout_lvc            = it_layout
            it_fieldcat_lvc          = gt_fieldcat3[]
          TABLES
            t_outtab                 = gt_msg[].
    here i musing set_pf_status to add one pushbutton to the screen. in ur case u can avoid that...
    after that
    *&      Form  set_pf_status
          text
         -->EXTAB      text
    FORM set_pf_status USING extab TYPE slis_t_extab.           "#EC NEEDED
      SET PF-STATUS 'STANDARD_FULLSCREEN'.
    *get back to Selection Screen
      case sy-ucomm.
        WHEN '&F03'(328).
          LEAVE TO SCREEN '0'.
      endcase.
    ENDFORM.                    "set_pf_status
    its working for me..
    Thnx
    Rohit...
    Edited by: Rohit Kumar on Oct 29, 2008 3:20 PM

  • Firefox freezes when opening a window with PDF files, etc., yet it works perfectly when using explorer as browser.

    I think Firefox mozilla is having issues with Adobe reader. It frequently crashes. I think this may be why my computer freezes when pulling up a PDF file or other text windows, yet, everything works perfect when using Explorer as my browser. It is so frustrating using Mozilla because it gets stuck when opening windows which require pulling up certain types of texts or applications, then I have to wait forever, or, reboot, and once in a while it gets so stuck that I have to take out battery and remove all power sources then start from scratch, and set my computer back to all settings previous to failure. Like I said, this only happens with Mozilla, all other browsers work perfectly well, but I love my Mozilla and it is my preferred browser. Please help. Thanks so much,
    susan

    Hi Susan,
    The Adobe plugin in Internet Explorer is a bit different from the one in Firefox, however they're all made by Adobe and they usually come with Adobe Reader.
    When you open a PDF file in Firefox, it "calls" Adobe Reader to help it read the file. In this case, the Adobe Reader takes over, and it is responsible for freezing your browser.
    I suggest you try the last 4 solutions presented on the [[Opening PDF files within Firefox]] (start with "Re-install the plugin" through "Re-install Adobe Reader").
    Good Luck :D

  • IPAD SHUTTING DOWN PROGRAMMES WHEN TRYING TO OPEN DOCUMENTS

    Hi
    My Ipad is starting to play up.
    When opening docs in both pages and numbers the programme close sending me back to the home screen.
    The same thing happens when trying to open certain web pages in safari. Again safari just closes.
    Very frusting. Any Ideas?
    Tiny Biny

    Try this:
    1. Close all inactive apps. Double-click the Home button and hold apps in the Task Bar down until they all wiggle then tap the minus sign to close apps. Tap the home button to return to Home screen.
    2. Hold the Sleep/Wake and Home button down until you see the Apple Logo.

  • I updated Adobe flash and when I re-opened firefox all of my bookmarks, add-ons, extensions, history were gone. How do I retrieve?

    When updated Adobe flash, I was asked to close the browser window. I complied and when I re-opened, firefox was different and all of my stuff was gone.

    go to Tools Menu -> Add-ons -> Extensions section -> Disable and Remove the add-ons that look unwanted or suspicious -> Enable trustworthy add-ons -> Restart Firefox.

  • I pressed Windows-M to minimize all screens, then Firefox 6.0.1 (Win XP VM) started to open large number ( 70 in a few seconds) of new Firefox windows (stopped only when I killed the Firefox process with Task Manager). Firefox had no focus at that time.

    Windows XP 64-bits Virtual Machine, ServicePack 2, 4MB of RAM, dual processor running on a Windows 7 64-bits host machine, ServicePack 1, 8MB, 8-core processor.
    I have worked with that for half a year, no particular issues.
    I was working in other program in my VM (so Firefox had no focus) , then wanted to view my VM desktop, so I pressed Windows-M to minimize all windows in my VM. Exactly at that time Firefox 6.0 started to issue new empty Firefox windows, at a pace of about 4 or 5 per second. So I killed the firefox.exe process in my TaskManager to prevent my machine of running out of memory. Then I started Firefox again, without further issues so far.

    I'm a Chrome user by choice. I use Firefox for two reasons only:
    1) Speedbit video downloader
    2) A second browser to handle secondary Google and Facebook sign-ins.
    If I remove Speedbit, I lose 50% of my reason to use your browser at all.
    Speedbit and Firefox worked together just fine before version 19.
    PLEASE PROVIDE A PATCH. DON'T BLAME SPEEDBIT.
    Thank you.

Maybe you are looking for

  • Pretty stupid problem while installing XP on a macbook

    First thing, please excuse me if there're mistakes in this message, I'm not a native english speaker. Anyway, I've got a little problem. I'm trying to install XP on my macbook. I already did it before, but my hard drive crashed -while my external bac

  • Ps4 no signal by using hdmi to vga converter

    I bought hdmi to vga converter to make my ps4 works on my samsung monitor 1366x768 and 16:9 the converter worked on my laptop and my receiver but didnt work on my ps4 what is the solution??

  • VIEW USER AND LOCKED FILE

    Dear Sir .. I'm writing you because I would like to know if there's an utility, a software or something I can install or use on the application server in order to see which are the .fmx files locked on the application server and which user connected

  • The new altogether BT web page

    Trying to login to the new altogether BT'S new web page. Can't get passed the enter mobile phone bit, left it blank because I don't have a mobile phone. Does that mean I can never access my online details?!!  

  • [svn] 4261: Fix Eclipse project files for BlazeDS/trunk.

    Revision: 4261 Author: [email protected] Date: 2008-12-09 05:51:20 -0800 (Tue, 09 Dec 2008) Log Message: Fix Eclipse project files for BlazeDS/trunk. There were a number of problems. The classpath for the Java projects still included references to th