[svn] 3079: Pop up and focus fixes.
Revision: 3079
Author: [email protected]
Date: 2008-09-03 10:53:07 -0700 (Wed, 03 Sep 2008)
Log Message:
Pop up and focus fixes.
QE: YES
Doc:
Checkintests: YES
Reviewer: Alex
Bugs: SDK-16669, SDK-15688
mx/events/SWFBridgeEvent.as
Add marshal() method. Update ASDoc.
mx/managers/FocusManager.as
Fix bug SDK-15688. Type coercion error fixed by moving to a common super class of IFocusManagerComponent and SWFLoader.
mx/managers/PopUpManagerImpl.as
Renaming.
airframework/src/mx/managers/WindowedSystemManager.as
mx/managers/SystemManager.as
Fix problems introduced from API scrub and fix an old problem activating A.2.2.
mx/managers/SystemManagerProxy.as
Override addEventListener() and removeEventListener() to also add listeners on the proxied SystemManager. This
allows the Proxy to get keyboard focus events that happen in the proxied SystemManager. Dispatch activate/deactivate messages to the sandbox root.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-16669
http://bugs.adobe.com/jira/browse/SDK-15688
http://bugs.adobe.com/jira/browse/SDK-15688
Modified Paths:
flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/WindowedSystemMa nager.as
flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as
flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusManager.as
flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as
flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy. as
I would suggest not to use JWindow but JPopupMenu! In
the JPopupMenu you can add any swing-components!
You can show the Popup in focusGained (ok, that is
not so user-friendly, in my opinion a shortcut would
do better!).
The Popup will hide automatically if you click with
the mouse somewhere else or hit escape.Thank you for the reply.
I'm still having problems. I'd prefer not to use a jpopupmenu, because I want to use that for something else. This was just going to be a simple list that would appear near the text field so user could have a list of options to choose from.
Focus gained on the textfield brings up the list. Selecting something on the list clears it (hides). This idea works well on the mac. But on the pc the jwindow keeps hiding behind the main frame ?
I have the following code
The windows is created as follows
listWindow = new JWindow(SwingUtilities.getWindowAncestor(this));
listWindow.getContentPane().add(pane);
listWindow.setVisible(false);
pane contains the jlist of values
Then the textfield is as follows
textField.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusGained(java.awt.event.FocusEvent evt) {
if (showListWindow) {
if (!listWindow.isVisible()) {
Point los = getLocationOnScreen();
listWindow.setVisible(true);
listWindow.setLocation(los.x +580, los.y +75);
listWindow.pack();
listWindow.toFront();
textField().requestFocus();
I use a boolean showListWindow to decide when to show. Because I noticed that displaying the jlist and requesting focus to the textfield caused the focusGain to fire again.
Any ideas why the pc keeps the list hidden ? If I move the main frame I can see !
Similar Messages
-
Hi everyone,
I am having a problem with my Mac OS X 10.7.5 mac book air , there are constant pop pups and small windows with ads blinking constantly opening up on my safari in front of everything?? it is constantly interupting me and makes me mistakingly click on it then another new windows open behind the one im using..
I am not too sure if thats a virus or trojan.. I always thought that macs didn't get virus? this looks like one to me… any experts around? please help me fix it with your instructions? really don't know what to do... thanksThose are not viruses. You have probably installed some malware:
The Safe Mac » Adware Removal Guide
Helpful Links Regarding Malware Protection
An excellent link to read is Tom Reed's Mac Malware Guide.
Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
See these Apple articles:
Mac OS X Snow Leopard and malware detection
OS X Lion- Protect your Mac from malware
OS X Mountain Lion- Protect your Mac from malware
About file quarantine in OS X
If you require anti-virus protection Thomas Reed recommends using Dr.Web Light from the App Store. It's free, and since it's from the App Store, it won't destabilize the system. If you prefer one of the better known commercial products, then Thomas recommends using Sophos.(Thank you to Thomas Reed for these recommendations.) If you already use Sophos, then be aware of this if you are using Mavericks: OS X Mavericks- Sophos Anti-Virus on-access scanner versions 8.0 - 9.1 may cause unexpected restarts
From user Joe Bailey comes this equally useful advice:
The facts are:
1. There is no anti-malware software that can detect 100% of the malware out there.
2. There is no anti-malware that can detect anything targeting the Mac because there
is no Mac malware in the wild, and therefore, no "signatures" to detect.
3. The very best way to prevent the most attacks is for you as the user to be aware that
the most successful malware attacks rely on very sophisticated social engineering
techniques preying on human avarice, ****, and fear.
4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
your computer is intended to entice you to install their malware thinking it is a
protection against malware.
5. Some of the anti-malware products on the market are worse than the malware
from which they purport to protect you.
6. Be cautious where you go on the internet.
7. Only download anything from sites you know are safe.
8. Avoid links you receive in email, always be suspicious even if you get something
you think is from a friend, but you were not expecting.
9. If there is any question in your mind, then assume it is malware. -
When i try to boot itunes, screen goes black and a message pops up and says not compatible with the visual elements. how do i fix this? itunes wont even open at this point. please help. thanks
Let's first try the following document, only be sure that none of the boxes in the compatibility mode tab are checked (not just the compatibility mode box itself):
iTunes for Windows: How to turn off Compatibility Mode -
I downloaded the 64 bit version of itunes and plugged in my ipod touch but a sign pops up and says i need the right software for the ipod to connect which is 64 bit. Does anyone know how to fix this problem?
Hi alexanderfrommilton,
First try reinstalling itunes. -
[svn] 2312: CursorManager: New functionality and a fix for SDK-15029
Revision: 2312
Author: [email protected]
Date: 2008-06-30 17:24:01 -0700 (Mon, 30 Jun 2008)
Log Message:
CursorManager: New functionality and a fix for SDK-15029
* NEW: When the mouse leaves a window/stage where a cursor is set, the cursor no longer sits on the edge of the screen until the mouse comes back into the window, it disappears.
* NEW: In AIR, when the mouse leaves an active window and glides over an inactive window (without giving it focus) where a cursor is set, the system pointer will be hidden and the custom cursor will appear while gliding over that window, and disappear when you leave that window.
* FIX: When a cursor is set in a child Window, and the mouse moves over another Window or WindowedApplication, the cursor no longer disappears -- the correct system pointer or custom cursor will display.
* Fixed listener leaks when switching systemManagers (neither Jason nor I can tell when/why it would happen in CursorManager, however).
Reviewer: Jason
Bugs: SDK-15029
Doc: No
QA: Yes, here's an exhaustive list of ideas:
* We'll need tests for the new behaviors.
* For all tests, we need to try behavior in air AND behavior in (sa)player, and test regressions.
* Please test SDK-15583 again, all other cursor tests.
* Take the test case for SDK-15029 and open up TWO MyWindows. Test how the cursors change across all three app windows when they are overlapped like a Venn diagram, with different combinations of custom cursors on and off -- we should have test cases for all of this behavior.
* Test that custom cursors work properly when the mouse leaves a non-rectangular stage with transparency.
* Test mouse drag situations -- drag off stage, release, move back to stage; drag off and back onto stage, etc.
* In my tests, I found a lot of bad behavior in AIR, and player seemed to be fine. Do we have drag and drop use cases for AIR with custom cursors?
A list of some bugs I encountered:
* BUG (cosmetic): If the mouse is outside the stage when a cursor changes for the first time (say you toggle a checkbox which sets the cursor using the keyboard), the cursor will appear on the stage in the last known mouse position. When the mouse returns to the stage, everything will start working correctly again.
* BUG (cosmetic): In AIR, if you drag out, and back into the window, then release, a MOUSE_OUT is fired again over the stage, which is wrong. The mouse coords given are (-1,-1), also wrong. This causes the system cursor to show instead of the custom cursor.
* BUG: In AIR: if you drag off the edge of a Window with a custom cursor, the cursor will vanish. The MOUSE_OUT event correctly event fires while dragging off the window. Even though the handler tells the system mouse cursor to appear, it doesn't -- might be an AIR issue, since the mouse is still dragging when told to show. If you move back over the active window without dragging, the cursor goes back to normal.
* BUG: In AIR: if you drag over another window with a cursor, MOUSE_MOVE events don't fire on that other window until you let go. Therefore, a custom cursor in that window does not get drawn, nor does a system cursor. If you move back over the active window without dragging, the cursor goes back to normal.
* BUG: In AIR: When dragging, off a window, Event.MOUSE_LEAVE only fires after the mouse is let go (unlike MOUSE_OUT), EVEN IF the mouse is dragged back over the window and released over the window. So you're told the mouse left when it didn't.
* BUG: In Player: I could never get Event.MOUSE_LEAVE to fire when added to the stage in saplayer or browser.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-15029
http://bugs.adobe.com/jira/browse/SDK-15029
http://bugs.adobe.com/jira/browse/SDK-15583
http://bugs.adobe.com/jira/browse/SDK-15029
Modified Paths:
flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.a s -
How can I fix iCal that keeps popping up and asking for my ID
ICal keeps popping up and asking for me to make sure my password and ID are entered correctly. I have been up on my accounts and done this endless times. I have a POP account that I want to add to the list of accounts under ICal's preferences, but I'm stuck when it keeps telling me that it can find my POP server, but the ID doesn't work. I've tried every ID I ever had and it still doesn't work. How can I fix this?
Greetings,
Thats the issue right there. POP is for email, not for calendars. Remove that pop account from the accounts are of iCal.
You would add a POP account to the Mail application to get emails.
Hope that helps. -
How to fix streaming audio pops/crackles and then stops all sound
I am a google Chrome user. I am unsure if this problem is related to Chrome or to Flash by I suspect there is a problem with both. I previously had this problem where when you start a youtube video for example the audio would pop/crack and then the audio would go dead. If you were able to put the video on full screen before this happened it would work fine. This really only happens with windowed (non-fullscreen videos). Previously I went in to my chrome plugins and disabled chrome's native flash and that fixed the issue. With the most recent update to Chrome this has happened again. This time disabling chrome's flash does not work. On the adobe version site it says that for chrome the version should be 11.5.31.137 but it shows me as using 11.5.502.146. The latter would be the version for firefox. I do not use firefox. Could this be causing my trouble? I have used the official flash uninstaller and restarted my computer and reinstalled but the same thing happened. Thanks.
Thanks for the link. I have tried what they recommend. I currently have two flash files. I have disabled the chrome one and the one that is enabled is C:\Windows\system32\Macromed\Flash\NPSWF32_11_5_502_146.dll
However, I ran the chrome://flash and this is what I got:
Flash plugin
11,5,502,146 C:\Windows\system32\Macromed\Flash\NPSWF32_11_5_502_146.dll (not used)
--- Crash data ---
Crash Reporting
Enable crash reporting to see crash IDs
For more details
https://support.google.com/chrome/?p=ui_usagestat
--- GPU information ---
Graphics card
ATI Radeon HD 4800 Series
Driver display name
aticfx32.dll,aticfx32.dll,aticfx32.dll,atiumdag.dll,atidxx32.dll,atiumdva.cap
Graphics card
ATI Radeon HD 4800 Series
Driver display name
aticfx32.dll,aticfx32.dll,aticfx32.dll,atiumdag.dll,atidxx32.dll,atiumdva.cap
--- GPU driver, more information ---
Vendor Id
0x1002
Device Id
0x9460
Driver vendor
Advanced Micro Devices, Inc.
Driver version
8.970.100.3000
Driver date
7-3-2012
Pixel shader version
3.0
Vertex shader version
3.0
GL version
GL_VENDOR
GL_RENDERER
GL_VERSION
GL_EXTENSIONS
I've never looked at this before but it is weird that it is saying that that flash is not used.
Anyone know about the firefox version of flash installing for Chrome because as I described above that doesn't seem right. -
Hi , my sister got really mad and she banged her iPod touch 5th generation on a table and she banged it so hard that the screen didn't crack but inside the the iPod is damage as in like colors are popping out and the screen doesn't work, can i fixed this?
Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
Apple - iPod Repair price
A third-party place like the following maybe less. Google for more.
iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens -
Just recently I noticed that several of the movies I have purchased from Itune no longer will open and a screen pops up and ask if I would like to locate the file. I can however open all of them in my newly set up AppleTV, so I am confused as to "where are they?"
Hi Paddy...
Try re downloading the movies. You won't be charged again.
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
Like I said, I'm doing a simple video and have finally made some progress in editing. All of a sudden, when I try to replay the video the color wheel pops up and nothing works. It just keeps spinning and spinning with no end. I end up having to force quit the program. When I restart it the same thing happens. I've tried it on 3 different computers and the results have been the same. I've read that perhaps the software needs to be updated through the mac store, I did that to no avail. I also read that perhaps the preferences for the project/final cut pro need to be reset. I downloaded a program that is supposed to do this for me but it didn't work I also went into Preferences in Final Cut and hit reset under editing tab which also did not work. I"m really frustrated about this and I"m getting paid for this video. This needs to be resolved ASAP. Thanks in advance for the help: ask any questions.
Please give complete details of your system and the media and the project properties.
-
I updated my computer software...I don't know what else to do and I can't find any information about this online.
Please help! Thanks.Geoff for a few years I used iPhoto for my iPhone files.
Now that I am not using iPhoto any longer I attempted to move my old iPhoto phone files into my Lightroom iPhone catalog.
A couple possibilities are that:
1) There was a problem with the export/import from iPhoto to Lightroom. I've been reading up on how to do it correctly...
One article said to make a copy of the master catalog in iPhoto, export it and then import it into Lightroom. This is what I did.
I read another article that said exporting as Original from iPhoto and then importing into LR also worked so I did that with another iPhone catalog from my laptop.
2) Maybe it's a file name situation? Perhaps the phone rolled over and there are old and new files with the same names.
The strange thing about that is that older photos are popping up and replacing/deleting newer ones.
I would think the newer files would replace older ones if that was the case.
Any thoughts? Suggestions? Thanks. -
[svn:osmf:] 11199: Sample clean up and bug fixing.
Revision: 11199
Author: [email protected]
Date: 2009-10-27 13:56:22 -0700 (Tue, 27 Oct 2009)
Log Message:
Sample clean up and bug fixing.
Modified Paths:
osmf/trunk/apps/samples/framework/CuePointSample/src/CuePointSample.mxmlAt least in the version I was using it was, quite literally. Horrible.
Invalid, unsemantic, not cross-browser, and subject to quirks mode rendering.
That isn't necessarily a comment on the developers of the system as a whole. Just those who created the HTML and JS. And, who knows, perhaps was improved in later versions.
From my experience with other CMS systems, though, there is sufficient abstraction to fix much of this, if the templates for the HTML and JS can be located.
I'm hoping that SAP is the same, that there are places to look for the HTML that creates major UI components.
This seems useful anyway, since customising is more effective if the templates themselves can be changed at that level.
This also carries over to the IDE - where the sample apps that could be created also generated invalid or unsemantic HTML and JavaScript in my tests. (setting aside my killing my server in my first test of field submission just by pasting a few kilobytes of text in the field )
Anyway, certainly front-end is not a comment on system as a whole, but lightweight and valid HTML makes styling much easier, so if I could figure out how to fix that, it'd be lovely.
P.S. - this forum itself uses "color: windowText" for text areas without setting background-color: window.
Kind of sloppy, easily fixed on my side (where I use a dark UI theme) by overriding the site style. -
[svn:fx-trunk] 11274: ModuleLoader enhancement and StyleProtoChain fix
Revision: 11274
Author: [email protected]
Date: 2009-10-29 12:22:48 -0700 (Thu, 29 Oct 2009)
Log Message:
ModuleLoader enhancement and StyleProtoChain fix
QE notes: None.
Doc notes: None.
Bugs: SDK-23855, SDK-23733
Reviewer: Alex
Tests run: checkintests, Managers/StyleManager
Is noteworthy for integration: No.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-23855
http://bugs.adobe.com/jira/browse/SDK-23733
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as -
I have been trying to save a document in illustrator and every time I try to, a dialog box pops up and says the following- Can't save the illustration. You do not have enough access privileges. id: -5000....This has been happening ever since I switched to CC and whenever I try to save something in indesign, I get a dialog box that says that my file is corrupt. How do I fix this? I cannot get any work done !!!
You should ask in Illustrator
The Cloud forum is not about using individual programs
The Cloud forum is about the Cloud as a delivery & install process
If you will start at the Forums Index https://forums.adobe.com/welcome
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll -
The command key popped off my mid 2011 macbook air. It is meant to have two metal bars but can't find the 2nd one. I have clicked it back into place but if I press the button at the bottom the top pops up and I'm worried that if I don't fix the problem I may end up losing the key altogether!
Can you buy replacement metal bars? should I just remove the other bar completely?
Thanks in advance.Sorry, must have been the crackpipe I smoked last night! LOL
You won't see anything in the Application Support --> Bootcamp folder unless you have previously downloaded the Windows Support Software. Good find.
ADDENDUM STEP:
This step should be placed between 9-10.
Open Bootcamp Assistant. Uncheck everything BUT, "DOWNLOAD THE LATEST WINDOWS SUPPORT SOFTWARE FROM APPLE". You will be prompted to burn the image to a CD/DVD or save to a USB Key. Save the image to a USB key. This will format your USB key properly in preparation for the files. The download commences and if you're lucky, the files will simply be saved to your USB key without having to manually copy them over to the key using the steps above.
IMPORTANT - Even if the support software hangs when its being saved to the USB key, you should now be able to navigate to the directory and see the image. Follow the steps above.
Apologies for missing this.
Best,
WBN
Maybe you are looking for
-
How to install Oracle 9i Client in RHEL 4.0 Upate 1
Where can I find a tep by step process of installing Oracle 9i client 9.2.0.7.0 on linux rhel 4 AS -Update 1 -SP
-
Setup wireless card during bootup
Hey, It took my awhile to get my wireless card to work but I finally got it to work. In the beginning, I had to type every command to get my wireless card to work. A little later my friend made a script that runs during start up. But it encountered a
-
Recursive setTimeout becomes inactive through JavaScript console
Hi, I'm using setTimeout() recursively in functions which stops working completely as soon as I trigger an alert-box (alert()) from the JavaScript console. Calling alert() from the document's code itself does not have this effect. Refreshing the site
-
Disabeling MIDI-controllers in Mainstage
I´ve got a AKAI APC40 that I uses with Ableton Live, and it works great. However, when I use MainStage (not rewire) at the same time, every time I use one of the volume-faders on the APC40, EVERY volume fader on the current patch jumps to the value o
-
Trying To Set UP User PW to Upgrade To Mavericks OS X
I'm trying to upgrade to OSX mavericks on my iMac. It's asking for a user password and I never set up that or an admin PW. So, when I go to user groups to set up a PW, it asks for my current password in order to "Cjhange Password". Catch 22. What do