JOptionPane on Full Screen

Greetings:
I'm sure that this is not a new issue around this forums; yet, I've not been able to find the precise answer (including goggling it); I came here to take a little bit of your time for a hint :)
My question is: how can I display a decorated JOptionPane in Fullscreen Mode? If I instantiate an OptionPane with the static contructor, it actually appears, but I just cannot make it look with decorations (so it looks quite unprofessional); if I give the parent frame with decorations, the Option pane is not shown correctly.
By the other hand, if I try to instatiate by myself, it just not appears. I thank you a lot in advanced for your help about this issue.
Regards.
Here it goes my code:
class Resolutions_ActionListener implements ActionListener {
private MainWin eventFrame;
private JComboBox comboBox;
private ScreenResolutions scrnResolutions;
public Resolutions_ActionListener (ScreenResolutions scrnResolutions, JComboBox comboBox, MainWin eventFrame) {
this.comboBox = comboBox;
this.eventFrame = eventFrame;
this.scrnResolutions = scrnResolutions;
} // end Resolutions_ActionListener() [constructor]
public void actionPerformed(ActionEvent event) {
int comboIndex = comboBox.getSelectedIndex();
JOptionPane newResolution_Dialog = new JOptionPane(" pane title", JOptionPane.QUESTION_MESSAGE, JOptionPane.OK_CANCEL_OPTION);
if (scrnResolutions.scrnDevice.isDisplayChangeSupported() && eventFrame.FullScrnOn) {
scrnResolutions.scrnDevice.setDisplayMode(new DisplayMode(scrnResolutions.vector.get(comboIndex).width,
scrnResolutions.vector.get(comboIndex).height,
scrnResolutions.vector.get(comboIndex).bitDepth,
scrnResolutions.vector.get(comboIndex).refreshRate));
newResolution_Dialog.createDialog(eventFrame, " pane msj");
newResolution_Dialog.validate();
newResolution_Dialog.repaint();
newResolution_Dialog.updateUI();
newResolution_Dialog.setEnabled(true);
newResolution_Dialog.setVisible(true);
//none of these show it :(
else { comboBox.hidePopup();
JOptionPane.showMessageDialog(eventFrame, "resolution change only available at Full Screen.",
" pane title", JOptionPane.INFORMATION_MESSAGE);
//this pane is shown with but no decorations if on Full Screen Mode (as in Windowed mode works perfectly).
} // end actionPerformed()
} // end Resolutions_ActionListener.class

Greetings dear developer friend:
Now that I've got this suggestion this issue with the JOptionPane in full screen mode, my doubt would be what does it to "do it with a JDialog in modality variation". I can guess that this means that I should emulate the JOptionPane funtionality with a JDialog, is that it?
By the other hand, you are right, I don't get exactly what does the modal variation implies.
Thanks a lof for the quick and concerned interest in helping: this issues are not eassy to approach.
Thanks a lot in advanced.
Regards

Similar Messages

  • Can not properly view cover flow in full screen in external display

    My mac is the new Mac book pro 15.4 inch screen and I connect my mac pro to external display e.g. Samsung LCD monitor 24 inches.
    The bug is that I can not PROPERLY view full screen (in external display) for some application e.g. iTunes, and Front Row.
    - When I use iTunes, I can not properly view Cover Flow view in full screen (in the external display screen) except the case of mirror display.
    - For Front Row, I can not view full screen in external display but only my mac display.
    However, for other DVD or VDO players, I can view movie on external display in full screen and I still be able to do other works on my mac screen.
    Please let me know how to solve it.

    found the likely issue!  are you participating in youtube's html5 trial?  go here and it will tell you if you are:
    http://www.youtube.com/html5
    exit the trial and it should fix the issue.  it worked for me!

  • Who do I complain to regarding an Apple iPhone upgrade that has taken my my full screen contact picture and turned it into a tiny circle that is hard to see at a glance!!!

    I'm trying to find an outlet for the frustration I feel regarding the "upgrade" that replaced my full screen picture for my contact numbers to a tiny, little dot in the right hand corner.  Are they going to give us an option to go back or did someone  just need to justify their job by making  changes??

    Apple.com/feedback

  • How can i print an Excel file when in the full screen mode (no print options on toolbar or right clk

    using Vista, sometimes after creating and saving an excel file, the document is not visible when the file is reopened.
    selecting full screen mode makes the document visible, but the toolbars disappear and the print option does not show up on a right click.  How can i print the document and see the document in some other mode than full screen?

    In order to print, you can click the CTRL+P keys to launch the print dialog,
    Regarding the missing toolbar, try clicking the ALT key to shouw the software menu, then look around under the view option for any available toolbar settings,
    If you cannot find it, i would recommend you to try the Microsoft support forums, as they have some more knowledge with their software features
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Any ideas for smooth scrolling of full-screen panels for iPad?

    I'm working on an app that is basically just a grid of full screen panels that the user can go through by swiping left, right, up, down. I want it to lock to a singled direction once a user starts swiping so I've got it set to only start scrolling in a direction when the swipe direction has been moved by a few percent - i.e. if delta (x or y) > 5% and delta x > delta y then scroll in the x direction. I'm using a method that detects 'fast swipes' to switch between panels but can also use 'slow swipes' where if the panel is moved more than 50% of the screen then it switches.
    To do all this, I'm using MouseEvents - up, down, enter frame etc and TweenLite. It just isn't working right at the moment - seems to work fine when testing on a computer but on my iPad it's just not working right. The locking doesn't seem to work quite right and it's jumpy. It is an iPad 3 so it's a retina display iPad with the weakest CPU/GPU but I want to make it work fine across all iPads so catering for the weakest setup would be best. I'm running my app at 60 fps and the stage is set to 1024x768 with images that are quite high resolution (more than retina). Would 30 fps make a better choice? Should I resize my imagery so that it fits 2048x1536 exactly or is the Flash Builder clever enough to do that on the fly? (I had assumed that it would be best to let it do its thing so that when I try porting this app to iPhones and other tablets, it would be easier).
    Is there anything 'out there' already that does what I'm trying to do already? I'd like to get my solution to work but if I'm just reinventing the wheel and there are existing code solutions that do exactly this then I'd appreciate being pointed in the right direction!

    If you are using a stage size of 1024x768 then you should use images of that size - that will make things faster as AIR won't have to scale the bitmap itself and images will take up less memory.
    If you are targeting retina screens then you could consider setting the stage to 2048x1536 - upscaling from 1024x768 works ok but depending on what you are displaying users on retina might notice a slight blur. 
    If you are just using sprites then performance will be poor - AIR has to do a lot of visible area calculation on sprites which really slows it down on iPad.  If you haven't already then I would suggest looking at either starling/feathers or doing your own blitting via bitmapData.draw.  Probably Starling will be best - it is quite easy to get up and running and the difference in performance can be significant (things suddenly start working like you want them to!).  There might even be something in Feathers (which is a UI component library built on Starling) that does what you want already (I don't use it so can't comment).  I am using Starling for an iPad app at the moment that involves shifting whole screens around and performance is fine with very little coding effort from iPad1 up.

  • Reader and Windows 8.1 FULL SCREEN?

    Is there a way to view a document in Reader and Windows 8.1 other than on FULL SCREEN.  In previous versions, I could look at a.pdf file while working on another file on my computer screen.  This allowed me to get info from the .pdf file and input into the other program.

    It might  be that you're viewing with an app written to Microsoft's new and exciting "modern" interface which is always full screen. Apparently it's much better and more exciting.
    Microsoft Reader comes with Windows 8 and runs that way. Adobe also offer "Adobe Reader Touch" which runs that way.
    Some of us old dinosaurs who think it might be neat to arrange multiple apps so we can do more than one thing at once like to run the "legacy" apps like Adobe Reader.

  • Full-screen (spacebar) preview quality testing

    [For background story, please read http://forums.adobe.com/thread/1056763 but be warned, it's very l-o-n-g!]
    In brief: some people have noted that Bridge full-screen (spacebar) previews (FSPs) don't accurately reflect the sharpness of a photograph. Sometimes this can be explained by individual configuration problems, but it's clear that this is a common issue amongst people using Bridge to assess/score photograph sharpness, without having to build/examine 100% previews for every image.
    [It's worth noting that one common reason why FSPs aren't very sharp is because the Bridge advanced preference "Generate Monitor-Size Previews" hasn't been ticked, as this produces a higher resolution image cache.  Another cause of very fuzzy previews is random and unexplained, but can usually be solved by restarting Bridge and/or clearing the cache for the selection.]
    This discussion concerns the lack of sharpness seen only in FSPs.  It can be described as "a subtle but significant loss of detail and sharpness, similar to a slightly out of focus photograph"; imagine a photo with a little bit of blur filter, or a Photoshop PSD at a non-standard zoom setting.  This "softening" of the image is caused by Bridge asking the graphics processor to resize the image cache to fit the display.  If you select the Bridge advanced preference "Use Software Rendering", you can improve a poor FSP slightly, at the expense of speed, by bypassing the graphics processor.
    The test
    Visit this web page and download the last image ("2362x3543 pixel, 4.5 Mb") to your computer.
    Browse to this image in Bridge, and view it full-screen by pressing Spacebar.  Take a screen capture, and save it as a TIFF or PSD.
    Adjust your slideshow settings (Ctrl/Cmd-Shift-L), picking "Scaled to Fill", then click on "Play".  Save the screen capture, as above.
    You now have two screen captures: one FSP, and one cache JPEG reference shot.  Examine them side by side at 100%, or layer them in Photoshop and use the hide layer button to flick between images.  Pay particular attention to the two left-hand photos, the sharpness check text, and the converging lines.
    Make a note of your computer's operating system, graphics processor and driver version, as well as your largest display's pixel dimensions.
    Post this information below, together with high quality (10) JPEGs of both screen captures, labelled FSP and REF, and any observations, so we can all see.

    OK, it usually takes me a while to let the penny drop, especially when it comes to maths...
    I also am busy with the transition of my new Mac pro but with al this here are my results. I include several screenshots but due to upload limit of 2 MB per image in here I downsized the original screenshots a lot, but hopefully it will be clear.
    For full screen screenshots I have the asked FSP and REF but also the 100% preview in Bridge with space bar and click. Don't know what your file size is but using EOS 1Dx with 18 MP CR2 files (converted to DNG) it does take me about 1,5 - 2 seconds for both loupe and FSP to build a 100 % preview, and I seem to recall this was not very different behavior on my previous (6 year old) Mac Pro.
    You are right (of course... :-) ) regarding the difference between FSP and REF, when studying closely there is a significant detail difference between the FSP and the REF. However, only the 100 % preview matches the original jpeg. The FSP file is on closer look not so good with details but the REF file is only slightly better, both are not correct and therefor the 100 % is still needed.
    Here is the FSP screenshot:
    and here the REF screenshot:
    also the 100 % preview in full screen screenshot:
    and finally a composed file with details from original, 100 % REF and FSP:
    As said before, at first sight I can't spot significant difference between all options and the full screen (as the preview panel HQ preview) let's me spot the vast majority of unsharpness issues, hence my multiple rounds of sorting and incases of doubt the 100 % option.
    So while your theory is correct I'm afraid I  (still) doubt the usefulness of this all. If neither the FSP and the REF (although the latter does show a bit better result) can match the results of the original but the 100 % does it well I don't see an easy solution for improvement.
    I agree with the quality from the screenshots Curt provided, but Curt also uses the embedded thumbnail instead of HQ preview option. Depending on his needs and hard ware availability it would be nice to see new results with the HQ and monitor sized previews options enabled.
    regards
    Omke

  • Bridge - How to view image in full screen resolution

    In Bridge - How to view an image in full screen resolution and not as a Preview (Space bar), like in Lightroom (F), Photoshop or ViewNX 2 ?

    The size of the Bridge Preview window will always be the absolute limit of the image display in Bridge.  Maybe I am not following you.  Sorry

  • Hi, after installing Adobe CC I tried opening Adobe Photoshop. This failed. I get the opening window where it says installing plugins searching etc, after which PS opens in full screen. Just moments after that there's a fail warning, no code number, only

    Hi, after installing Adobe CC I tried opening Adobe Photoshop. This failed.
    I get the opening window where it says installing plugins searching etc, after which PS opens in full screen.
    Just moments after that there's a failure warning, no code number, only the warning that PS failed to open and PS will close.
    I tried downloading it for a second time, but this did'nt solve the problem.
    Befor the CC version I used a one year student version of Adobe CS6.
    What can I do?

    Regarding the Flash Player problem, disable Hardware Acceleration to circumvent driver incompatibilities.
    Regarding the Flash Pro installation problems, post in the Flash forums or http://forums.adobe.com/community/download_install_setup

  • Satellite A300-20P - Games with Windows 7 not working in full screen

    I have Satellite A300-20P and VGA ATI 3650
    I made upgrade to Windows 7 Professional
    All games working well but not in full screen. I installed the last driver for ATI for Windows 7. It was working in full screen in Vista before I make upgrade.
    Same problem on my brother`s laptop after he make upgrade to Windows 7.

    Hi
    Normally you can change the screen resolution in every game and if they should run in full screen mode or not. Check this!!!
    Can you also tell us what display driver you have installed? The drivers from the Toshiba page are for desktop cards and not for mobile cards. So please use only the Toshiba drivers.

  • Can´t view photos in full screen after loading photos to dropbox? what to do?, can´t view photos in full screen after loading photos to dropbox? what to do?

    after loading photos to dropbox i can´t view them in full screen in iphoto ... i can only view them small ... when i click on them this sign "!" appears... do you know how to fix this????

    If you're loading photos to drop box why do you expect to see them in iPhoto?
    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Remember: we cannot see your machine. There are 9 different versions of iPhoto and they run on 8 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS.  So to get help you need to give as much information as you can. Basic things like :
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For instance: 'iPhoto won't export' is best explained by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • Mac OS 9.2 Not in full screen

    Hi,
    I just bought iBook G3 800Mgz from ebay, to run Mac OS 9 with old apps to open some old documents.
    However, the iBook G3 work prefect with Mac OS 9.2.2 & Mac OS 10.4.11 ..
    just one problem that Mac OS 9 doesn't run in full screen !!
    I prefer to startup from full OS 9 rather than running as a classic sys under Tiger or Jaguar OS, ..
    When I startup from OS 9, the startup operation work normally full screen with Mac OS 9 logo window appear for 2 second, then the screen becomes small during the startup processing, and the OS 9 continue complete the startup with the same size.
    After several trailing to solve the issue but without effects, I discover where is the problem but can not fix it .. the problem with OS 9 feeling there are external monitor so it gives for that monitor full 1024x768, and on iBook screen 640x480 .. I found this on control strip with monitor control panel, also when I run the monitor control panel it's give me two windows, a window for each display !!
    The picture below explain more with I mean .. OS 9 desktop with half size of screen and center of the display.
    it's exactly same thing happen when you connect your mac with projector, even your screen support until 1280x800 for example, but the projector just 800x600, you will see your desktop on your laptop decrease with a large black frame ..
    Now, with all my discretion, I didn't figure out where is the problem that push my iBook feel there is another monitor .. I tried remove some extensions and reset prm but no effect.
    Please help and Thanks in Advance.

    Hi, asulaiti -
    Now I figure out what's the problem, I tried to remove Display Preferences & Monitors Preferences files. But nothing change.
    I thought that would probably not help. The problem is with some of the specific files (probably extensions) that are needed by the hardware on your iBook G3 - the ones you have are intended to support different hardware, hardware that is specific to the other model.
    You will need to replace the applicable files with ones compatible with your machine. Two ways to do this -
    • Locate someone who can furnish you with copies of those files. I don't know for sure, but I suspect they would include all extensions whose name starts with ATI.
    • Re-install the OS 9.2.2, using an original disk set intended for your model. As I mentioned previously, this may be difficult to find. A retail (or universal) OS 9.2.2 Install CD was never released; the only install CDs for OS 9.2.2 are model-specific ones.
    As far as sources go, you might check with an Apple User Group - most large cities and universities have one. This Apple support page may help in that regard -
    http://www.apple.com/usergroups/
    You may be able to find an appropriate disk set on places like eBay, but chances of doing so are slim - and you need to be careful that you get what you need.
    You might also check back with the seller of that machine - ask them for the original disk set for it (that disk set really belongs with the machine).

  • I've customized my Firefox in full screen mode by clicking on full screen option. Now I'm not getting it back in normal mode even after restarting firefox and even restarting my system. How could I get it back in normal display mode? Thanks !

    not able to come back to normal view mode from full screen view mode....

    yeah it worked.... Thanks... :)

  • Watching M4v not in full screen

    Good day everyone,
    I just downloaded three episodes of my favorite show from Itunes (11) and wanted to watch them. However, I can only seem to do it in full screen, which is annoying because I was hoping to use photoshop at the same time as watching them. Is there a way to view M4Vs in not full screen? That would be great because it is already annoying enough that I can't put them on my mp3 player because they are a different format.
    Thanks for any help

    Nevermind, my program was just being glitchy

  • How can I get Safari to default to NOT be in full screen mode?

    I have looked in Preferences but don't see any such option.  I know that once I am in a session that I can go to View->Exit Full Screen, but I want the default when I open a session to not be full screen.  Would appreciate any and all help.

    Quit Safari while holding down the option key. Relaunch. Your home page, or an empty window, should open, depending on your preferences.
    If in full-screen mode, exit. If not in full-screen mode, enter. Quit and relaunch without holding any keys. You should get the same window in the same state as when you quit. Does that happen?

Maybe you are looking for

  • 6100g and wrt160n issues

    Recently i upgraded from 1.5 meg dsl to 7.1 thru verizon, i just recieved the new router thru the mail and proceded to hook everything up and activate my hide speed internet.  Appon doing so i then unhooked the modem to my computer and hooked it thru

  • Oracle Portal development without JDeveloper

    hi, I have a web application that serves JSP pages that I need to use as a provider with oracle portal. Could someone kindly point me to a tutorial that explains how to do that? Please note that I am using websphere application developer as my ide an

  • DVI to 22" Dell Display monitor question

    Hello, I would like to hook up my MBP 17" to a Dell 22" display and would like to know what cable I would need. DVI-D? DVI-A? DVI-I? This monitor accepts both DVI and VGA inputs. Your assistance would be appreciated. Thanks, Jordan

  • Exclude Planned Costs - Define Tolerance Limit - Budget Control

    Hi, We are trying to customize our system in order to exclude the planned costs of the project of the budget availability control. Example: If once I have budgeted and released the project I add a component to the project I do not want to any error m

  • Query for releasing and closing Production order ststus in bulk

    Hi Releasing planed to released 1. i want to release all those production orders entered in system which are in planned status.I want to apply one query for that which should change the status of Prod orders to release in systems automatically by app