Help with FullScreen mode

     public static void main(String []args)
          GraphicsEnvironment myEnvironment = GraphicsEnvironment.getLocalGraphicsEnvironment();
        GraphicsDevice myDevice = myEnvironment.getDefaultScreenDevice();
          JFrame mainFrame = new JFrame();
          mainFrame.pack();
         myDevice.setFullScreenWindow(mainFrame);
         mainFrame.setVisible(true);
     }I did that and compiled it and it there were no errors but when I put in
mainFrame.setUndecorated(true);It didn't work. can someone help me understand how to make a screen that is undecorated that fits the whole screen. Thanks in advance.

This is my code so far and it still is decorated. I fixed all the errors when compiling it but it still is decorated. Can anyone help me?
import javax.swing.*;
import java.io.*;
import java.awt.*;
public class Blob extends JFrame
     public static void createAndShowGUI()
          JFrame frame = new JFrame();
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          Dimension fullScreen = Toolkit.getDefaultToolkit().getScreenSize();
          frame.setBounds(0,0,fullScreen.width,fullScreen.height);
          frame.setUndecorated(true);
          frame.pack();
         frame.setVisible(false);
     public static void main(String []args)
         javax.swing.SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                createAndShowGUI();
}I also tried this....
public static void main(String []args)
          GraphicsEnvironment myEnvironment =   GraphicsEnvironment.getLocalGraphicsEnvironment();
        GraphicsDevice myDevice = myEnvironment.getDefaultScreenDevice();
          JFrame mainFrame = new JFrame();
          mainFrame.pack();
         myDevice.setFullScreenWindow(mainFrame);
         mainFrame.setVisible(true);
     }and added the
setUndecorated(true);before it was displayed and it too was still decorated.

