Jframe on extended monitors

Hi,
I am able to have two separate frames on two monitors.(extended display) using code below. But how can I extend same frame to both monitors. Using Toolkit.getDefaultToolkit(), it is just displaying on main screen (that is display -1).
public class test {
     public static void main(String args[]){
          GraphicsEnvironment ge = GraphicsEnvironment.
          getLocalGraphicsEnvironment();
          // gets an array of individual Graphics devices
          // ie if you have two video cards length = 2
          // if you have one normal card and a 4 way multiscreen card length = 5
          GraphicsDevice[] gs = ge.getScreenDevices();
          JFrame[] f = new JFrame[gs.length];
          // cycle round each device
          for (int j = 0; j < gs.length; j++)
          // use the default configuration
          f[j] = new JFrame(gs[j].getDefaultConfiguration());
          // draw some stuff on the JFrame
          f[j].show();

Considering your posting history, I don't feel inclined to look into your problem.
db
jfilechooser as jcomponent in a jpanel
JFileChooser as popup on pressing a button

Similar Messages

  • Issues with Yosemite and Safari on extended monitors

    I have Yosemite installed on a Mac Pro with 3 monitors attached to it.  As soon as I installed Yosemite, I noticed that whenever I tried to fill in text input fields on a web page, the things I typed in would start blinking.  And when trying to backspace to correct any typing errors, the field would remain the same and continue blinking.  It was very annoying because it was very difficult to enter anything into text input fields.
    My brother and an officemate who also had Yosemite installed on their computers were not experiencing this issue so I tried to isolate the problem on my system.  What I discovered is that Safari behaves as it should when it is displayed on my main monitor.  But whenever I move the Safari window over to one of the other monitors, any text input field on a web page would be next to impossible to type text into.  Other input fields, such as dropdown list boxes, act weird also.
    I should add that this only happens with Safari.  Firefox and Chrome do not behave this way on any of the monitors.  Other apps also run fine on the extended monitors.  It's just Safari that misbehaves.
    Has anybody else experienced this problem.  Is this a known bug?  I tried doing a search here in this community and on the internet itself but have not found anybody else complain about this issue.
    Thanks.
    ...Leo

    Hi all, I too am expieriencing similar issues.
    I am running a 2012 6core 3.33 Mac Pro with two ATI Radeon cards driving 3 27" LCD Cinema Displays.  One of the Radeo cards (1) drives the outer 2 screens and the other card (2) drives the centre screen alone.
    I upgraded from Mavericks to Yosemite 10.10.01 after being very pleased with it running on my Macbook Pro for a few weeks.
    My center screen had issues immediately rendering certain pages in Safari, the App Store and Mail.  In particular the google page when it has live search results showing, the App Store updates page also renders badly, and some emails in Mail that are html also don't load as the should.  Generally its the top of the page flashing, or the text input box on a page like this thats effected.
    I did a fresh install of Yosemite and it didn't fix the problem.
    I notice when I drag my safari window from the outer screen to either of the side screens, the problem goes away and returns when it comes back to the centre screen.  I swapped over the mini display ports so that graphics card 1 drives the middle screen and graphics card 2 drives the outer screens and the problem moved to the outer screens.
    I am still on Applecare so I called Apple and a senior tech took a look at the issue on my screen remotely.  He decided on replacing the graphics card.  This is being sent now so I report back once its installed to let you know if it made a difference.
    I am also going to try swapping out one of my cards with another colleagues card to see if I can establish if its a bug in Yosemite or an issue with a specific ATI card, or indeed just a problem when you run two cards.
    In the mean time I would be interested to hear if any of you guys found a workaround.

  • Extended monitor: how do I maximise windows + trouble using PC keyboard

    I've got an external monitor attached to my Macbook Pro
    How do I maximise a window in the extended monitor?
    When I maxmise, it just pops back to my mac screen
    ALSO: any advice on using a PC keyboard?
    I'm finding it fiddly using the Windows button
    ALSO: swiping... I cant do
    I have the Macbook Po on a laptop raiser
    Can I swipe with the mouse somehow?
    Thanks
    Omar

    What OS are you running?
    There is no shortage of keys so if it is smaller it just means it is has less bulky and wated space. The wireless ones do not have a number pad if that is what you mean. Apple has a USB "full size" keyboard with number pad.
    I assume, since you are listed the price as pound, you are in the UK?
    http://store.apple.com/uk/product/MB110DK/B/apple-keyboard-with-numeric-keypad?f node=56&p=1
    The track pad is the same as the one on the laptop just bigger and wireless.
    I have a MacBook Pro with two additional displays so I use the Apple wireless keyboard and trackpad. I find gestures to be a great time saver and would never go back to a mouse.

  • How do I set up extended monitor using new iMac 2012 21.5 inch? c

    I have a new 21.5 inch imac 3.1 ghz 16gb memory and want to have a extended monitor setup. I have a viewsonic vx2250-led monitor that has audio capabilities and am looking for advice with setup, setting and if audio can play out of both?
    Thanks Friends!

    Spyrmac wrote:
    ok i downloaded a pref.pane named websharing since websharing option in the sharing panel does not exist anymore  …
    Contact the manufacturer for assistance since it's their product & not Apple's.

  • How to use second monitor as extended monitor

    Want to use a second monitor at MacbookAir 11. I get the mirror to work and I know resolution is unfortunately not the same, but I wanted to use the two as one extended monitor. I cannot move or extend any window to cover both. Any advises how to get to that?

    You should be able to drag the application off the right side of your monitor and it appear on the TV.  You can size and position as desired.
    Check System Preferences > Displays > Arrangement tab  for the placement of the external monitor.  It normally defaults to the right side but could be above/below or left of your primary.
    Regards,
    Captfred

  • 2 HD TVs as extended monitor system with Mac Mini

    What is the best way to setup 2 HD TVs to my Mac Mini in order to use them as an extended monitor?
    Example: Logic Pro- Main Window opened on one monitor and Mixer Window opened on second monitor.

    Check Displays have separate Spaces if you want a window to extnet accross monitors. See:
    OS X: Using multiple displays in Mavericks

  • T420s - swapping to extended monitor doesnt work

    connecting my laptop to a tv or any other external monitor does work but when i try to swap to extended monitor or any other setting my pc shuts down and reboots.
    any ideas ??
    thank you in advance

    Hi
    For resolving the mentioned issue , Please try the following
    1.  Update the Bios to latest version
    http://support.lenovo.com/en_US/downloads/detail.p​age?DocID=DS014992
    2. Update the Display Video drivers
    http://support.lenovo.com/en_US/research/hints-or-​tips/detail.page?&DocID=HT063249
    After updating drivers press Fn + F7 to toggle from internal to External Monitor
    I hope this helps

  • Automatically open block diagram on extended monitor?

    Hello,
    I was wondering if anybody know how to pop-up the block diagram on an extended monitor automatically so that ctrl+E need not be pressed to shift between FP and BD. It would be nice to see FP on monitor 1 and BD on monitor 2(ext). applicable to opening any number of VI/subVIs. (not needing to drag window to ext monitor either)
    Thanks in advance,

    See page 2 of this thread: http://forums.ni.com/ni/board/message?board.id=170&thread.id=102680&view=by_date_ascending&page=2

  • IMac as an extended monitor for a windows based laptop

    Can I use my iMac as an extended monitor for a windows based Laptop while also still using the iMac as an iMac?

    Hi tpskoog,
    Certain iMacs support a mode known as Target Display Mode which allows them to function as an external display, but at the moment only other Macs with certain video out ports are supported as the primary (source) machine. You may find the following article helpful:
    Target Display Mode: Frequently Asked Questions (FAQ)
    http://support.apple.com/kb/ht3924
    Regards,
    - Brenden

  • Using 27'' iMac (2012) as extended monitor for MacBook Air (2012)?

    Hi all, I'm trying to find a solution how to use my iMac as the extended monitor for my MacBook Air. I saw the video on YouTube >> http://www.youtube.com/watch?v=8bVOssjlsGY << but I am not sure if it is real or fake. I have checked the forums here and other sources, but I haven’t seen any official statement about the possibility to use thunderbolt cable for this purpose. Do you have any experiences with that? Or can you advice please?

    Yes, you can use the 27" as a monitor with Target display mode.  Just attach the two with a Thunderbolt cable and press Command F2 on the iMac.  It will become a secondary monitor for the MBair.

  • Thinkpad USB Port Replicator with Digital Video - extended monitor shows only mouse icon

    Hi,
    I have been using my Thinkpad USB Port Replicator with Digital Video for quite a long time with my previous employer laptop. I recently switched job and got a new laptop (Dell XPS 3, Win 8.1). While installing/paring this laptop with the port replicator, I had some issues e.g. extended monitor not getting identified etc. I updated the drivers and now I am able to identify the extended monitor. But the extended monitor shows only the mouse icon and nothing else. I have upto date Intel HD graphics drivers installed in the laptop. Intel's Graphics control panel doesn't show the extend option for the USB monitor, but able to still move the mouce icon to the extended monitor.
    Any help/pointers to fix this issue is highly appreciated.

    I have the exact same problem on my W510. Everything but the screen Works. I cannot however do duplicate screens. That would help a Little bit, so I could use the big monitor instead of just the laptop.
    Please fix this Lenovo!

  • 19" or 24" of Extended Monitor Display recommendation

    Hi,
    Looking for a 19" or 20" or 24" of Extended Monitor Display for my new MacBook Pro.
    What's your recommendation?
    Wish to grab some other brand instead Apple Cinema.
    *Hi-Res and WideScreen*
    Thanks!

    The boogers are back. Power Supply was not the culprit.
    However I had resolved Issue #2:
    Another Issue is that so far, a few times when starting the computer in the morning the monitor will not come on. Instead, the white power light flickers in sequences of three. The third flicker stays on the longest.
    Resolution:
    According to the monitor manual, the white flickers are a code. For two short flashes followed by a longer one, is indicative of a backlight issue on the display.
    So Apple will need to replace or fix the display for the backlight issue.
    As for the other issue I've noticed a few others have had similar issues with "The Blue Fuzzies", at the threads below:
    http://discussions.apple.com/thread.jspa?messageID=3430273#3430273
    http://discussions.apple.com/thread.jspa?threadID=706702&tstart=0
    To update my original post, hovering the mouse over the affected areas does not produce a trailing effect anymore.
    To temporarily fix either issue involves shutting down the monitor, and unplugging and replugging-in that odd connector on that small white power box that comes with the monitor, (the "DC" cable). (Which originally led me to believe the power supply was at fault.)
    Though the monitor and the computer sits on a solid oak desk, I have recently discovered that when "The Blue Fuzzies" are occuring, a very slight bump on the table increases the amount of Fuzzies, or changes the pattern of which they are running. I discovered this when I sneezed.
    So where I'm at now is querying anyone with a ati1900 card with a similar issue with "The Blue Fuzzies", as the other (white flickers code) will require replacing/fixing the monitor.
    If the x1900 card is stable (none of TBF), I'd rather just get that when the monitor gets replaced.
    z

  • Extended monitor problem after upgrade from Snow Leopard

    Upon upgrading Mac Pro (09) from Snow Leopard, I can only get a black screen on my extended desktop monitor.  I can see the mouse cursor, but nothing else.  I am not using Full Screen.  Any suggestions? The extended monitor is a SyncMaster 943. thanks.

    After reading about kernel panics on this machine, I should also report that the MacPro has two Nvidia GT120's.  I have not upgraded the driver manually and have not had a kernel panic (yet).  Just the black screen on actually two extended desktop monitors.

  • Extended monitor after windows 8.1 upgrade

    My Pavilion g6 laptop just auto updated to windows 8.1.  Now my extended monitor does not work.  How do I get the extra monitor to work again?  This laptop screen is dinky and I can't see it very well.

    Hello Notebook1763,
    Welcome to the HP Forums!
    I understand your extended monitor will not work since updating to Windows 8.1. Please make sure that you are following all of the recommendations in this HP document: Connecting a Monitor, Projector or TV (Windows 8)
    If that doesn't help, make sure that all your drivers are updated for Windows 8.1. The HP Support Assistant can help you with: Downloading or Updating Software and Drivers for HP Computers
    If this doesn't help, please provide the model number of your computer.  If you require assistance locating this information, please reference this website: Guide to finding your product number
    Mario
    I worked on behalf of HP.

  • I want to have different taskbars in extended monitors

    I have two monitors with extended display through windows 8.1 pro.
    Pain is that same application is shown in both the taskbars reducing my multitasking space.
    I need one app on one taskbar.
    Rishi Rajput student Amity University Haryana

    It's my understanding that "taskbar spanning" is a feature of the display card driver.
    NVidia cards/drivers offer this feature (Mosaic):
    http://www.nvidia.com/object/nvidia-mosaic-technology.html
    I don't know if any other cards/drivers offer the feature.
    From memory, the (NVidia) WHQL drivers supplied to MS for distribution via microsoftupdate, don't include the feature, so you should check with your hardware manufacturer.
    AMD (ATI) Eyefinity *might* offer a similar feature.
    I don't think any Intel IGA drivers offer the feature.
    EDIT: maybe this helps?
    http://community.spiceworks.com/topic/294151-taskbar-on-multiple-monitors-in-windows-7
    Which display card/chip is yours?
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Maybe you are looking for

  • Using a function in SUMIF condition field

    I have a rather vexing problem that I can't seem to solve. I have a three column table. Column 1 is just labels, column 2 is dates, column three is values. What I want to do is look for all of the dates in column 2 that are within a certain month (sa

  • How can i sign in to iphone without credit card number

    how can i sign in to iphone without credit card number

  • Turning off Text Spell Check

    Easy one this...hopefully. Can someone tell me how to turn of the spell check type function in SMS mode. It's causing me problems and even re corrects itself when I've gone back and changed it.

  • Updation of option classes and option item in already created model

    Let us say Model A Option class A1 Option item a11 Option item a12 Option class A2 Option item a11 Option item a22 We are selling this product to a customer with service warranty attached for a year. Then in a weeks time you are adding or deleting an

  • UpdateUserData encounter some problems

    Hi All, getting a strange error when trying to update a user in OIM. was wondering if anyone has seen this before. the gazillion pages of stack trace ends with this. =20100311 09:07:10,491 ERROR ExecuteThread: '15' for queue: 'weblogic.kernel.Default