AWT and focusing on different windows

Hey guys.
I have a problem, I'm trying to set the focus a window but can't.
I have two windows A and B.
I also have a Events being picked up set on window A.
So the set of events are detailed as follows.
Window A display's and responds to events.
When a particular event occurs it loads up a new window (WindowB) and focus is given to that window.Wasn't a problem until we realised that there was a delay between Window A being displayed and Window B being displayed, enough to cause a problem.
So the code was changed like follows.
WindowB.pack();
WindowB.setVisible(true);
WindowA.setVisible(false);When it was changed to the above, we lost the ability to pick up keyboard events, as WindowA was still the window with focus.
I've had a look at the KeyboardFocusManager where it seems that focus can be change between components.
However is also states for method setGlobalFocusWindow() that it can only be set if it is in the same context.
Which it is not.
Is it possible to set focus to the window before the window has been set visible? Is KeyboardManager the right class to look at?
Sorry about the lack of code(It's spread in many directions and is sensitive)
Thanks for any help in advance

hello,
the following link may help: http://java.sun.com/j2se/1.4.2/docs/api/java/awt/doc-files/FocusSpec.html
wrappingduke

Similar Messages

  • In 26.0, how do I put Download, Bookmarks, History, and Tags into separate windows? I have multi-monitor system and place these different windows . . .

    Hello,
    I recently, decided to upgrade from 19.0b to the current (26.0) version, as "Tab Utilities" now supports 26, but am finding one of the visual changes counter productive. My two workstations have multiple monitors. One has 2 monitors (2560x1600) and the other one has 4 monitors (2560x1600). On both workstations, I'll place the various Firefox informational windows off the "main monitor" (the one directly in front of me). This way they're available to me at a glance.
    (Side note: I refer to my monitors, as 2L, 1 2R and the 4th as "auxiliary.") The one thing I miss most is being able size these Firefox windows independently and in different positions.
    I mean I'm used to seeing "Download" on monitor 2R on the right side (1/8 of screen) behind Microsoft Process Explorer's System Information. While the History will be on monitor 2L on the right side at 1/4 of the screen). I'm used to glancing out my right eye at the downloads and when needing something from the past, it's right next to the main monitor #1. This way I can access history quickly.
    I can see why a developer (with one monitor say 1920 x 1080) would love seeing one window, but why can't Firefox support both single and multiple monitor users at the same?
    Anyway, is there a way to get 26.0 to place at least "Download" and "History" in separate sizable windows?
    (I'm not jumping up and down to go back to 19.0b or to try 25, but would like to stay current.)

    Hello,
    Thank you for your very quick reply. Before I read your reply completely, let me see if I can answer your first concern.
    > Maybe I am missing your point.
    Maybe I'm not making the point properly. Honestly, I never explained the issue from how it is directly affecting me.
    OK, let's do a real world example of what I'm seeing on my two monitor system. I'll first describe what I experienced with 19.0b and earlier, which is IMHO how it should work in 26 and beyond ('''''as an option'''''). Next, I'll review what I'm seeing in 26.0. Hopefully this will help you understand what changed, from a practical perspective.
    In 19.0b (and how I like working) for a multiple monitor system:
    On the main monitor, I'm running Firefox. It is 1920 x 1080 and is in the lower right hand corner.
    On the the monitor to my right (2R), I have the Download Manager list of downloading and downloaded file. It is in the upper right hand corner and takes up about 300 x 1500 pixels.
    For a two monitor system, I have the History List running beside Firefox in the lower right hand corner and it is 600 x 1080.
    For a three (plus) monitor system, I have the History List running on my left (2L) monitor. It is in the lower right hand corner and is 600 x 1080 pixels big.
    For 26.0: I'm seeing the following:
    On the main monitor, I'm running Firefox. It is 1920 x 1080 and is in the lower right hand corner. (This is the SAME as with 19.0b.)
    When I start the Download Manager and have it set up as I do for 19.0b, it looks OK. It is on monitor 2R and is 450 x 1500 pixels (because of the new navigation side bar).
    '''''The problem STARTS NOW (when I start the History List).'''''
    When starting the History List, it replaces the Download Manger on the 2R monitor in the 450 x 1500 pixel window. This doesn't work for me because:
    1) It is too far away to see. (NOTE: I put it on the 2L monitor in the lower right hand corner. so I can see it easier for the 3+ monitor. In the case of the 2 monitor, I put it beside Firefox again to see it easier.)
    Some might ask, but the Download Manager is on the 2R and right side, why can't the History List be there too? Good question, and I can only reply saying:
    1) Personal choice.
    2) The Download Manager is NOT as busy as the History List and I find it easy to read.
    3) The History List is a lot busier and the font size looks to be smaller (might be the same, but it looks smaller to my eyes). I need it closer to me / Firefox.
    What I'm saying is this . . . The Download Manager and History List have <ul>''valid reasons to be visible to the user at the same time''.</ul> They also need to be independent of one another for (at least) size and location.
    Combining them together is OK for some people, but NOT for everyone. Please make it an option to combine (as in 26) and separate (25 and earlier).
    I'm not sure this is the best way to put it, but here goes. Allow users to collapse or expand these various lists by using multiple windows. One window is the collapse view and multiple independent windows is the expand view.
    I'll read and comment on the rest of your reply, soon. Thanks for allowing me hopefully to explain my point in a better manner. :-)

  • Loading one JComponet Window then closing and Loading a different Window

    Hello and how is everyone. I believe there is two ways I cam make this Java desktop application work, but I am not sure which is the best or doable. I have right now a Component tab window that pops up ask a user to select an option. Then they hit a next button. From here I want to close the JTabbed window the user was just in and open up another one that was based of off the selection. Is this doable
    The other idea I had was have one Component tab window and set visible and invisible Tabs based on user's choices. Is this possible too? Thanks

    You can add a "control-class" to your project. In basic it only opens your start dialog and is used as actionlistener for your "Next" buttons. This actionlistener loads (according to the action command you set for the buttons) your next window. To close the current window, the best is to make your dialog/window to a actionlistener which hide/close/dispose the "current"-window (don't forget to add it to your button ;) )
    To your other idea, you can change the ContentPane, or you use the Card Layout (I think it was) which holds the tabs you want.

  • I have WordMac 2011. Why isn't it letting me put it into a space? (Where you swipe your fingers and enter different windows)

    All my friends have WordMac 2011, just like me. Why can they put Word, Powerpoint, ect. into spaces (when you swipe your fingers and you enter different windows) and I can't?

    Thank you for your post. This forum is for Sony Consumer and Vaio products - for gaming questions and discussions there is a separate PlayStation forum:
    http://community.us.playstation.com

  • Window manager issues, transparency and focus

    I recently moved from Linux to Mac and miss a couple of things. If someone can point out how to do these things in OS X, I would appreciate it.
    1) When one window of an application receives focus, raise all windows of that application.
    I use a statistical package that has separate windows for output, commands and variables. If these windows get buried below other windows, I need to give focus to all windows separately. The optimal case would be that when I focus on one window, all of these windows are brought to front.
    2) Force all windows of an application to stay on the same virtual desktop (space).
    This is a problem that occurs particularly with Word 2008. The software has the main window and a tool box window. Sometimes the toolbox and the main window get separated to different spaces. It is very annoying to give focus to the application and to realize that the first thing to do is to hunt after the main window in another space.
    3) When moving a mouse cursor over a window, make all windows that cover it transparent.
    This is my favourite feature of compiz fusion. The idea is that you can peek behind windows without shifting the focus. Also, it enables you to read a web page on full screen while typing notes on a text editor that is above the web page. Anything similar possible in OS X?
    Mikko

    I recently moved from Linux to Mac and miss a couple of things. If someone can point out how to do these things in OS X, I would appreciate it.
    1) When one window of an application receives focus, raise all windows of that application.
    I use a statistical package that has separate windows for output, commands and variables. If these windows get buried below other windows, I need to give focus to all windows separately. The optimal case would be that when I focus on one window, all of these windows are brought to front.
    2) Force all windows of an application to stay on the same virtual desktop (space).
    This is a problem that occurs particularly with Word 2008. The software has the main window and a tool box window. Sometimes the toolbox and the main window get separated to different spaces. It is very annoying to give focus to the application and to realize that the first thing to do is to hunt after the main window in another space.
    3) When moving a mouse cursor over a window, make all windows that cover it transparent.
    This is my favourite feature of compiz fusion. The idea is that you can peek behind windows without shifting the focus. Also, it enables you to read a web page on full screen while typing notes on a text editor that is above the web page. Anything similar possible in OS X?
    Mikko

  • I recently built a new windows PC for the first time. My (new) wife and I both have itunes accounts, which we would like to use under different windows accounts on same PC. However, when I try to download my wife's songs it gives me an error.

    I am recently married to a wonderful woman and just built a windows PC for the first time. The idea was that we would (sorta) both be able to get a new computer out of it as we would each have a different account under windows. One of the first tasks was to migrate over our iTunes libraries. I did mine with no problem, but now that I'm try to do hers, I'm getting an error message saying "if you download past purchases with your Apple ID, you cannot auto-download or download purchases with a different Apple ID for 90 days."
    What's the best solution for this? I want my wife to be able to use the new computer under her windows account just like it's her new computer, to the extent possible. I don't want our two iTunes accounts to be fighting each other and causing problems because they are on the same physical machine. What to do? Surely this can't be the first time this has happened - where two people each want to have their own iTunes account on the same computer.
    This is the latest version of iTunes (12.0.1.26) running on Windows 8.1.

    Drrhythm2 wrote:
    What's the best solution for this? I
    Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer.

  • FLV Playback and Seekbar on different native windows in one Air application

    Hello Everyone.  I'm trying to make a simple video playback AIR application that utilizes the initial native window to house a transport control with a seekbar on it.  Once the application launches, it creates a second (new) window on my second screen and places a FLVPlayback instance on that new window.  Everything works just like it want it to except for one thing.  When the seekbar and FLVplayback instance are not located on the same window stage, the seekbar handle sticks to the mouse when trying to scrub through the video.
    I've added both the transport control and the FLVPlayback instance to the original native window as children and I have also added both of them to the new window as children and everything works just fine.  It's only when they are separated and located on different stages that the seekbar acts up.  When they are on the same stage, I can click on a point on the seekbar and the video jumps to that spot and continues to play and I can also scrub the seekbar, the video updates as I scrub, and when I release the mouse, the seekbar handle stays where I released the mouse.  When they on separate stages, the seekbar handle continues to follow the mouse movement without releasing it.  The video updates as the seekbar handle is moved due to it sticking to the mouse, but if I release the mouse, the handle is still moving with the mouse and the video is still being scrubbed.  Like I said, everything works great except for this and I have reached my limit with time spent on this issue.  Does anyone have any insight into this?
    Here's my code for the project.  This is my first AIR application, so I am coding it as I am learning, please be kind.
    import fl.video.*;
    import flash.display.*;
    import flash.desktop.*;
    import flash.events.*;
    import fl.video.MetadataEvent;
    import flash.geom.*;
    import flash.ui.Mouse;
    import flash.text.*;
    GLOBAL SETUP
    var flvControl:FLVPlayback;
    var MasterWindow = stage.nativeWindow;
    var screen1:Screen = Screen.screens[0];
    var screen2:Screen = Screen.screens[1];
    MASTER WINDOW SETUP
    this.loaderInfo.addEventListener(Event.COMPLETE,maximize);
    transControl.playPauseButt2.addEventListener(MouseEvent.CLICK, PlayButton);
    if (Screen.screens.length > 1){
              createVideoBKG();
              createVideoPlayer();
    GENERAL FUNCTIONS
    //Maximize the initial screen
    function maximize(e:Event) {
              MasterWindow.x = screen1.bounds.left
              MasterWindow.maximize();
              MasterWindow.stage.scaleMode = StageScaleMode.EXACT_FIT;
    //Hide Mouse Behind Video Window On Roll-Over
    function MouseRollOver(e:MouseEvent):void
              {          Mouse.hide()          }
    function MouseRollOut(e:MouseEvent):void
              {          Mouse.show()          }
    //Play-Pause Button Control
    function PlayButton(event:MouseEvent):void
                        if(transControl.playPauseButt2.currentFrame==1 ){
                                  transControl.playPauseButt2.gotoAndPlay(2);
                                  flvControl.play();
                        else {
                                  transControl.playPauseButt2.gotoAndPlay(1);
                                  flvControl.pause();
    function CloseWindow(e:MouseEvent):void
                        NativeApplication.nativeApplication.openedWindows[2].close();
    VIDEO BKG SETUP
    function createVideoBKG(e:Event = null):void{
              var newOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
              newOptions.type = NativeWindowType.LIGHTWEIGHT;
              newOptions.systemChrome = NativeWindowSystemChrome.NONE;
              newOptions.transparent = true;
              var videoBKG:NativeWindow = new NativeWindow(newOptions);
              if (Screen.screens.length > 1){
                        videoBKG.x = screen2.bounds.left;
              videoBKG.maximize();
              chromeSetup(videoBKG);
              videoBKG.activate();
    //Video BKG Chrome Setup
    function chromeSetup(currentWindow):void {
              var vidBKG = new video_bkg();
              vidBKG.name = "video_bkg2";
              vidBKG.addEventListener(MouseEvent.ROLL_OVER, MouseRollOver);
              vidBKG.addEventListener(MouseEvent.ROLL_OUT, MouseRollOut);
              currentWindow.stage.addChild(vidBKG);
    VIDEO Player SETUP
    function createVideoPlayer(e:Event = null):void{
              var newOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
              newOptions.type = NativeWindowType.LIGHTWEIGHT;
              newOptions.systemChrome = NativeWindowSystemChrome.NONE;
              newOptions.transparent = true;
              var videoPlayer:NativeWindow = new NativeWindow(newOptions);
              if (Screen.screens.length > 1){
                        videoPlayer.x = screen2.bounds.left;
                        videoPlayer.y = screen2.bounds.top;
                        videoPlayer.width = screen2.bounds.width;
                        videoPlayer.height = screen2.bounds.height;
                        videoPlayer.stage.scaleMode = StageScaleMode.NO_SCALE;
              videoPlayer.alwaysInFront = true;
              var DVR = new DVR_Player();
              DVR.name = "DVR";
              DVR.x = 0;
              DVR.y = 0;
              DVR.addEventListener(MouseEvent.ROLL_OVER, MouseRollOver);
              DVR.addEventListener(MouseEvent.ROLL_OUT, MouseRollOut);
              videoPlayer.stage.addChild(DVR);
                flvControl = DVR.display2;
              flvControl.width = 1280;
              flvControl.height = 720;
              flvControl.skin = null;
              flvControl.autoPlay=false;   
              flvControl.isLive=false;
              flvControl.fullScreenTakeOver = false;
              flvControl.align = VideoAlign.CENTER;
              flvControl.scaleMode = VideoScaleMode.NO_SCALE;
              flvControl.source = "olympics.f4v";
              flvControl.seekBar = transControl.seekbarContainer2.seeker;
              videoPlayer.activate();

    Does anyone have any ideas about this?

  • Why am I getting different results for the same resolution but different Windows boxes, Win 7 and XP

    I am running an .exe on two different windows boxes, one in Win 7 and one on XP.  I set both for resolution 1024 x 768.
    On Win 7 (laptop and old Dell desktop) I have a great looking app.  On the WIn XP boxes all the fonts to large.  THis doesn't make sense to me as all the PC's have the same resolution.
    Has anyone run across this before?
    Mark Ramsdale
    Solved!
    Go to Solution.

    The system fonts for XP and Vista/Win7 are different.
    See
    http://forums.ni.com/t5/LabVIEW/Elements-have-moved-when-opening-vi-with-f3-patch/m-p/1054817
    http://forums.ni.com/t5/LabVIEW/What-can-affect-the-size-of-a-front-panel-object-between/m-p/1058607...
    http://forums.ni.com/t5/LabVIEW/Font-size-on-Windows-7-with-LabVIEW-2009/m-p/1055114/highlight/true#...
    and several other similar threads.

  • After closing [window X] then opening new/different [window Y] from 'library' etc (Y) opens normally with undesired 'tab' of (X) Intentional? If so, adjustable and how??

    After closing [window X] then opening new/different [window Y] from 'library' etc> (Y) opens normally with undesired 'tab' of (X)> Intentional? If so, adjustable and how??

    If you click on the bottom library what is the file path that is  displayed?
    Try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
    or with Mt. Lion from the User/Library/Containers/com.apple.iPhoto/
    Data/Library/Caches/com.apple.iPhoto folder
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

  • Calling and returning to different Vi windows

    Quick question. I want to write a project that has a main window with various buttons and when a button it clicked on i want the vi to call a different window on screen while simultaneously closing the main window. Once i'm finished with the second window and i close it i want the main window to automatically pop back up. how do i go about doing this.
    I also would like the button i previously selected in the main window to now maybe change colour to show that it has been modified and i need some of the changes that were made in the secondary window available in the Main vi.
    Hope i explained this clearly

    You're in luck, I just did this the other day. Here's how I did it. ATP Main is the sub VI I'm calling. Put this into your main VI to close it while you pop up the sub VI. Set the sub VI to show the front panel when called (set its appearance to top level VI). The main VI will hide while the sub VI runs, then when you close the sub VI, the main VI will reappear.
    Edit: forgot to show the reference to the main VI (This VI) connected to those property nodes.
    Message Edited by Marc A on 02-16-2007 08:55 AM
    Message Edited by Marc A on 02-16-2007 08:57 AM
    Attachments:
    Prod_Main.png ‏3 KB

  • Lost my iPad and when I attempt to use the "LOST" feature in icloud, the NEXT and CANCEL buttons are not responding.  I have tried this on 3 different windows based computers.  Any ideas???

    When using icloud because I lost my ipad...when i attempt to use the "LOST" feature the "next" and "cancel" buttons do not respond.  I have attempted this on 3 different windows based computers on 3 different networks.  Any ideas? 

    Report to police along with serial number. Change all your passwords.
    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    How to recover a lost or stolen iPad
    http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
    How to Find a Stolen iPad
    http://www.ehow.com/how_7586429_stolen-ipad.html
    Apple Product Lost or Stolen
    http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
    Oops! iForgot My New iPad On the Plane; Now What?
    http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
    If you don't know your lost/stolen iPad's serial number, use the instructions below. The S/N is also on the iPad's box.
    How to Find Your iPad Serial Number
    http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
     Cheers, Tom

  • When I select "open a new tab" the tab opens in a different window than the one I'm using. This is release 11.0, and did not happen in 10.0

    When I select "open a new tab" the tab opens in a different window than the one I'm using. This is release 11.0, and did not happen in 10.0

    Hi,
    Please check if '''Open new windows in a new tab instead''' is enabled in '''Tools''' ('''Alt''' + '''T''') > '''Options''' > '''Tabs'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Tabs%20panel Options > Tabs]. If the problem persists, please also check if this happens in a [https://support.mozilla.org/en-US/kb/Managing-profiles new profile]. If the new profile is okay, you can later [https://support.mozilla.org/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile?s=profile&r=1&e=sph&as=s copy the needed personal data] from the old profile. Firefox stores your personal data and settings in [http://kb.mozillazine.org/Profile_folder another location (profile folder)] separate from its [http://kb.mozillazine.org/Installation_directory files/folder]. A new profile would have the default Firefox settings ('''Tools''' ('''Alt''' + '''T''') > [https://support.mozilla.org/en-US/kb/Options%20window '''Options'''], and [http://kb.mozillazine.org/About:config about:config] ), and usually would also be empty of any '''Extensions''' and themes ('''Appearance''') in Tools > Add-ons) and their settings. Also, a new profile would have no previous stored website data/settings etc., ('''Tools''' > [https://support.mozilla.org/en-US/kb/Clear%20Recent%20History '''Clear Recent History''']).
    [https://support.mozilla.org/en-US/kb/Profiles?s=profile&r=2&e=sph&as=s Profiles Howto]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder & Files]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]

  • Incoming emails cause Thunderbird to take focus and hogs network under Windows 8

    I'm in the process of converting our office from Outlook 2010 to Thunderbird and I haven't had any issues until now. I've successfully moved 6 computers running Windows 7, but I am having issues with a Windows 8 laptop now. This person also happens to have our largest amount of emails in local folders at around 20GB. There are no addons installed.
    The issue occurs when emails are downloaded. Thunderbird steals focus from whatever window you are currently working in. This behavior doesn't occur on any other computer we have using Thunderbird. Until the emails are done downloading, applications with heavy local network usage hang. Namely, Quickbooks will not respond to input, but Windows doesn't show it as not responding. It's as if it has lost network connection. There seems to be a spike in ping to the local server at the same time. However, I haven't been able to determine if this is due to software or wifi, but no other computer has ping spikes under a 5 Ghz connection so it leads me to believe it's a software issue.
    There are no other abnormal signs. CPU, HDD, and RAM usage does not change when emails are downloaded.
    If anyone has any idea why Thunderbird would steal focus when downloading emails or why Quickbooks would become unresponsive, I'd like to know.

    I moved the local directory for both the IMAP account and Local Folders out of the roaming folder. I gave it a few days, but Thunderbird is still causing issues when receiving messages.
    I find it bizarre that Thunderbird is taking window focus whenever it downloads a new email even when you are working in a child window of Thunderbird such as the message writer. I've gone through the settings and disabled all notifications for new emails, but that didn't do anything.
    I'm leaning towards installing Windows 7 on the machine, but that's an all day job and not really guaranteed to solve the issue.

  • IPad mini goes ballistic flashing different windows and site randomly

    iPad mini goes ballistic flashing different windows and site randomly

    Hi there,
    iPad mini retina 32 GB 4G version
    These are my tries, all of them(three times) failed with ghosting and other issues...
    Production detail check:
    http://www.chipmunk.nl/klantenservice/applemodel.html
    DLXLP.........
    Nice Name: iPad mini Retina (2nd Gen - Cellular)
    Machine Model: iPad4,5
    Family name: A1490
    Model Number: ME824
    Group1: iPadMini
    Group2: WiFi-Cellular
    Generation: 2
    CPU speed: 1.3GHz
    Screen size: 7.9 inch
    Screen resolution: 2046x1536 pixels
    Colour: Silver
    Production year: 2013
    Production week: 46 (November)
    Model introduced: 2013
    Capacity: 32GB
    Memory - flavour: xx
    Factory: DL (China - Foxconn)
    DLXLP.........
    Nice Name: iPad mini Retina (2nd Gen - Cellular)
    Machine Model: iPad4,5
    Family name: A1490
    Model Number: ME824
    Group1: iPadMini
    Group2: WiFi-Cellular
    Generation: 2
    CPU speed: 1.3GHz
    Screen size: 7.9 inch
    Screen resolution: 2046x1536 pixels
    Colour: Silver
    Production year: 2013
    Production week: 46 (November)
    Model introduced: 2013
    Capacity: 32GB
    Memory - flavour: xx
    Factory: DL (China - Foxconn)
    F4KLR.........
    Nice Name: iPad mini Retina (2nd Gen - Cellular)
    Machine Model: iPad4,5
    Family name: A1490
    Model Number: ME824
    Group1: iPadMini
    Group2: WiFi-Cellular
    Generation: 2
    CPU speed: 1.3GHz
    Screen size: 7.9 inch
    Screen resolution: 2046x1536 pixels
    Colour: Silver
    Production year: 2013
    Production week: 48 (December)
    Model introduced: 2013
    Capacity: 32GB
    Memory - flavour: xx
    Factory: F4 (China, Shanghai - Pegatron-Protek)

  • AP Divs (layers) move when I open my website on different window size.

    First of all, this is my first time trying to make a website.
    I'm doing an assignment for my class and i found it difficult for me to fix. I have spend 4-5 hours researching online but nothing work for me.
    Well,the problem is the AP Divs (layers) move when I open my website on different window size(iphone,ipad).
    The website only look right on 1366 x 786 resolution. Please take a look at my 2 pics below:
    And I don't know how to make the website to fit on the iphone and ipad so that I don't have to scroll down or sroll to the right to view the whole thing.
    Please someone help me!
    The code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width" />
    <title>Boston Green Community College</title>
    <style type="text/css">
    <!--
    body {
        background-color: #3f7244;
        padding: 0;
        color: #8d0101;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 100%;
        line-height: 1.4;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
        padding: 0;
        margin: 0;
    h1, h2, h3, h4, h5, h6, p {
        margin-top: 0;     /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
        padding-right: 15px;
        padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
        border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
        color: #003702;
        text-decoration: NONE; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
        color: #028b66;
        text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
        text-decoration: none;
    /* ~~ this fixed width container surrounds the other divs ~~ */
    .container {
        width: 960px;
        background-color: #FFF;
        margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
        background-color: #ADB96E;
    /* ~~ This is the layout information. ~~
    1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    .content {
        padding: 0px 0;
    /* ~~ The footer ~~ */
    .footer {
        padding: 10px 0;
        background-color: #CCC49F;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    #apDiv1 {
        position: absolute;
        width: 251px;
        height: 101px;
        z-index: 1;
        left: 871px;
        top: 10px;
    #apDiv2 {
        position: absolute;
        width: 228px;
        height: 60px;
        z-index: 2;
        left: 9px;
        top: 1397px;
    #apDiv3 {
        position: absolute;
        width: 273px;
        height: 198px;
        z-index: 2;
        left: 851px;
        top: 383px;
    #apDiv4 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 3;
        left: 242px;
        top: 120px;
    #apDiv5 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 4;
        left: 902px;
        top: 178px;
    #apDiv6 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 4;
        left: 857px;
        top: 171px;
    #apDiv7 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 4;
        left: 455px;
        top: 547px;
    #apDiv8 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 4;
        left: 853px;
        top: 113px;
    #apDiv9 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 5;
        left: 853px;
        top: 246px;
    #apDiv10 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 6;
        left: 513px;
        top: 121px;
    #apDiv11 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 6;
        left: 511px;
        top: 123px;
    -->
    </style></head>
    <body>
    <div class="container">
      <div class="header"><a href="#"><img src="Pictures/34d-1.png" alt="Insert Logo Here" name="Insert_logo" width="619" height="90" id="Insert_logo" style="background-color: #C6D580; display:block;" />
        <div id="apDiv11"><font color="#f4f1f1">
    <script type="text/javascript">
    var d=new Date()
    var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
    var monthname=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
    document.write(weekday[d.getDay()] + " ")
    document.write(d.getDate() + ". ")
    document.write(monthname[d.getMonth()] + " ")
    document.write(d.getFullYear())
    </script></font>
    </div>
        <div id="apDiv1">
      <!-- Use of this code assumes agreement with the Google Custom Search Terms of Service. -->
      <!-- The terms of service are available at http://www.google.com/cse/docs/tos.html -->
      <form name="cse" id="searchbox_demo" action="http://www.google.com/cse">
      <input type="hidden" name="cref" value="" />
      <input type="hidden" name="ie" value="utf-8" />
      <input type="hidden" name="hl" value="" />
      <input name="q" type="text" size="40" />
      <input type="submit" name="sa" value="Search" />
    </form>
    <script type="text/javascript" src="http://www.google.com/cse/tools/onthefly?form=searchbox_demo&lang="></script>
                                  </div>
                                    </div>
      <div class="content">
        <center><img src="Pictures/DFDF11.png" width="959" height="556" longdesc="Pictures/junior-2-960x.jpg" /></h1></center>
      <!-- end .content --></div>
      <div class="footer">
         <img src="Pictures/RRR1.png" width="202" height="70" />
         <div id="apDiv3">
           <p> </p>
           <p><a href="Job.html">Jobs</a>         </p>
           <p><a href="Art Gallery.html">Art Gallery</a>         </p>
           <p><a href="Contact us.html">Contact Us </a></p>
        </div>
        <div id="apDiv4"><center>
    <P>About</P>
    <a href="visiting.html">visiting</a> | <a href="Map.html">maps </a>| <P><a href="About.html">about BGCC</a></P>
    <P>Academic</P>
    <P><a href="Courses.html">schools+courses</a></P>
    <P>Admissions  </P>
    <P><a href="cost & aid basics.html">cost & aid basics </a>| <a href="Apply now.html">join BGCC</a>
    <P>Studen Life</P>
    <P><a href="Athletics.html">Athletics</a></P>
    <P>Greenforce Education</P>
    <P><a href="Career.html">career center</a></P>
    </center> </div>
         <p><font size="2" color="black">BGCC | 99 GreenField | Boston, MA 02199 |617-0101-1000| TTY 617-0202-9944|</font></p>
        <div id="apDiv9"><a href="Donate.html" target="_blank"><a href="Donate.html"><img src="Pictures/three-green-logo.jpg" width="218" height="99" longdesc="Pictures/three-green-logo.jpg" /></div>
        <div id="apDiv8"><a href="Apply now.html" target="_blank"><a href="Apply now.html">
    <img border="0" src="Pictures/cxgvxdvxgd.jpg" alt="Apply Now" width="218" height="99"></a></div>
      <!-- end .footer --></div>
      <!-- end .container --></div>
    </body>
    </html>

    That's what APDivs do.  This is the single most common problem new people have with web page layouts.  DO NOT use positioning.  You don't need it.  Start over.  Learn to use CSS floats, margins and padding to align elements. 
    Below is a basic HTML5 Layout.  View source in browser to see the code.
    http://www.alt-web.com/sandbox/HTML5-BasicLayout.html
    Nancy O.

Maybe you are looking for

  • HOW TO SEND MULTIPLE MAILS USING EXTERNAL COMMUNICATION IN ACTIONS

    Hi all, we are working on a sales scenario in crm 5.0 ,currently we are able to send a mail to the particular BP only,what we want is mail should go to the multiple partners like contact person,prospect and user.can anyone help on this. Thanks in adv

  • Arch boot stops on systemd-fsck

    Today I upgraded my packages then I replaced catalyst package with catalyst-total after reboot the booting process stops on this line Systemd-fsck[362]: /dev/sda5: clean etc The sda5 is my home drive the boot stops after this line I pressed alt+f2 to

  • Collective ATP check

    Hi Experts, I have some scenarios in which requires some input. 1. ATP check run by COMAC (with out reset indicator ticked) [ This is because once the reset indicator is ticked COMAC re arranges the stock commitment  based on the requirement date of

  • Oracle PJC usage

    I have PJC(Pluggable Java Component) to display a progress bar on the screen as a query is being executed. I don't know where exactly i need to put the PJC. If I put it in the pre-query, the progress bar will show even before the query is executed if

  • RedZone channel deactivate​d - FCC violation?

    I have the FIOS Ultimate HD plan which includes the NFL RedZone channel.  I have been receiving the RedZone channel without problem since November, 2011. Sometime between 8pm on Sept 22, 2013 and 1pm on Sept 29, 2013, Verizon deactivated the RedZone