Similar Messages

  • Problem with Fullscreen mode

    Hello. I have problem with Fullscreen mode in Pages 09. Let me explain it. I launch Pages 09 on space nr 4, than i activate fullscreen mode and now when fullscreen is active i switch for example to space nr 2. And what happens? Pages also moves to space nr 2, but i don't want to move my pages to space nr 2. I guess it is a bug in Pages 09. Thank you for your advice.

    Hi There
    By the sounds of this behaviour you haven't set any space options for Pages within System Preferences (Expose and Spaces Pane). After experimenting with different options this is what I experience:
    1. Pages not listed in application assignment in spaces Preferences - Enter full screen in pages, switch from one space to another pages window will follow and exit fullscreen (this sounds like what you are experiencing).
    2. Pages set to every space in app assignment - Enter full screen in pages, switch from one space to another and pages will follow but wont exit full screen.
    3. Pages set to a single space in app assignment - Enter full screen in pages, switch from one space to another using control and arrow keys pages will pull me back into the space it is set to and will exit fullscreen. Using the control and number keys pages will stay in its set space but upon returning to that space pages had exited fullscreen.
    I suggest you add pages to the the spaces application assignment in System Preferences by clicking the plus arrow under the list of apps and select a specific space for pages to open in, once open Pages will only move from this space if you move it manually.
    You can send your feedback to Apple via http://www.apple.com/feedback/pages.html if you wish
    Hope this helps
    J.C

  • BugReport : System Dead when change display rotation with fullscreen mode app

    There is a big bug in fullscreen mode with display rotation.
    I find that if you try dispaly rotation after make some app(safari) fullscreen mode then the system crash.
    1. I have mac book pro 13Inch Mid 2010,
    2. Add one more display (display2)
    3. open safari, make fullscreemode at display 2
    4. open system preferences > displays > change display 2 rotations setting.
    then CRASH and System Dead.

    Amazing, it seems to work ! Thank you for your help stqn.
    I just have a little question if I choosed compiz it s for there plugin they have, called "scale" that whenever yout put your mouse on a corner its shows all the windows that you have on the current screen. A bit like Mac OS X. I am not a fanatic of Alt TAB to switch windows, and I really find convenient this plugin.
    Do you know if it would be possibile such a thing on LXDE openbox with compton ?

  • Help with Layer Modes

    Well...im new here at photoshop so i dont know if im asking in the right place or not but i really need help with something to do with layers
    I have one layer [the basic bottom layer] and an image that ive already cropped out and colour corrected that i wanted to put over my bottom layer without losing any texture, like the effect where you have your layer/brush mode on the "colour" setting and you colour over something and its basically a colour replacement...Seeing that technique doesnt work too well with an image, i would greatly appreciate any help :3

    Hello! If you are trying to blend images together to create texture, I would use the Multiply or Screen blending mode, depending on how light or dark your images are.
    Here I took an image of a bird and placed it on top of a tree texture.
    Is that what you mean?
    Julia

  • Can anyone help with disk mode?

    I have read but not the right answer what I had with my ipod problem. My ipod won't turn on and showing disk mode. I try to connected with my comp. still did not change or turn on. Can anyone help me with this?

    Try Resetting your iPod. Hold down the MENU and SELECT (centre) buttons for five or ten seconds until you see the Apple logo appear then the menu button to go to the normal display. Have a look at this link as well: iPod won't turn on

  • Help with character mode report

    Hi,
    I have a character mode report which has a query that generates output of data records that are 100 chars long.
    My requirement is to add a header and a footer record that are only 80 chars long. I created a field of width 80 chars in the header and footer sections of layout whose source is a placeholder column of width 80 chars. I have set the width property to 80 in the properties of header and footer section also.
    But when I run the report I see that the header and footer records are still 100 chars long - 80 chars of data with trailing null values. How do I make it only 80.
    Any help is greatly appreciated.
    Thanks

    Yes.. I did that and even that didn't help. I have tried so many things but for some reason it is 100 chars fixed. Any more suggestions....

  • Help with manual mode of Menu Widget in Muse

    I'm building a family web page in Muse and I'd like to create a menu of my secondary webpages only. Since the Menu Widget's "menu type" options are Top Level pages, All Pages (neither option will work for me), and Manual- it seems like I should be able to use "Menu Type: Manual" and simply type in the menu items I would like- which I've done. What I can't figure out is how to link those menu items I manually created to the sub pages of my website.
    A bit of background on my website structure. My top Level sites are: Welcome, and then 3 separate pages for each family member- and each member page has a few secondary pages (about, photos, contact):
    Welcome
    Member 1
    about
    photos
    contact
    Member 2
    about
    photos
    contact
    Member 3
    about
    photos
    contact
    My main site navigation- i.e. the menu widget for top level pages- is above my header (Light Gray). Below my header, I would like a horizontal or bar menu for ONLY the sub pages of that member: ie. About Member 1, Member 1's Photos, Contact Member 1 (Dark Gray)
    I've created a menu widget in the Manual mode- I just can't seem to figure out how to link each menu option to the correct page. Currently in preview none of these manual menu items work.
    Thanks!
    LScarff

    Hi Scarff.
    When you opt to use manual mode for the Menus, you need to manually link the pages to menu items. To achieve this , you need to have the menu item selected and then using hyperlink option as shown in below screenshots link the corresponding page to it :
    I hope this helps.
    Regards
    Anshul

  • Help with sleep mode

    Is there a way to disable sleep mode when the lid is closed? 

    Since you make no detail available as to the reason for your question, certain assumptions will have to be made to answer fully.
    As such, I assume you want to do this so you can run the unit with a separate monitor, mouse and keyboard (sort of like a desktop).
    No, you can't disable the action of the system to go into sleep mode upon closing the lid, using any native process or procedure. However, there are third party applications available to do so. I would not reccommend them. The chances are too great that, sooner or later, you would erroneously close the lid on a running system and place the computer in a compromising situation, such as enclosure within a case or bag, wherein overheating would be a practical certainty.
    Apple does however incorporate the ability to "wake" the sytem, without having to re-open the lid. This is called "closed  clamshell" mode. This is to offer users a means to run their unit while hooked to an external monitor, BlueTooth keyboard and BlueTooth mouse.
    The procedure is detailed here.

  • Help with autoplay mode and the controller

    i kno this is probably something really simple, but i can't
    seem to figure out how to change the delay timing for each
    individual slide in autoplay mode. i figured out how to change the
    delay of the controller, but there's only one place to change the
    number and it effects all the slides. i want to be able to adjust
    each slide for a different time delay. i've searched everywhere in
    flash help mode and all i've found is how to change the autoplay
    delay that changes all the slides at once. there's nothing about
    changing each one individually.
    anyone know how i can do this?
    thanks!

    What I have done is take the images from the Phot Slideshow
    and placed them
    in a Slide Presentation and then added the code that I
    suggested. I
    maintained the frame 1 code that enables the forward and back
    buttons.
    On each slide, you can chage the time delay after which the
    slide advances.
    Just change the variable "delay" in the on (reveal)
    I think its the sort of action your after. You can download
    slideshow.zip
    at:
    www.gravideo.com/fla/slideshow.zip

  • Help with private mode

    I have the new iOS 7.1.1 software on my ipad and I can't not stop my child from using the private mode in safari. There is no privacy setting to turn on or off either, please help.

    Disable Safari in Restrictions. Download another browser such as McGruff that gives you more control. Or, just put a passcode on your phone to stop your child from using your phone without your permission.

  • MSI 9600GT..need help with volt mods?

    Okay, anybody with an MSI 9600GT (T2D512) have any luck finding volt mods to raise the GPU and/or Memory voltages?  How about it Bosskiller, think you can massage some MSI tech to write me a bios to raise the GPU voltage to 1.3 or 1.4 volts?  I'm only about 2000 3D Mark03/05 points away from top place in that class..but I need more volts!  LOL.    Gigabyte has a software program which raises voltage in the GUI, but unfortunately, it wont work on a non-Gigabyte card:(.  Think you can get 10-20 bios editors to work on that for me??  Hahahah.
    Paul

    @Aaron,  cooling is stock MSI "Seaweed" fan..cards run 37-48C max benchmarking (using OCZ feeZe heatpaste compound).
    @Frankenputer, yes I know the implications, if I fry the cards..I won't cry about it..
    All other users/readers, remember, modding is like gambling..if you cant afford to lose..dont do it!
    Paul

  • Strange results with fullscreen mode

    My game sometimes looks like this http://www.geocities.com/fgdfg_dfgdfgd/
    on windows 2000 and xp, has anybody else gotten this?

    This happened to me when I was trying to set the display mode to 24 or 32 bit depth to match my images but due to a bug I found I was setting 16 or 8 bit depth. Check your code for setting the display mode and make sure you are really getting the bit depth you wanted.

  • Fullscreen Mode shows blank black screen..

    Hi,
    I am panorama photographer and usually show my panos on FPP (Flash panorama player). 
    I want to show .flv movie on inside the panorama but there were some problems with fullscreen
    mode. -> When I click on the panorama fullscreen button, the flash movie turns fullscreen
    instead of the panorama.
    My workaround is laying an iframe (in which the flash movie is inserted) on the <div> layer.
    At first it seemed to be working OK but the problem is that once I click on the "movie" button,
    the panorama's fullscreen mode just show black blank screen. 
    -> "Movie" Button
    You can check my pano at: 
    http://www.panosis.com/biz/ubertree/movie_test/openvr.html
    Try  to see the panorama in fullscreen mode before watching the movie, it will work fine.
    But turning the panorama in fullscreen mode after watching the movie shows just
    blank black screen and I guess this might have something to do with HTML layer
    or iframe?
    Does anybody have a clue what the problem is?
    Thank you in advance!
    Sang-Wook

    Hi Luckey,
    One option that I do want to try, is booting the computer into safe mode. I have included the steps here for you to follow: (steps obtained from 'Windows 7 Safe Mode')
    Entering Safe Mode at start up
    Use the following steps to start Windows 7 in Safe Mode when the computer is off:
        1)Turn on the computer and immediately begin pressing the F8 key repeatedly.
        2)From the Windows Advanced Options Menu, use the arrow keys to select Safe Mode, and press  ENTER.
    ** The computer will automatically exit Safe Mode when it is shut down. **
    Once you are able to access safe mode. Try to access your Device Manager. I have included the document 'How Do I Access Device Manager in Windows?'. Please click on your operating system, and open Device Manager. Once the Device Manager window is open, please follow these steps.
    1) Click the plus sign beside keyboard
    2) Right click on the device in this section
    3) Click uninstall
    4) Click the plus sign beside Mice and other pointing devices
    5) Right click on the device in this section
    6) Click uninstall
    Once these steps have been completed, please shut down the computer completely and restart. Please let me know if you are able to fully use the keyboard and mouse after. Thank you.
    I worked on behalf of HP

  • Help with SlideShowPro FullScreen Mode

    I have been knocking myself out on this problem for 6 weeks, posted on the SSP Forums, but still no solution.
    I now have two test sites posted, they are identical except that one site has all the SSP components programmed to open in FullScreen mode when clicked in the center and the other is programmed to only toggle the display mode (play/pause) without any fullscreen capability. The non-FullScreen capable site works perfectly, but the FullScreen enabled site loses its mind (always in a different way) when returning from FullScreen mode. Even the FullScreen enabled site works perfectly until FullScreen is first activated - after that it is anyones guess what happens next?
    Non-FullScreen Enabled Site (always works as expected):
    http://www.scottbrackenphotography.com/index.html
    FullScreen Enabled Site (never works as expected):
    http://www.scottbrackenphotography.com/indexTest.html
    Once FullScreen is activated, upon returning to site, sometimes some of the different menu buttons in the site no longer work, or they take you to the wrong section, and pretty much 100% of the time if you click on Subscribe, Prints, Info, or Contact one of the SSP movies will run in the background (and there are NO INSTANCES OF SSP ON ANY OF THOSE MOVIE FRAMES!).
    The SSP Tech Support keeps telling me to use the halt(); method. They say my problem is that remnants of the SSP component are being left behind when returning from FullScreen mode in Flash and that the halt(); method flushes those remnants out. I have tried writing the AS3 code 10 different ways to call this halt(); method on an SSP instance, but just get various errors.
    Has anyone ever used the halt() method? If so, do you have any code examples?
    Thanks!

    quzsd,
    Thank for the reply, but could you maybe post how you used the halt(); method in an actual function or handler so that I can see how you actually called it in the ActionScript? I am assuming that I have to attach it to a button?

  • Problem with Adobe Flash Player in fullscreen mode

    Hi everybody, I have noticed a problem with flash player while I'm watching streaming programs in fullscreen mode.
    The problem is that when I'm watching something in fullscreen mode and the quality is set to "high" I have a stammer in both sound and image.
    When I 'm watching in "medium" quality everything is fine in fullscreen mode.
    The default selection is "high", how can I change this to "medium" ?
    It's very annoying to change this all the time manually.
    thxx in advance
    p.s. I use windows 7 64bit ultimate and the latest version of both firefox and adobe flash player

    So, you didn't need help with anything, you just wanted to rant?

Maybe you are looking for