Flash always on top in Safari 5.0.5

Hi,
I have some problems with flash in Safari 5.0.5 with Flash Player 10.2. My flash banners is always on top and covers menus and popups. wmode and z-index seems to be correct. It works as expected in the latest nightly build of webkit and Google Chrome, but not Safari.
Here is the webpage, scroll down and you will see the flash covering the top menu: http://www.booli.se/bostad/villa/hisingen/plockerotegatan+16/786830
I found this question on the same topic (https://discussions.apple.com/thread/2458855?start=0&tstart=0) where the problem was said to be solved with Safari 5.0.1. A test site was set up in that thread by user suastegui which can be found here: http://www.guru.ag/fl2/iframeTest/index.html. On this page the flash is still covering the other elements for me.
Any ideas?

BBC iPlayer relies on Adobe Air. AIR 1.5.3 is the last version of AIR that supports Mac PowerPC and Windows 2000. AIR applications that require AIR 2 or later cannot be installed or used on a Macintosh PowerPC or a computer running the Windows 2000 operating system.
http://kb2.adobe.com/cps/853/cpsid_85304.html
I am in the same boat. I cannot watch flash videos on the BBC website or on BBC iPlayer, although all other flash videos (YouTube for example) are fine.
For reasons that passeth all understanding, they work with the PPC version of Firefox, called TenFourFoxG5.app, once you have anabled plug-ins, as it does not natively support Flash.
You can download TenFourFoxG5 from here:
http://www.floodgap.com/software/tenfourfox/
Now for the intersting bit: TenFourFox, like Firefox, does not support most plug-ins. Unless you are prone to headaches (in which case don't) you can read about that here:
http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
But there is a workaround!
Open TenFourFox and type in the address bar: about:config (no spaces) and click return. This gives you a warning that it might harm the application. Ignore that and click on 'I'll be careful, I promise' and you get the config file that you can edit - with great care.
Look/search (scroll down) for: tenfourfox.plugins.enabled
Set it to true. (Double click it to toggle it)
Now close TenFourFox, open it again, and Flash will now work, as it now uses the plug-ins that Safari has stored.
I am using Flash 10.1.102.64 in TenFourFox and it works just fine.

Similar Messages

  • X6 - flashing envelope at top right of screen?

    Have a new X6 and I have a constantly flashing envelope on top right hand side of screen. Think it might be a notification that the SIM is full. If that is correct how do I deal with it please? If I am not correct what does this symbol mean please?
    Solved!
    Go to Solution.

    Try going to messaging-options-settings-other-select memory in use to E mass memory or F memory card ! Should stop your flashing envelope for good
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Why the office windows always on top of others - how to change it back?!!

    I'm using mac os x and office 2011.
    Since maybe couple weeks ago (maybe after one of the office upgrades?), when I have multiple office windows opened (e.g., multiple word documents, excel, powerpoint), these windows always appear on top of others (e.g., safari, calendar) first!
    Here is an example: now i'm using safari, so it's my active window.  If I want to go to calendar (which is already opened), when I click the calendar window, all the office windows (which are opened as well) will jump out first!!  Then I have to click the calendar again to make it become on top of the office windows.  That means, whenever I want to switch to other windows while office windows are opened, I have to click all the other windows twice, because the first time I click on any other type of window, the office windows will jump out no matter what.
    This is very annoying after a while.  I'm not sure if I explained this clear enough.  But how can I change the settings so the office windows can just not always on top of other windows??!!  

    Yes, I can view/hide the OSK with no problem but the keyboard, itself, changed somehow.

  • HTA Always on Top

    Hi all,
    I've got a lovely HTA that is intended to be displayed on all our users screens at Windows startup, as defined by a GPO.  While everything is working fine, I'd really like to have it as an "always on top" window or at least grab focus/flash whenever somebody clicks away.
    Every forum thread I've found via Google says this is not possible, but other people have found 'hacks' to get this to work.  Various people mention either modal/modeless dialogues or using an onblur function.  Unfortunately, as a self taught 'coder', my VBS/HTA powers are fairly weak and I don't really know how to put this into practice.
    Would anybody be able to give me some guidance on how I could possibly launch the HTA and retain focus or keep it above other windows somehow?
    Cheers
    Andy

    You need a Third-party application
    http://www.nirsoft.net/utils/nircmd.html 32 or 64 bit version
    put nircmdc.exe in your path or in the folder with hta file,
    now use this sample .hta
    <!========================================================================
    <!
    <! NAME: RusiaToday.hta
    <!
    <! REVISION:
    <!
    <! AUTHOR: Emprear / gc.gianello[dot]gmail.com
    <!
    <! DATE  : 15/02/2013 09:03:38
    <!
    <! COMMENT:
    <!     Rusia Today en Español
    <!     Canal Internacional de Noticias
    <!
    <!======================================================================-->
    <!
    <html>
    <head>
    <title>RusiaToday</title>
    <script type="text/javascript">
    window.resizeTo(470,300);
    var intHorizontal = screen.width;
    var intVertical =screen.height;
    var left_pos = (intHorizontal - 470) / 2;
    var top_pos = (intVertical - 300) / 2;
    window.moveTo(left_pos,top_pos);
    </script>
    <HTA:APPLICATION
    ID="RusiaToday"
    APPLICATIONNAME="RusiaToday"
    BORDER="Dialog"
    BORDERSTYLE="Normal"
    CAPTION="yes"
    CONTEXTMENU="no"
    INNERBORDER="no"
    MAXIMIZEBUTTON="no"
    MINIMIZEBUTTON="no"
    ICON = "http://actualidad.rt.com/favicon.ico"
    SCROLL="no"
    SELECTION="no"
    SHOWINTASKBAR="yes"
    SINGLEINSTANCE="yes"
    SYSMENU="yes"
    WINDOWSTATE="Normal"
    >
    <script type="text/javascript">
    function ontop(){
    if ((document.getElementById('wtop').innerHTML) == 'notop') {
    document.getElementById('wtop').innerHTML = 'top';
    new ActiveXObject("WScript.Shell").Run('%comspec% /C nircmdc win settopmost title RusiaToday 0',0,true);
    }else{
    document.getElementById('wtop').innerHTML = 'notop';
    new ActiveXObject("WScript.Shell").Run('%comspec% /C nircmdc win settopmost title RusiaToday 1',0,true);
    </script>
    <style type="text/css">
    html, body{
    padding: 0;
    border: none;
    margin: 0;
    overflow: hidden;
    object#rto{
    margin: 0;
    border: none: padding: 0;
    left: 0;
    top: 0
    z-index: 1;
    button#wtop{
    top: 1%;
    right: 1%;
    z-index: 999;
    width:38px;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 4px;
    /*]]>*/
    </style>
    </head>
    <body style="background:#1E1D11">
    <object type="application/x-shockwave-flash" data="http://actualidad.rt.com/static/jwplayer/player.swf" id="rto" height='274' width='470'>
    <param name="movie" value="http://actualidad.rt.com/static/jwplayer/player.swf" />
    <param name="loop" value="false" />
    <param name="menu" value="false" />
    <param name="play" value="true" />
    <param name="wmode" value="transparent" />
    <param name='allowfullscreen' value='true'>
    <param name='allowscriptaccess' value='always'>
    <param name="flashvars" value="&autostart=true&backcolor=0x000000&bandwidth=1016&controlbar=over&file=RT_Spanish_2&frontcolor=0xffffff&image=http%3A%2F%2Factualidad.rt.com%2Fstatic%2Fvideo-player-bg.png&lightcolor=0xffffff&mute=false&plugins=viral-2d&screencolor=0x404040&skin=http%3A%2F%2Factualidad.rt.com%2Fstatic%2Fjwplayer%2Fplayer_skin.zip&streamer=rtmp%3A%2F%2Frt.fms.visionip.tv%2Flive%3Fautostart%3Dtrue&viral.onpause=false"
    />
    <param name="bgcolor" value="#1E1D11" />
    </object>
    <button onclick="ontop();" id="wtop">top</button>
    </body>
    </html>
    Look at the ontop() function and how alternate top and notop status using nircmdc command line utilitiy
    Thats all
    Regards

  • Images flashing white in flickr with safari 5.1.7

    I updated to Safari 5.1.7 a couple of days ago - and everything worked fine, as it always has done in Safari for me, until today.  Now all images on Flickr flash white for a second after loading. Nothing has changed on the system in the meantime. Any one else experiencing the same thing?  And anyone found a solution?

    I think i've found the reason.
    It looks like AdBlock - one of the extensions i've got installed - needs to be updated. Turning it off got rid of the flashing.  (Can't see why Safari worked OK for a couple of days, though.)
    Any ideas or feedback?

  • Hi, Joann JustAnswer has asked me to answer your question -- "I have iPad 2 and I don't see the little box at top in safari to let me see the open pages I have. In iPad 1 it was next to the open book at the top

    Hi, Joann
    JustAnswer has asked me to answer your question -- "I have iPad 2 and I don't see the little box at top in safari with the number on it that I can tap to get to my open pages
    On iPad 1 it was next to the little open book

    Not with iOS 5 no. A number of other people have made the same comment about it, so you could try leaving feedback like some of them will have done, and maybe in a future iOS update we'll get the choice : http://www.apple.com/feedback/ipad.html

  • Dreamweaver Panels - Only one panel visible at a time, others get obscured even with Always On Top.

    I have a problem with my Dreamweaver MX, and it is that I can only see one panel at a time, any other open panels get obscured. For example, with the work space maximized, and having the properties and behaviors panels open, I can only see one of the panels at the same time. If I click on any area of the work space each open panel will display and with the next click the other will display. If I make the work space smaller then the whole area of my screen, and move any open panels outside of the Dreamweaver work space, only then they will stay visible. I know this is not normal behavior, because I used to be able to see all the open panels simultaneously, with the work space maximized to use all the screen area. I went to Preferences> Panels> Always On Top, and all the checkmarks are still set, so as to keep all panels on top at all times, but this does no longer be the case. Can someone tell me what happened here, and how I can get back to being able to see all the open panels? BTW, I tried installing older version of Dreamweaver 4, and the same thing happens to both installed versions. This is extremely annoying!
    Thanks. -Al.

    Since I upgraded to Firefox 19 from 18.0.2, on my Windows XP (SP3) laptop, I, too, can no longer open a new window. File-->New Window does nothing; also can no longer tear off a tab and open it in a new window (it stays where it is). Also, if I right-click on a tab and select Move to New Window, nothing happens. All of these worked fine in FF 18.0.2. All of these work fine with FF 19 on Windows 7. Only an issue on my XP laptop.
    After trying to open a new window, and not seeing the new window come up (and yes, I waited a long time), I decided to close my current window, which had multiple tabs open. Instead of just closing, it pops up the message reminding me that I'm about to close all those tabs. If I say close, and then go into the Task Manager, the Firefox application has disappeared (as expected), but the firefox (and plug-in container) processes are still running. So I have to manually kill the Firefox process to get it to quit. it's as if it thinks there is another Window open (the one I tried to open but never appeared). This happens every single time! I've restarted my laptop, and that does not resolve the problem.
    Is there a way to downgrade back to v 18.0.2 until this is fixed?

  • Flash player not working in Safari 3.1.1

    I just installed the Safari 3.1.1 (5525.18) update and I no longer have a working Flash player.
    I tried reinstalling the latest Adobe Flash player (9 UB), to no avail. I even tried rebooting (out of habit from my Windows days) with unsurprisingly little luck.
    Flash used to work in Safari before 3.1.1. It still works in Firefox 2.0.0.14.
    Any ideas? Is this a permissions issue?

    Welcome to Apple Discussions
    Thanks.
    No problems with Flash 9.0.124 here.
    Do you have Case-sensitive Journaled Mac OS Extended filesystem? I do.
    Because my friend's MB has Case-insensitive Journaled Mac OS Extended filesystem and Flash is working fine with 3.1.1 on 10.5.2. Also Adobe Creative suite CS2 programs work fine in her MB, but don't even start up on my MBP.
    Just a thought.
    Possibly. Did you repair permissions? If not, do so as any Flash install requires this step.
    I have now. First I ran repair permissions with Disk utility, got some promising repair stuff like
    18.4.2008 14.52.55 Disk Utility[282] User differs on "Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/Flash Player.rsrc", should be 0, user is 501.
    Repair finished fine and Flash still didn't work. So I did un unistall with the Adobe Flash uninstall tool, a reboot (again, out of habit), a reinstall and a further repair permissions, again with a couple of User differs messages.
    Yet, Flash still does not work.
    Any further ideas? Or tips on how I could try debugging this? Console gives me squat.

  • Flash Player keeps failing in safari

    I am using mac OS X Yosemite.
    For some unknown reason flash keeps failing in safari, but works in chrome. I can't seem to resolve this issue, This is what I tried so far from answers I received in the apple support forums:
    If you can't install or update Flash, follow these instructions.
    If you have installed the latest version of Flash, please take each of the following steps that you haven't already tried. After each step, relaunch Safari and test. For a "missing plug-in" error, start with Step 8. Back up all data before making any changes.
    Step 1
    You might have to log out or restart the computer before a Flash update takes effect.
    Step 2
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data...
    and confirm. Close the window. Then select
               ▹ System Preferences… ▹ Flash Player ▹ Advanced ▹ Delete All...
    In the sheet that opens, check the box marked
              Delete All Site Data and Settings
    then click Delete Data. Close the preference pane.
    Step 3
    If you're only having trouble with YouTube videos, log in to YouTube and load this page. You may see a link with the text "Leave the HTML5 Trial." If so, click that link.
    Step 4
    a. If you get a warning of a "blocked" or "outdated" plug-in, then select the Security tab in the Safari preferences window. In the list of plugins on the left, there should be one—and only one—entry for "Adobe Flash Player," showing the same version number that you installed. Select that entry. On the right there will be a list of websites for which you have specifically allowed Flash, if any. It's normal for the list to be empty. Below that is a menu labeled
              When visiting other websites
    From that menu, select either Allow or Ask.
    b. If you still get the alerts, then go back to the Flash Player preference pane and select the Advanced tab. Click Check Now. Quit and relaunch the browser.
    c. If the alerts still persist, triple-click anywhere in the line below on this page to select it:
    /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources
    Right-click or control-click the highlighted text and select
              Services ▹ Open
    from the contextual menu.* A folder should open. Inside it, there should be a file named "XProtect.meta.plist". If that file is missing and you know why it's missing, restore it from a backup or copy it from another Mac running the same version of OS X. Otherwise, reinstall OS X.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    Step 5
    In the Safari preferences window, select the Advanced tab and uncheck the box marked
              Stop plug-ins to save power
    Step 6
    Open this folder as in Step 4:
    /Library/Internet Plug-Ins
    Delete the following item, or anything with a similar name, if present:
              Flash Player (failing).plugin
    You may be prompted for your login password.
    Step 7
    Re-download and reinstall Flash. Download it from the domain "get.adobe.com". Don't click a link from any other website, including this one, because you can't trust links. They may be an attempt to trick you into installing malware masquerading as Flash. Type the address into the browser window. Never download a Flash update from anywhere else.
    Step 8
    If you get a "missing plug-in" error, select
              Safari ▹ Preferences... ▹ Security
    from the Safari menu bar and check the box marked 
              Allow (or Enable) plug-ins
    Then click the button marked
              Manage Website Settings...
    if present and make sure that the website is not blocked for Flash.
    Step 9
    Select
              Safari ▹ Preferences... ▹ Extensions
    from the Safari menu bar. If any extensions are installed, disable them.
    We have also run diagnostics on my mac but could not resolve this and eventually I was told the only thing left to do is seek support from adobe.
    Please help!

    alright, also, I saw that in those instructions it tells me to delete these:
    <home directory>/Library/Preferences/Macromedia/Flash\ Player
    <home directory>/Library/Caches/Adobe/Flash\ Player
    now I can't find any of that stuff but I did find two files called com.macromedia.Flash Player.plugin.sb
    in the library sub folders. should I delete them?

  • "Show Desktop" bug forces any program windows to be stuck "Always-on-top"

    What I found under Windows 7, when you use the "Show Desktop" feature (I prefer the ⊞ Win + D shortcut) and then bring all windows back by using it again, some windows behave as if they're glued to the front of the z-order. What this means is, say, I have windows
    A B and C open, with focus on A, hit ⊞ Win +D twice, and now it may happen that if I then want to switch to B or C, either by Alt+Tab or by selecting them on the taskbar, the taskbar shows the highlight, but A stays visible (and usable, it's not just a rendering
    issue) in the foreground.
    Imagine the following situations, all three windows cascading and overlapping:
    A (focus)
    B
    C
    -> ⊞ Win + D
    Desktop (focus)
    -> ⊞ Win + D
    A (focus)
    B
    C
    -> click C on taskbar
    A
    C (focus)
    B
    -> click B on taskbar
    A
    B (focus)
    C
    And so on. Focus means actual input focus, i.e. in second situation, any keyboard typing is sent to window B while window A is in the foreground.
    It does not matter what kind of application; in my current case an instance of Outlook and an instance of Explorer is stuck, while a second instance of Explorer and an instance of Firefox behave normally. This should show that this problem can occur even between
    multiple instances of the same application, and that there are no fancy applications involved that like to pretend they are the most important program and internally force "always on top".
    Showing and unshowing the desktop again doesn't help; in the worst case another window might end up with the "glued to the top of the z-order" too. Between those, I can easily switch, but in order to get a window which still behaves normally on top, I have
    to manually minimize the offending windows.
    The only cure seems to close the offending windows so far, I've not found anything else that helps.
    Could it be that Windows 7 has a bug that can force an ALWAYS_ON_TOP flag
    onto some windows when restoring from "Show Desktop", or am I doing something wrong?
    More information from another user:
    I use win+d. Issue easy to replicate, Win7-64bit-Ultimate.
    The affected windows (any program) seem to be placed into a separate "Z" group. You can place multiple/many windows into this always-on-top state, those in the affected state will function normally in relation to each other with the exception that: - The group
    as a whole is always-on-top of any non-affected window - The whole group is on top of the taskbar. - The whole group does not respond to (context on taskbar) "cascade windows" or similar commands.
    The fact that the affected windows are on top of the taskbar and otherwise function as "special windows" shows that windows 7 has a hidden "feature" of always-on-top that gets applied with Win+D. The feature appears to place windows in a super window state
    that is on top of the taskbar. The normal group remaining behind the taskbar. (When you click the start menu or context menu of the taskbar, the start menu/taskbar comes to the foreground of the always-on-top group, however this does not revert the affected
    windows, only a temporary takeover until you switch to something other than the start menu/taskbar)
    This is key to finding an answer. How do we get windows to unassign the special status or not do the assignment in the first place?

    It appeared to have cleared by closing all windows and restarting. Initially I could not reproduce the error, then after opening all my working windows, I did indeed reproduce it on any window.
    I almost think it could be initialized with something to do with multiple windows of Chrome, and then the show desktop problem will crop up once one window has it. This was because: After messing around some more with a chrome session saver (session buddy)
    and restoring sessions and getting the super state, I restored and closed the window I was in and now I am again at a place where I can not reproduce the error, even in my "work environment" with some 35 chrome tabs in two windows, plus other programs, file
    locations, remote desktops and a second chrome profile with another dozen tabs.
    So, back to square one with finding the actual instigator of the super state phenomenon.
    Once you actually have the super sate issue, the following will reproduce:
    Ok, I am doing this as I type it:
    Open chrome (to view this website), then Notepad, then Calculator, (could be any windows, but for the purpose of demonstration, follow along with me)
    The windows should function normally, overlap your windows so that you can see the edge of all windows and the Z-order is (from front to back):the browser on top, then the calculator, then Notepad (you should be able to see part of the background windows).
    Now, with the browser on top, press win+d, then win+d again.
    Click on Calculator, then your browser, your browser is now stuck in the foreground. Clicking on notepad will bring the focus to notepad, and it will be in front of the calculator, yet it will stay behind the browser, as your browser is in "super state". (many
    arrangements of switching focus after returning from win+d will create the problem, with the exeption of clicking the desktop, I also noticed that I could not get calculator into super state unless it overlapped my chrome browser).
    Again, this does not seem to work until at least one of your windows is affected. We do not know how to get the initial window, only subsequent ones.
    I will post back if I find anything else.
    Let me know if there is anything that develops.

  • How to keep toolbar in Photoshop CS5 always on top

    I have just upgraded to CS5 from CS3. In CS5, when I move an open document around on screen it covers over the toolbar, but only if the toolbar is docked to the side of window.  It will also cover the property bar and menu bar at the top of the interface.  The palettes on the r/h side always stay on top if not docked to the edge of the window, but if docked they too get covered over. In CS3 all the interface items stayed on top.  Is there any way to make sure they is always on top when docked (I prefer not to have them free floating)?
    I'm using Vista Ultimate.  My monitor is a Dell 24" Ultrasharp running at native 1920x1200 res.

    Thanks for the suggestion.  Turning OpenGL off makes no difference, and with it turned on I have also tried the three different quality settings, none of which made any difference either.
    I've also just tried with CS5 in a window, rather than fully maximised, and like that I can actually drag an open image right outside the Photoshop interface!
    Dave

  • HT5271 Adobe flash 11.2 install but Safari 5.1.7 not loading pages

    I'm very frustrated after spending an hour looking into why, once installing updates, Sarfari no longer loads pages.  I have the most current version of Adobe Flash, so that should not be an issue. 

    Hi..
    Make sure there is not an earlier version of Flash on the drive. Safari 5.1.7 disables prior versions, but make sure and try uninstalling then reinstalling new >  Troubleshoot Flash Player | Mac OS
    Quit then relaunch Safari. From the Safari menu bar click Safari > Empty Cache
    Then try a Flash based video.

  • HT5364 Adobe flash player not working on Safari after being installed, System OS X 10.9.2 has been just updated to Maverick

    Adobe flash player not working on Safari after being installed, System OS X 10.9.2 has been just updated to Maverick

        Enable Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.
        Click "Manage Website Settings"
        Highlight "Adobe Flash Player", "Allow" and then "Done".

  • JInternalframe always on top instead of overlapping

    Hello guys,
    I have some JInternalFrames but one window paints its content above all, even overlapping frames. The code looks like this:
    package visnav.bachelor.gallery;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import java.awt.Insets;
    import java.awt.ScrollPane;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Vector;
    import java.lang.Math;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.UIManager;
    import javax.swing.SwingUtilities;
    import javax.swing.border.EtchedBorder;
    import visnav.bachelor.DataLoader;
    import visnav.bachelor.preview.PreviewMap_Ext;
    import visnav.common.Config;
    import visnav.common.DBListener;
    import visnav.common.Options;
    import visnav.common.Photo;
    * The class Gallery adds a window in which all selected Photos (=their
    * thumbnails) can be seen.
    * @author Florian Kratschmann
    public class Gallery extends ScrollPane implements DBListener {
         private static Vector<Photo> selectedPhotos;
         private static Gallery instance;
         public JPanel content = new JPanel(new ModifiedFlowLayout(
                   ModifiedFlowLayout.LEFT, 6, 6));
         public String filename = "";
          * Constructor which creates a new Gallery object.
         public Gallery() {
              selectedPhotos = DataLoader.getInstance().getSelectedPhotos();
              this.updateGUI(selectedPhotos);
         public static Gallery getInstance() {
              if (instance == null)
                   instance = new Gallery();
              return instance;
         public void collectionChanged() {
              selectedPhotos = DataLoader.getInstance().getSelectedPhotos();
              this.updateGUI(selectedPhotos);
         public void selectionChanged() {
              selectedPhotos = DataLoader.getInstance().getSelectedPhotos();
              this.updateGUI(selectedPhotos);
         public void valueChanged() {
              selectedPhotos = DataLoader.getInstance().getSelectedPhotos();
              this.updateGUI(selectedPhotos);
         public void updateGUI(Vector<Photo> data) {
              content.removeAll();
              removeAll();
              for (int i = 0; selectedPhotos.size() > i; i++) {
                   filename = Gallery_Ext.getFileName(selectedPhotos.get(i)
                             .getFileLocation());
                   final int j = i;
                   ImageIcon icon = (new ImageIcon(selectedPhotos.get(i)
                             .getThumbLocation()));
                   if (filename.length() > 15) {
                        filename = filename.substring(0, 15) + "...";
                   JButton thumb = new JButton("<html><p align=\"center\">" + filename
                             + "<br>[" + (i + 1) + "/" + selectedPhotos.size()
                             + "]<br></p></html>", icon);
                   thumb.setContentAreaFilled(false);
                   thumb.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                             Gallery_Ext.openMIME(selectedPhotos.get(j)
                                       .getFileLocation());
                   thumb.setVerticalTextPosition(JLabel.BOTTOM);
                   thumb.setHorizontalTextPosition(JLabel.CENTER);
                   thumb.setBorder(new EtchedBorder());
                   thumb.setPreferredSize(new Dimension(140, 140));
                   content.add(thumb);
              add(content);
          * A modified version of FlowLayout that allows containers using this Layout
          * to behave in a reasonable manner when placed inside a JScrollPane
          * Workaround made to fit size of screen on first updateGUI firing
          * @author Babu Kalakrishnan
          * @author Florian Kratschmann
         public class ModifiedFlowLayout extends FlowLayout {
              public ModifiedFlowLayout() {
                   super();
              public ModifiedFlowLayout(int align) {
                   super(align);
              public ModifiedFlowLayout(int align, int hgap, int vgap) {
                   super(align, hgap, vgap);
              public Dimension minimumLayoutSize(Container target) {
                   return computeSize(target, false);
              public Dimension preferredLayoutSize(Container target) {
                   return computeSize(target, true);
              private Dimension computeSize(Container target, boolean minimum) {
                   synchronized (target.getTreeLock()) {
                        int hgap = getHgap();
                        int vgap = getVgap();
                        int w = target.getWidth();
                        if (w == 0) {
                             Dimension size = new Dimension(0, 0);
                             int noOfTn = selectedPhotos.size();
                             try {
                                  size = (Config.getDimension("InternalFrameSize4",
                                            new Dimension(0, 0)));
                                                 if (size.width==0){size.setSize(300, 200);}
                                  int noOfRows = (int) Math.ceil(size.width / 140);
                                  int heightNeeded = (int) ((noOfTn*1.25 / noOfRows) * 140);
                                  size.setSize(140, heightNeeded);
                             } catch (Exception ex) {
                                  ex.printStackTrace();
                                  int peter = 2;
                                  int heightNeeded = ((noOfTn / peter) * 280)+140;
                                  size.setSize(140, heightNeeded + 100);                    
                             return size;
                        } else {
                             // w = Integer.MAX_VALUE;
                             Insets insets = target.getInsets();
                             if (insets == null)
                                  insets = new Insets(0, 0, 0, 0);
                             int reqdWidth = 0;
                             int maxwidth = w - (insets.left + insets.right + hgap * 2);
                             int n = target.getComponentCount();
                             int x = 0;
                             int y = insets.top;
                             int rowHeight = 0;
                             for (int i = 0; i < n; i++) {
                                  Component c = target.getComponent(i);
                                  if (c.isVisible()) {
                                       Dimension d = minimum ? c.getMinimumSize() : c
                                                 .getPreferredSize();
                                       if ((x == 0) || ((x + d.width) <= maxwidth)) {
                                            if (x > 0) {
                                                 x += hgap;
                                            x += d.width;
                                            rowHeight = Math.max(rowHeight, d.height);
                                       } else {
                                            x = d.width;
                                            y += vgap + rowHeight;
                                            rowHeight = d.height;
                                       reqdWidth = Math.max(reqdWidth, x);
                             y += rowHeight;
                             return new Dimension(
                                       reqdWidth + insets.left + insets.right, (int) (y*1.2));
                             // return new Dimension(120, 300);
    }Any idea why it's content is always on top?
    Cheers,
    Flo

    As the title I can have inside a JDesktopPane some JinternalFrame "always on top" compared to one that makes the background?You might get better help by explaining what you want to achieve, rather than how you want to achieve it.
    You can do custom painting in a JDesktopPane, you know.
    db

  • Adobe flash player is not working safari

    adobe flash player is not working safari

    If you can't install or update Flash, follow these instructions.
    If you have installed the latest version of Flash, please take each of the following steps that you haven't already tried. After each step, relaunch Safari and test. For a "missing plug-in" error, start with Step 8. Back up all data before making any changes.
    Step 1
    You might have to log out or restart the computer before a Flash update takes effect.
    Step 2
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data...
    and confirm. Close the window. Then select
               ▹ System Preferences… ▹ Flash Player ▹ Advanced ▹ Delete All...
    In the sheet that opens, check the box marked
              Delete All Site Data and Settings
    then click Delete Data. Close the preference pane.
    Step 3
    If you're only having trouble with YouTube videos, log in to YouTube and load this page. You may see a link with the text "Leave the HTML5 Trial." If so, click that link.
    Step 4
    a. If you get a warning of a "blocked" or "outdated" plug-in, then select the Security tab in the Safari preferences window. In the list of plugins on the left, there should be one—and only one—entry for "Adobe Flash Player," showing the same version number that you installed. Select that entry. On the right there will be a list of websites for which you have specifically allowed Flash, if any. It's normal for the list to be empty. Below that is a menu labeled
              When visiting other websites
    From that menu, select either Allow or Ask.
    b. If you still get the alerts, then go back to the Flash Player preference pane and select the Advanced tab. Click Check Now. Quit and relaunch the browser.
    c. If the alerts still persist, triple-click anywhere in the line below on this page to select it:
    /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources
    Right-click or control-click the highlighted text and select
              Services ▹ Open
    from the contextual menu.* A folder should open. Inside it, there should be a file named "XProtect.meta.plist". If that file is missing and you know why it's missing, restore it from a backup or copy it from another Mac running the same version of OS X. Otherwise, reinstall OS X.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    Step 5
    In the Safari preferences window, select the Advanced tab and uncheck the box marked
              Stop plug-ins to save power
    Step 6
    Open this folder as in Step 4:
    /Library/Internet Plug-Ins
    Delete the following item, or anything with a similar name, if present:
              Flash Player (failing).plugin
    You may be prompted for your login password.
    Step 7
    Re-download and reinstall Flash. Download it from the domain "get.adobe.com". Don't click a link from any other website, including this one, because you can't trust links. They may be an attempt to trick you into installing malware masquerading as Flash. Type the address into the browser window. Never download a Flash update from anywhere else.
    Step 8
    If you get a "missing plug-in" error, select
              Safari ▹ Preferences... ▹ Security
    from the Safari menu bar and check the box marked 
              Allow (or Enable) plug-ins
    Then click the button marked
              Manage Website Settings...
    if present and make sure that the website is not blocked for Flash.
    Step 9
    Select
              Safari ▹ Preferences... ▹ Extensions
    from the Safari menu bar. If any extensions are installed, disable them.

Maybe you are looking for