Statement in tutorial for useing full screen i dont get ?

When in full-screen exclusive mode, you don't have to worry
anymore about the window being resized, moved, exposed, or occluded
(unless you've ignored my suggestion to turn off resizing). now how do i turn of resizeing ? it doesn't say in the tutorial or i missed it somewhere .
thanks in advance.

ackkk im totally stumped can someone run this and
tell me how i draw to the screen or were to go from were im at
what im missing what i need to do ect...
import java.awt.*;
import java.awt.event.*;
import java.awt.Image.*;
public class fullscreentest extends Frame
  // VARIABLES OR USED CLASSES
     private static DisplayMode OD_Mode;
     private static DisplayMode D_Mode;
     Frame mainFrame;
  // CONSTRUCTOR
  public fullscreentest(){
     go(); // call go method
           // could make render loop here as main thread should exit go
           // and stay in full screen mode
  // METHODS
  public static void main(String[] args) {
           try {
        fullscreentest test = new fullscreentest();// call constructor to begin
        } catch (Exception e) {
            e.printStackTrace();
        System.exit(0);
     public void go(){
     GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
  // grab monitor device so we can use it to change the monitor resolution
  GraphicsDevice device = env.getDefaultScreenDevice();
   // i already know the mode im going to set is support so ill skip by this
   if(device.isFullScreenSupported() == false){System.out.println(" Warning full screen is not supported "); }
   if(device.isFullScreenSupported() == true){
    device.setFullScreenWindow(this);
    //device.setFullScreenWindow(Window w);
    System.out.println(" full screen is supported ");
   // graphics configuration class not to sure about this
   // looks like were grabing the default config which is in full screen becacuse we set device to fullscreen
   // or not? because were geting the default configuration  im a lil confused here
   GraphicsConfiguration gc = device.getDefaultConfiguration();
   // create a frame is it in full screen below or not ?
   mainFrame = new Frame(gc);
   mainFrame.setUndecorated(true);// get rid of title bars and stuff
   mainFrame.setIgnoreRepaint(true);// ignore repainting que
   mainFrame.setResizable(false);// do not allow the frame to be resized
   OD_Mode = device.getDisplayMode();// save the old device configuration
   D_Mode = device.getDisplayMode();// initialy make new config as old
   if (device.isDisplayChangeSupported() == false) {
    System.out.println(" warning display mode change is unsupported ");
   if (device.isDisplayChangeSupported() == true) {// hopefully this is possible
    // set new d_mode to 640,480
    DisplayMode D_MODE = new DisplayMode(640, 480, 32, 0);
    // mow d_mode should basically have all the info for the device and the screen size
    // and the colormodel that is being used
    System.out.println(" display mode change is supported ");
   // is this still correct ?
   // know i have no idea how to use a volitile image or if i even need to
   Graphics pen = mainFrame.getGraphics();
   int acc_mem = device.getAvailableAcceleratedMemory();
   System.out.println(" available accelerated memory or ram left reported "+acc_mem);
   boolean done = true;
   long count = 0;
   while (done) {
   // Draw as appropriate using myGraphics ???? draw to what. memory ??
   // thats kinda a cut off in the tutorial left me hanging.
        count ++;
        //pen = getPaintGraphics();
        //pen = mainFrame.getPaintGraphics();
        //pen.setColor(Color.blue);
        //pen.drawLine(100,100,50,50);
        pen.drawLine(100,100,50,50);
     // check for exit  
     if(count > 200000000){
     System.out.println(" count "+count);
     done = false;
     pen.dispose();
}thanks in advance for any help.

Similar Messages

  • "Edit photo - Using Full Screen"

    Am I missing something? This hot tip seems to be nonsense:
    "Automatically open photos full screen on double click
    To make it easier to view your photos in glorious full screen, go the General area of the iPhoto preferences. There you can choose to "Edit photo - Using Full Screen". This will allow you to view any photo in full screen simply by double clicking its thumbnail in the organize view."
    There is no such Using Full Screen option when I go to the General area of Preferences....
    Any hints?

    For no apparent reason, my laptop starting opening my photos, when I double clicked on them, in my printer editing program. For the past couple of years, it always opened up in the iPhoto large screen editing option. Don't know why it suddenly changed. (I had not yet upgraded to iPhoto6). Thank you for telling me where to make the change. It works. I like the option of the two large black arrows below the main photo, so that I can go from one to another while the photos are still large and also stay in the iPhoto program.
    I hope "caliban" found that option and corrected his problem.

  • Rmbp crushes when using  full screen with Aperture

    I already updated my rmbp to Mountain Lion and updated my Aperture with the latest version.
    My rmbp crushes in full screen after I use the Quick Brushes tool. My rmbp shows a message in four languages and restarts...
    But if I don't use full screen everything is ok...

    The message in four languages indicates a "kernal panic".  These crashes are system wide, and should be avoided.
    Unfortunately, that's all I can offer.  You might search for "Aperture full screen kernal panic".  As this seems to be repeatable, you should submit a bug report to Apple via "Aperture➞Provide Aperture feedback".
    One small thing: does it happen with no external devices attached (second monitor, mouse, etc.)?

  • Grey transparent overlay on canvas using full screen in Photoshop

    Hi!
    I'm using MacPro bootcamp with Vista. Dual screen with Graphic Card ATI X1900.
    Everytime I use the Full screen mode I get an overlaying grey transparent color covering the canvas. I have to restart the program to reset the display. Open GL on/off doesn't fix it either.
    I have tried updating card drivers and CS4. As far as I know it only happens in Photoshop and not the complete master collection.
    Any suggestions?
    Thanks
    Not sure where to post this: Mac/PC? Sorry

    It's still there and extremely annoying artifact. This error come and goes but always seems to be triggered by using FullScreen mode. If the image floats and I move the image by clicking the top then it displays ok for as long as I move it?!?! Once I let go of the mousebutton the dull gray overlay is back. I have once again (4th time now) updated the driver for the ATI X1900 Graphic Card but no luck. Only program restart works to remove it, and then I have to avoid FullScreen which is essential for my work.
    Found this link and I'm now trying to work with the "Use For Image Display" unchecked (Edit>preference>performance>GPU settings). Hopefully that will do the trick?
    Hopefully this will help me and others with the same problem.
    Tnx

  • I accidently click for a full screen view on Firefox and now I can't undo it. My bar with tools, bookmarks, etc. is not visible. As the browser opens, the bar appears but then jumps up where it can't be reached. How do I turn off the full screen?

    I accidently clicked for a full screen view on Firefox and now I can't undo it. My bar with tools, bookmarks, etc. is not visible. As the browser opens, the bar appears but then jumps up where it can't be reached. How do I turn off the full screen without access to view options?

    Co-el, This wasn't possible as there wasn't a navigation bar available. The F11 did the trick though. Thanks for adding to the discussion.

  • How do I get my bookmarks to display again in a column on the left of my screen, just as it always has and the way I like them. I do not want to use full screen display without the bookmarks showing.

    I have a full screen and cannot see my bookmarks.
    How do I get my bookmarks to display again in a column on the left of my screen, just as it always has and the way I like them. I do not want to use full screen display without the bookmarks showing.

    View > Sidebar > Bookmarks (Ctrl+B)
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily.

  • I have recently upgraded to Firefox 5.0. I am now unable to use full screen mode when watching you tube. i've never had this problem before.

    i can't think of anything else to add. i've always been able to use full screen mode in firefox, it still works on vimeo and it still works on NEtflix..

    What happens when you try to use full screen mode -- button is ineffective, video doesn't display, etc.?
    By the way, Adobe has issued a couple of security updates recently, so you might want to update your Flash plugin.

  • I was not using my Iphone for some time and when i charged it for use the screen is not lighting up. the image is very dim . Please assist to correct this situation., I tried to increase the brightness.no use.

    Iphone 3 GS was not being used for some time. When I charged it for use the screen is not becomeing bright. The images are very dim although i increased the brightness. Pls assist.

    Since it's a new machine, contact Apple Service, iMac Service or Apple's Express Lane. Do note that if you have AppleCare's protection plan and you're within 50 miles (80 KM) of an Apple repair station, you're eligible for onsite repair since yours is a desktop machine. That also might apply to newly bought ones inside the first 90 days.
    FWIW, IMO, the AppleCare extended plan's the cheapest insurance you can get for your new desktop machine.

  • Is there a video tutorial for using cyberduck and iweb?

    So, is there a video tutorial for using cyberduck and iweb to upload to a website? The written instructions on iweb are not specific enough.

    Might be worth posting that in the iWeb forum.
    http://discussions.apple.com/category.jspa?categoryID=188
    This is the iPhoto 09 forum.
    Also, have you tried searching with google?
    Regards
    TD

  • Use Mac while HDMI is using full screen

    Hello,
    I am trying to use the HDMI port to show something full screen on the tv using quickplayer, but would also like to use the Mac screen to use pages, is this possible?
    many thanks,

    Running Mavericks, yes:
    Full screen applications
    With Mavericks, you can use full screen apps on each display independently. Open an app full screen on one display. On your other display, open an additional app as either windowed, or full screen.
    To switch between full screen apps, move your pointer over to the app and click. You can also use Mission Control or press Command-Tab to change your focus.
    OS X: Using multiple displays in Mavericks - Support - Apple

  • How to disabled mutli desktop when I using Full Screen?

    How to disabled mutli desktop when I using Full Screen?
    Some app have a preferences option to do this which like iTerm2
    In Lion-Style FullScreen windows, I can't use command + tab to  quickly switch between in the apps, I must switch to the  app own desktop which is using fullscreen, It's so trouble. I even think this is a flaw in Apple's design.
    So, How can I have use this  feature in others apps such as Google Chrome, Mail, Safari and so on.
    Please Help me!  Thanks! Thanks! Thanks!

    nobody can help me ?

  • Is there any tutorial for using ARM cortex-A processors of Zynq for digital signal processing ?

    Hello, everyone.
    Is there any tutorial for using ARM cortex-A processors(such as A9 and A53) of Zynq to deal with digital signal processing  problems?
    Please tell me , thanks.

    Hi
    Check below links
    http://www.xilinx.com/training/zynq/software-acceleration-for-dsp-functions-with-zynq.htm
    https://www.youtube.com/watch?v=ErEG7ZREcJQ
    http://www.xilinx.com/support/documentation/application_notes/xapp1170-zynq-hls.pdf
    http://www.xilinx.com/support/documentation/application_notes/xapp890-zynq-sobel-vivado-hls.pdf
    http://www.xilinx.com/support/documentation/application_notes/xapp1167.pdf

  • Jaxa xml tutorials, does anyone have some tutorial for using xml in java??

    jaxa xml tutorials, does anyone have some tutorial for using xml in java??
    can be dom,sax,jaxp whatever....
    i try to find in google but din't find any complete one....

    dapim wrote:
    jaxa xml tutorials, does anyone have some tutorial for using xml in java??
    can be dom,sax,jaxp whatever....
    i try to find in google but din't find any complete one....I would imagine anyone here would just produce the same set of hits that you did, so why waste our time doing it only to direct you to the same one(s) you already found and rejected.

  • Is there a set up tutorial for using Outlook with iCloud

    I am using Outlook on my PC (windows 7 and Outlook 2010)
    1. Is there a set up tutorial for using Outlook with iCloud?
    2.  Please clarify, I don't need to set up a XXX@me email account to get iCloud to sync with Outlook, correct?
    3.  My emails appear to by syncing, but the Outlook Calendar does not sync its Pre-Cloud entries with my Iphone and IPad.  Is this what is to e expected? 
    4.  If I put a calendar entry on my PC's Outlook Calendar, it should sync with my Iphone and Ipad correct?  Again, what about entries that were made in Outlook before I signed up for iCloud? 
    I am hoping there is a simple step by step tutorial somewhere, because I am pretty disappointed with Apple about how confusing this is all becoming. 

    Hello:
    Sorry I can't bring you a solution but I am surprised your mail is working. Many of us with outlook 2010 seem to be having trouble sending. It seems apple's Pxx-smpt.mail.me.com server is rejecting the loging. I have tried it on three PC's with Win7 and Outlook 2010. It simply does not work after installing from the iCloud control panel. I have also manually configured the servers, encryption method, etc to no avail.
    On the positive side, Calenda and contacts does work. First time around, the claendar duplictaed everything but I manually cleans it out. The iCloud calendar is a seperate calendar in Outlook. It seems to perform a sync with your local calendar one time. From them on, I beleive you need to use the iCloud calendar to have the same appointments show on each device. I renamed the defaut iClouds calendar to "iCloud Calendar". It's definatelly confusing and not seamless. It would be nicer to sync your OL calendar permenantly so you don;t see two or more.
    Let me know your settings for iCloud email on Outlook. Try sending an email from the @me.com account.
    Thanks,
    Kevin

  • I have an ipad2 with 3G Verizon  for use in India can I get Vodafone service for a month

    I have I pad 2 with WIFI and 3G Verizon . For use in India can I get Vodafone service for a month.

    The Verizon iPads are CDMA based, they don't use micro-sim cards unlike the AT&T models - they are different 3G technologies. I don't know whether there are any CDMA-based carriers in India, if not then you could try getting a mifi device and use a sim card in that to give you internet access on the iPad

Maybe you are looking for