Responding to events
I have a component that does this
dispatchEvent( new Event( "fooChange" ) );
in <mx:Application creationComplete="init()">
I do this
private function init() : void {
addEventListener( "fooChange", handleChange );
But handleChange() never gets called. What am I
missing[/b}
I'm assuming that your component is dispatching the event.
You're adding the event listener to the application but if
your component
is dispatching the event you must register your handler with
the component.
You should be doing:
myComponent.addEventListener("fooChange",handleChange);
Similar Messages
-
Images and image maps do not respond to events on Safari
Hello everyone,
We have been experiencing issues with events not responding to images associated with image maps, on Safari browser. After the DOM is loaded with new image and corresponding image maps, events such as mouseover and click observing this divs do not respond or get triggered. DOM seems to be updated correctly but behaves differently (and it works correctly in all other browsers except Safari).
This behaviour is only noticed in Safari browser running both on Windows and Mac. (Tested on Safari Version 3.1.1 on running on Windows and Mac)
For you all to have a closer look at this issue, I have created a sample that has this problem, similar to one we experienced during one of our recent projects. Please click on the link below to get to the sample (I recommend you to try this either in Firefox or IE before you do on Safari)
http://www.hivegroup.com/safari/test.html
(In the above sample,
- the javascript code initializes the DOM with image and image map
- assigns two event listeners to the div containing this image and image map
- when mouse pointer brought over the image, it shows the area id in the 'mobox' div
- when clicked, DOM is updated with a new image and new corresponding image map, assigns new event listeners and should continue with the same kinda behaviour it did for the first image (but doesn't in Safari browser))
All inputs on this issue are welcome and greatly appreciated.
Thanking you in advance.
Regards,
Shashi.Let me explain what the pink area is. Like the first image that contains two white boxes, the pink area (as you call it) is a new image (containing four pink areas or boxes having an area id denoted to each) that imgDiv occupies after the 'click' event occurs.
Yep, i gathered that from seeing it work on firefox...
The point that I'm trying to make here is, there shouldn't be any difference in behaviour when imgDiv holds first image (two white boxes) or the second image (four pink boxes) that you get after we click on image or the third image (containing 6 boxes, multiple colors) which you won't be able to reach in safari browser.
well... I can reach them, but only via the blue space.
. We'll notice change in the red box displaying target id only when we mouse over a new area that is not currently being displayed in the red box.
except in webkit for safari 2, where thered bpx content sticks at whatever it was when the first image was clicked, unless mouse is moved to the 'all area', and then it sticks on imgdiv.
I completely understand what you see in safari 2. But are you saying there's some error in my script ? If so could you please point out and justify.
I dunno Shashi, just pointing out the errors that Safari 2 reports when I view your test page, in the hope it might help. I know little of javascript -
Problem responding to events in fullscreen mode
I made a fullscreen game and I'm trying to get it to respond to the mouse or keyboard input. The problem is it only responds a few second after I press the button. Does anyone know how I could speed up the response? All my code is posted below.
EDIT: I did some experimenting and it looks like device.isDisplayChangeSupported() returns false and the resolution never gets changed to 800x600 (I haden't noticed this before since I was flooding the whole screen with black). I also took a look at the resolutions I could manually set the monitor to and it only shows 1280x800 and 1024x768. This is under Ubuntu Linux. Even though I haven't run this program under my Windows installation, I'm sure I can change to 800x600 resolution there since I've done it manually and through other programs. Does anybody know any solutions to this? I will probably try running the program under Windows and see what happens.
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferStrategy;
public class LostHaven implements KeyListener, MouseListener
private static DisplayMode[] BEST_DISPLAY_MODES = new DisplayMode[] {
new DisplayMode(800, 600, 32, 0),
new DisplayMode(800, 600, 16, 0),
new DisplayMode(800, 600, 8, 0)
Frame mainFrame;
boolean done;
boolean pressed;
public LostHaven(GraphicsDevice device)
try
GraphicsConfiguration gc = device.getDefaultConfiguration();
mainFrame = new Frame(gc);
mainFrame.setUndecorated(true);
mainFrame.setIgnoreRepaint(true);
device.setFullScreenWindow(mainFrame);
if (device.isDisplayChangeSupported())
chooseBestDisplayMode(device);
mainFrame.addMouseListener(this);
mainFrame.addKeyListener(this);
mainFrame.createBufferStrategy(2);
BufferStrategy bufferStrategy = mainFrame.getBufferStrategy();
done = false;
pressed = false;
while (!done)
Graphics g = bufferStrategy.getDrawGraphics();
render(g);
g.dispose();
bufferStrategy.show();
catch (Exception e)
e.printStackTrace();
finally
device.setFullScreenWindow(null);
private void render(Graphics g)
Rectangle bounds = mainFrame.getBounds();
g.setColor(Color.black);
g.fillRect(0,0,bounds.width, bounds.height);
g.setColor(Color.red);
g.fillRect(bounds.width*1/4, bounds.height*1/4, bounds.width*2/4, bounds.height*2/4);
if(pressed)
g.drawString("mouse pressed", 0, 15);
private static DisplayMode getBestDisplayMode(GraphicsDevice device)
for (int x = 0; x < BEST_DISPLAY_MODES.length; x++)
DisplayMode[] modes = device.getDisplayModes();
for (int i = 0; i < modes.length; i++)
if (modes.getWidth() == BEST_DISPLAY_MODES[x].getWidth()
&& modes[i].getHeight() == BEST_DISPLAY_MODES[x].getHeight()
&& modes[i].getBitDepth() == BEST_DISPLAY_MODES[x].getBitDepth()
return BEST_DISPLAY_MODES[x];
return null;
public static void chooseBestDisplayMode(GraphicsDevice device)
DisplayMode best = getBestDisplayMode(device);
if (best != null)
device.setDisplayMode(best);
public void mousePressed(MouseEvent e)
pressed = true;
public void mouseReleased(MouseEvent e)
public void mouseEntered(MouseEvent e)
public void mouseExited(MouseEvent e)
public void mouseClicked(MouseEvent e)
public void keyTyped(KeyEvent e)
public void keyPressed(KeyEvent e)
if(e.getKeyCode() == KeyEvent.VK_ESCAPE)
done = true;
public void keyReleased(KeyEvent e)
public static void main(String[] args)
try
GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice device = env.getDefaultScreenDevice();
LostHaven gameWindow = new LostHaven(device);
catch (Exception e)
e.printStackTrace();
System.exit(0);
Message was edited by:
JaphethDo you get this behavior when it's not fullscreen (and the rest is the same)?
-
Can't open Final Cut X - Stop Responding with Event
Im working on a project for over a year, and suddenly I can't open Final Cut with my project and event.
It stops responding while loading my event.
I already changed the location of the biggest files (original media and renders), so I just have my event and my project files on the final cut folders.
I've tried to open this in another computer, but it still didn't work.
When I erase my event and project, there's no problem with Final Cut.
Any suggestion?
Thank you!Why are you moving folders around?
Was FCPX acting abnormally before you moved these folders?
What do you mean by "erase my event and project"?
Russ -
Since I could not find a list of the Event Ids that was accurate at all or not too general as to be useless and Microsoft won't let us know how to fix these ourselves without having a programming degree, I am begging for help from anyone who can help
me get my computer working right again. I have some important things to get done which I can't do without my computer working. I have tried to get what I could get but I am blocked from many files which makes it difficult to get info. Please help. I appreciate
any help I can get. Thank you,
WhiteFox42
I am not sure which one is more important.
Event id 20
Installation Failure: Windows failed to install the following update with error 0x80070643: Update for Microsoft .NET Framework 4 on Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 for x64-based Systems
(KB2468871).
Event id 11
Possible Memory Leak. Application (C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted) (PID: 476) has passed a non-NULL pointer to RPC for an [out] parameter marked [allocate(all_nodes)]. [allocate(all_nodes)] parameters are always
reallocated; if the original pointer contained the address of valid memory, that memory will be leaked. The call originated on the interface with UUID ({3f31c91e-2545-4b7b-9311-9529e8bffef6}), Method number (20). User Action: Contact your application
vendor for an updated version of the application.
Event id 455
taskhost (1348) WebCacheLocal: Error -1811 (0xfffff8ed) occurred while opening logfile R:\User\App Data\Roaming\Microsoft\Templates\Local\Microsoft\Windows\WebCache\V01.log.
Event Xml:
Event id 505
wuaueng.dll (1012) SUS20ClientDataStore: An attempt to open the compressed file "C:\Windows\SoftwareDistribution\DataStore\DataStore.edb" for read / write access failed because it could not be converted to a normal file. The open file operation
will fail with error -4005 (0xfffff05b). To prevent this error in the future you can manually decompress the file and change the compression state of the containing folder to uncompressed. Writing to this file when it is compressed is not supported.
Event id 513
Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object
Event id 1000
Faulting application name: IEXPLORE.EXE, version: 11.0.9600.16428, time stamp: 0x525b664c
Faulting module name: IEFRAME.dll, version: 11.0.9600.16476, time stamp: 0x52944cf2
Exception code: 0xc0000005
Fault offset: 0x00025f1d
Faulting process id: 0x1854
Faulting application start time: 0x01cf0735f0e5f0c7
Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
Faulting module path: C:\Windows\system32\IEFRAME.dll
Report Id: e3dc1e9a-733f-11e3-b920-00215a2af202
Event id 1000
Faulting application name: msiexec.exe, version: 5.0.7601.17514, time stamp: 0x4ce79d93
Faulting module name: msvcrt.dll, version: 7.0.7601.17744, time stamp: 0x4eeb033f
Exception code: 0xc0000005
Fault offset: 0x00000000000035e1
Faulting process id: 0x1030
Faulting application start time: 0x01cf01b77867a358
Faulting application path: C:\Windows\system32\msiexec.exe
Faulting module path: C:\Windows\system32\msvcrt.dll
Report Id: f7253b17-6daa-11e3-b944-00215a2af202
Event id 1002
Computer: w7mar-64 "I don't know why it has computer as this when it should not be."
Description:
The IP address lease 192.168.200.195 for the Network Card with network address 0x08002742F261 has been denied by the DHCP server 192.168.200.1 (The DHCP Server sent a DHCPNACK message).
Event id 1008
The Windows Search Service is starting up and attempting to remove the old search index {Reason: Index Corruption}.
Event id 1008
Computer: w7mar-64
Description:
An errorUser: LOCAL SERVICE
occurred in initializing the interface. The error code is: 0x2.
Event id 1014
User: NETWORK SERVICE
Computer:
Description:
Name resolution for the name wpad.westell.com timed out after none of the configured DNS servers responded.
Event id 1015
User: N/A
Computer: w7mar-64
Description:
Event ID 1013 for the Windows Search Service has been suppressed 7 time(s) since 12:04:10 PM. This event is used to suppress Windows Search Service events that have occurred frequently within a short period of time. See Event ID 1013 for further details
on this event.
Event id 1015
Failed to connect to server. Error: 0x8007043C
Event id 1018
The description for Event ID 1018 from source EvntAgnt cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
Event id 1020
Updates to the IIS metabase were aborted because IIS is either not installed or is disabled on this machine. To configure ASP.NET to run in IIS, please install or enable IIS and re-register ASP.NET using aspnet_regiis.exe /i.
Event id 1028
Windows Installer has determined that its configuration data cache folder was not secured properly. The owner of the key must be either Local System or Builtin\Administrators. The existing folder will be deleted and re-created with the appropriate security
settings.
Event id 1101
.NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile: System.Web.Entity.Design, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil . Error code = 0x80010108
Event id 1500
The description for Event ID 1500 from source SNMP cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
Event id 1530
Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.
Event id 1530
Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.
DETAIL -
6 user registry handles leaked from \Registry\User\S-1-5-21-2959539970-205720217-4182857889-1000:
Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software
Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Microsoft\Windows\CurrentVersion\Internet Settings
Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Microsoft\Windows\CurrentVersion\Internet Settings
Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Microsoft\Internet Explorer\Main
Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Policies
Event id 3028
Context: Windows Application, SystemIndex Catalog
Details:
The content index catalog is corrupt. (HRESULT : 0xc0041801) (0xc0041801)
Event id 3029
Context: Windows Application, SystemIndex Catalog
Details:
The content index catalog is corrupt. (HRESULT : 0xc0041801) (0xc0041801)
Event id 3036
The content source <csc://{S-1-5-21-2959539970-205720217-4182857889-1001}/> cannot be accessed.
Event id 3036
No protocol handler is available. Install a protocol handler that can process this URL type. (HRESULT : 0x80040d37) (0x80040d37)
Event id 4104
Description:
The backup was not successful. The error is: Access is denied. (0x80070005).
Event id 4228
TCP/IP has chosen to restrict the scale factor due to a network condition. This could be related to a problem in a network device and will cause degraded throughput.
Event id 4321
The name "WHITEFOXPC :0" could not be registered on the interface with IP address 192.168.1.21. The computer with the IP address 192.168.1.19 did not allow the name to be claimed by this computer.
Event id 4373
The description for Event ID 4373 from source NtServicePack cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
Event id 4879
MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system WHITEFOXPC.
Event id 6000
The winlogon notification subscriber <GPClient> was unavailable to handle a notification event.
Event id 6006
The winlogon notification subscriber <TrustedInstaller> took 186 second(s) to handle the notification event (CreateSession).
Event id 7000
The Windows Audio service failed to start due to the following error:
A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view
the service configuration and the account configuration.
Event id 7001
The Computer Browser service depends on the Server service which failed to start because of the following error:
The dependency service or group failed to start.
Event id 7010
The index cannot be initialized.
Details:
The content index catalog is corrupt. (HRESULT : 0xc0041801) (0xc0041801)
Event id 7023
The Block Level Backup Engine Service service terminated with the following error:
%%-2147024713
Event id 7024
The Windows Search service terminated with service-specific error %%-1073473535.
Event id 7026
The following boot-start or system-start driver(s) failed to load:
aswKbd
aswRvrt
aswSnx
aswSP
aswTdi
aswVmm
discache
spldr
Wanarpv6
Event id 7030 & 7031
The dldw_device service is marked as an interactive service. However, the system is configured to not allow interactive services. This service may not function properly.
Event id 7032
The Service Control Manager tried to take a corrective action (Restart the service) after the unexpected termination of the Windows Installer service, but this action failed with the following error:
An instance of the service is already running.
Event id 7040
The search service has detected corrupted data files in the index {id=4700}. The service will attempt to automatically correct this problem by rebuilding the index.
Event id 7042
The Windows Search Service is being stopped because there is a problem with the indexer: The catalog is corrupt.
Details:
The content index catalog is corrupt. (HRESULT : 0xc0041801) (0xc0041801)
Event id 8210
An unspecified error occurred during System Restore: (Installed Java 7 Update 45). Additional information: 0x80070003.
Event id 9000
The Windows Search Service cannot open the Jet property store.
Details:
0x%08x (0xc0041800 - The content index database is corrupt. (HRESULT : 0xc0041800))
Event id 10005
DCOM got error "1084" attempting to start the service MSIServer with arguments "" in order to run the server:
{000C101C-0000-0000-C000-000000000046}
Event id 10010
15 of these with different server codes which I can't copy unless I copy all the details.
The server {3EEF301F-B596-4C0B-BD92-013BEAFCE793} did not register with DCOM within the required timeout.
Event id 12348
Volume Shadow Copy Service warning: VSS was denied access to the root of volume \\?\Volume{8e79517c-6c41-11e3-b621-cb03f0618d54}\. Denying administrators from accessing volume roots can cause many unexpected failures, and will prevent VSS from functioning
properly. Check security on the volume, and try the operation again.
Event id 15006
9 of these.
Description:
Owner of the log file or directory \SystemRoot\System32\LogFiles\HTTPERR\httperr1.log is invalid. This could be because another user has already created the log file or the directory.
Event id 31004
33 of tese.
The DNS proxy agent was unable to allocate 0 bytes of memory. This may indicate that the system is low on virtual memory, or that the memory manager has encountered an internal error.
The End.
Kimberly D. White-FoxPlease provide a copy of your System Information file. Type System Information in the Search Box above the start Button and press the ENTER key
(alternative is Select Start, All Programs, Accessories, System Tools, System Information). Select File, Export and give the file a name noting where it is located. The system creates a new System Information file each time system information is accessed.
You need to allow a minute or two for the file to be fully populated before exporting a copy. Please upload to your Sky Drive, share with everyone and post a link here. Please say if the report has been obtained in safe mode.
Please upload and share with everyone copies of your System and Application logs from your Event Viewer to your Sky Drive and post a link here.
To access the System log select Start, Control Panel, Administrative Tools, Event Viewer, from the list in the left side of the window select Windows
Logs and System. Place the cursor on System, select Action from the Menu and Save All Events as (the default evtx file type) and give the file a name. Do the same for the Applications log. Do not provide filtered files.
For help with Sky Drive see paragraph 9.3:
http://www.gerryscomputertips.co.uk/MicrosoftCommunity1.htm
Some Event Viewer reports are generated solely because the computer is in safe mode or safe mode with networking. You have at least one example of this in your long list. If you do not see the same report for a time when
the computer was in normal mode then it can be disregarded.
You will find some general advice on interpreting Event Viewer reports here:
http://www.gerryscomputertips.co.uk/syserrors5.htm
Hope this helps, Gerry -
Can't get mouseDown event to work
I have created some menus with rollover and click events and
these work fine when previewed from Fireworks in a browser. However
when I import them into Director the rollover works, but the
onClick does not. When I look at the Lingo there is no reference to
the onClick function. I have amended the code myself and it sort of
works, though I am not sure how to get the correct member into the
property.
The code is below and the lines in bold are the one's i have
added, any help with this would be appreciated.
-- DESCRIPTION --
on getBehaviorDescription me
return \
"ROLLOVER MEMBER CHANGE" & RETURN & RETURN & \
"Change the sprite's cast member when the mouse rolls over
the sprite." & RETURN & RETURN & \
"PARAMETERS:" & RETURN & \
"* Rollover cast member"
end getBehaviorDescription
on getBehaviorTooltip me
return \
"Use with graphic members." & RETURN & RETURN &
"Swaps a sprite's cast member on rollover."
end getBehaviorTooltip
-- HISTORY --
-- 22 October 1998, written for the D7 Behaviors Palette by
James Newton
-- Modified 7 January, 2000 by T. Higgins to include the
isOKToAttach
-- event handler along with removing some redundant error
checking.
-- 5 March 2000: Modified to match Fireworks button order
-- and be D7 and D8 compatible for Fireworks Importer
<jba>
property spriteNum
property mySprite
property myStandardMember
property myRollovermember
property myClickMember
on beginSprite me
mySprite = sprite (me.spriteNum)
myStandardMember = mySprite.member
if myRollovermember = 0 then myRollovermember =
member(mySprite.member.number+1)
if myClickMember = 0 then myClickMember =
member(mySprite.member.number+1)
end
on mouseEnter me
mySprite.member = myRolloverMember
end mouseEnter
on mouseDown me
mySprite.member = myClickMember
end mouseDown
on mouseLeave me
mySprite.member = myStandardMember
end mouseLeave
on isOKToAttach (me, aSpriteType, aSpriteNum)
case aSpriteType of
#graphic:
return TRUE
#script:
return FALSE
end case
end isOKToAttach
on getPropertyDescriptionList
if the currentSpriteNum = 0 then exit
theMember = sprite(the currentSpriteNum).member
theMemberNumber = theMember.number
return \
#myRolloverMember: \
#comment: "Display which member on rollover?", \
#format: #graphic, \
#default: member (theMemberNumber + 1) \
end getPropertyDescriptionListYour browser is responding to events generated by the HTML
page. Director responds to events generated by Director. onClick is
not a Director event, which is why you can find no documentation on
it.
I have never tried creating menus in Fireworks and then
importing them into Director, so I don't know exactly what you are
working with. If your "menus" are just a series of buttons, then
you could try using the Mouse States behavior that you can find at
http://nonlinear.openspark.com/tips/scripts/button/index.htm.
This provides for rollover and mouseDown states, and also changes
the cursor.
You will need to add a separate behavior with an "on mouseUp"
handler that will actually do something when the button is clicked.
As far as modifying the Rollover Member Change behavior is
concerned, try replacing the current getPropertyDescriptionList()
handler with the following: -
How Do I Programmatically Dispatch an Itemclick Event in Flex 3?
Hi,
I need some help with programmatically dispatching an itemclick event in Flex 3.
For example, I've got a popupmenubutton as follows:
<mx:PopUpMenuButton
id="myPopUpMenuButton"
label="Neighborhoods"
dataProvider="{myNeighborhoodList}"
itemClick="myPopUpMenuButtonClickHandler(event)"
/>
Let's say that the myNeighborhoodList contains 3 choices: Old Port, Newport, Southport.
In another piece of code, I want to programmatically dispatch the myPopUpMenuButton itemclick event as if "Newport" were chosen. How do I do that?
FYI, I posted this question on Stack Overflow, but I didn't get a reply.
Thank you!
-LaxmidiOk , here is how I solve the problem architecturally. One class should be responsible for the viewstack index. This class can respond to events dispatched anywhere. So it goes a little something like this.
The view stack
<Viewstack selctedIndex="{stackIndex}">
<Script>
[Bindable] public var stackIndex:int;
</Script>
<ViewOne />
<ViewTwo/>
<ViewThree />
</Viewstack/>
StackPresentation.as
public var stackCount:int;
[Bindable] public var stackIndex:int;
public function startUp():int
stackIndex = someRandomNumberGenerator( 0 , stackCount );
return stackIndex;
public function changeStackHandler( newStackIndex:int ):void
stackIndex = newStackIndex;
There are a few things I must explain here.
1. The stackIndex of the StackPresentation class in "injected" into the Viewstack class. This can be accomplished using a number of frameworks. Personally I use Mate , but there is a whole cornucopia of DI frameworks ( Prana , RobotLegs , Swiz ...).
2. When you want to change the stack index from any part of the application , you dispatch an event like the one I posted earlier. Your framework will wire this event to the StackPresentation. The event will have some parameters ( i.e var newStackIndex:int ) which it uses to go to the next stack index , it could very well be different from what I posted as this is an example.
The advantages of this are numerous. But they all stem from "separation of concern". The view class is responsible for being a view , and the presentation is responsible for coordinating the state of the view class. The other advantage is that if some other part of the application wants to change the viewstack index , it MUST go through the presentation layer , preventing a "ball of mud" type of approach. This greatly cuts down on the number of bugs and the time it takes to resolve them. In scenarios where there is a problem , you only have to look at a few things , the logic in the presentation class ( which lends itself to unit-testing) and the cases where the event triggering the change is dispatched. Hope this helps.
Sincerely ,
Ubu -
Two days in a row now one of my clients has come into the office to find that their SBS2011 is no longer responding to requests, and logon times take between 15 and 30 minutes before reaching a usable desktop. The SBS2011 server is a guest VM on a Windows
2008 Hyper-V (Core) server. Both days when I connect to console via Hyper-V the server will not respond to a CTRL+ALT+DEL request. Restarting the server resolves the problem, however I cannot really determine a Root Cause. Yesterday, I just rebooted
the server and everything was fine, and I found a few messages in the application log that suggested that Exchange was having issues processing spam before sending the NETLOGON service in a tailspin, or so I thought.
Since I noticed the same thing this morning I decided to do a little troubleshooting before Turning Off the VM to restart the server. I was able to connect to services and to event viewer, but I still don't see anything in the logs other than various
services reporting that All Domain Controller Servers in use are not responding. There are some Warnings in the System Event Log that indicate the DNS for the domain is failing registrations, but no messages as to the exact cause.
Log Name: System
Source: Microsoft-Windows-DNS-Client
Date: 1/27/2015 7:19:07 PM
Event ID: 1014
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: SBSERVER.twi.local
Description:
Name resolution for the name twi.local timed out after none of the configured DNS servers responded.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-DNS-Client" Guid="{1C95126E-7EEA-49A9-A3FE-A378B03DDB4D}" />
<EventID>1014</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2015-01-28T03:19:07.507526300Z" />
<EventRecordID>1311467</EventRecordID>
<Correlation />
<Execution ProcessID="748" ThreadID="36044" />
<Channel>System</Channel>
<Computer>SBSERVER.twi.local</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="QueryName">twi.local</Data>
<Data Name="AddressLength">16</Data>
<Data Name="Address">02000035C0A847020000000000000000</Data>
</EventData>
</Event>
Log Name: System
Source: NETLOGON
Date: 1/27/2015 7:19:42 PM
Event ID: 5781
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: SBSERVER.twi.local
Description:
Dynamic registration or deletion of one or more DNS records associated with DNS domain 'twi.local.' failed. These records are used by other computers to locate this server as a domain controller (if the specified domain is an Active Directory domain)
or as an LDAP server (if the specified domain is an application partition).
Possible causes of failure include:
- TCP/IP properties of the network connections of this computer contain wrong IP address(es) of the preferred and alternate DNS servers
- Specified preferred and alternate DNS servers are not running
- DNS server(s) primary for the records to be registered is not running
- Preferred or alternate DNS servers are configured with wrong root hints
- Parent DNS zone contains incorrect delegation to the child zone authoritative for the DNS records that failed registration
USER ACTION
Fix possible misconfiguration(s) specified above and initiate registration or deletion of the DNS records by running 'nltest.exe /dsregdns' from the command prompt on the domain controller or by restarting Net Logon service on the domain controller.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="NETLOGON" />
<EventID Qualifiers="0">5781</EventID>
<Level>3</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-01-28T03:19:42.000000000Z" />
<EventRecordID>1311468</EventRecordID>
<Channel>System</Channel>
<Computer>SBSERVER.twi.local</Computer>
<Security />
</System>
<EventData>
<Data>twi.local.</Data>
<Binary>B4050000</Binary>
</EventData>
</Event>
Any Ideas on where to look for possible causes and how to keep this from happening every night?
Regards, Jim Majorowicz, MCP Sr. Network Engineer Whitsell Computer Services (503) 297-8440x12 www.whitsell.com We can support you no matter where you are. Ask me for details.How are the VM's configured ? I am sure they are up to the standard requirement that suits SBS architecture.
Make sure SBS has only one NIC enabled with IPv4 and IPv6 active. The issue that you are facing might be due to many reason (DNS + Exchange)
Also , please note to unmounts any USB from the Server as a Test and boot the server.
SBS on VM Configuration :
http://tutorial.programming4.us/windows_server/Configuring-Small-Business-Server-2011-in-Hyper-V---Creating-a-Virtual-Machine-(part-2)---Machine-Settings.aspx
Common Issue:
http://blogs.technet.com/b/sbs/archive/2011/02/18/small-business-server-2011-slow-to-boot-and-several-services-fail-to-start.aspx
Please make sure the steps suggested by Larry is also followed.
Binu Kumar - MCP, MCITP, MCTS , MBA - IT , Director Aarbin Technology Pvt Ltd - Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Hi everyone. Has anyone played with Generator scripts? I have no idea where to look for help: except for several tutorials on Tom Krcha's website I can't find any documentation.
What I'm trying to do is launch JSX code every time the document updates. The problem is that this JS counts as an event and I'm getting an infinite loop. For now I put a timer check but I guess that is an ugly solution, because I don't know what time would take operations on different machines. Does anyone know if there's a different event I can use?
Here's my main.jsx:
(function () {
"use strict";
var generator;
var i = 0;
var lastOnChangeRunDate = getTime();
function getTime() { return (new Date()).getTime(); }
function init(gen) {
generator = gen;
generator.addMenuItem("fp", "test pludsfdfdsin", true, false)
generator.onPhotoshopEvent("imageChanged", trololo);
function trololo ( e) {
if(getTime()-lastOnChangeRunDate<400) return;
lastOnChangeRunDate = getTime();
i++;
var str = "doc = activeDocument; \
tL= doc.layers[0]; \
tL.textItem.contents = "+i
generator.evaluateJSXString(str);
exports.init = init;For documentation, the Github site is the best:
https://github.com/adobe-photoshop
Generator is open source, so Adobe uses github to post documentation and issues (as well as all the sources)
I wouldn't recommend trying to modify the document when responding to events for the reasons you mention. Generator isn't really designed for that. At the very least, you should be parsing the change (e), and only reacting to a specific change that isn't the change you are making.
You might look at the generator-assets source on github for some ideas on that. -
Event loop hang, Windows Forms
My C# console application acquires video frames from a camera and uses OpenCV for per-frame processing. The program is mostly an infinite loop with busy-wait on frame acquisition at the start of the loop and a sleep at the end of the loop
as recommended by OpenCV. Typically CPU utilization is < 15%. I wanted to display 5 video frames in a Form showing different stages of processing so I used the visual designer to subclass Form to my MapDisplay class that has 5 PictureBoxes.
I instantiate MapDisplay with new and use Show() to display it as non-modal. I over-rode Paint() for each PictureBox and in each iteration of my loop I call an overloaded version of Refresh() that has an array of 5 Bitmaps as its argument.
The Bitmaps are made available to the Paint() overloads.
This all works but with very strange mouse behavior. When running from VS there is always a busy cursor when I float over the Form so it can't be selected for movement or resizing. When running outside VS the Form starts with focus but a
mouse click anywhere, even away from the Form, e.g. click Windows Start, causes Form updating to stop. In all cases my main loop remains active and continues to call my Refresh() overload on each iteration.
I think my program structure is atypical but I can see no reason why it's affected by unrelated mouse clicks. I have read solutions to hang problems recommending threading but I don't think I have anything that should be in a separate thread.
The Form code only responds to events and runs no other application code.Hi
leftwing,
The program is mostly an infinite loop with busy-wait on frame acquisition at the start of the loop and a sleep at the end of the loop as recommended by OpenCV.
Since your case used by OpenCV, i am afraid this is out of our support. I would suggest you can ask in OpenCV official forum Thanks for your understading.
Have a nice day!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
The event PRINT_END_OF_PAGEnot work
In my alv report the event PRINT_END_OF_PAGE not work. Thisis my code:
REPORT ZDEMO_ALVGRID2_SEMIAUTOMATIC.
*-- Global data definitions for ALV
*--- ALV Grid instance reference
DATA gr_alvgrid TYPE REF TO cl_gui_alv_grid.
*--- Name of the custom control added on the screen
DATA gc_custom_control_name TYPE scrfname VALUE 'CC_ALV'.
*--- Custom container instance reference
DATA gr_ccontainer TYPE REF TO cl_gui_custom_container.
*--- Field catalog table
DATA gt_fieldcat TYPE lvc_t_fcat.
*--- Layout structure
DATA gs_layout TYPE lvc_s_layo.
*--- Internal table holding list data
DATA BEGIN OF gt_list OCCURS 0.
INCLUDE STRUCTURE SFLIGHT.
DATA field1(1).
--In further sections, some additional fields will added here
--for some functionality
DATA END OF gt_list.
*---Printing structure
DATA gs_print TYPE lvc_s_prnt.
gs_print-grpchgedit = 'X'.
gs_print-no_colwopt = 'X'.
gs_print-prntlstinf = 'X'.
gs_print-prnt_title = 3.
gs_print-reservelns = 2.
CALL SCREEN '0100'.
CLASS events DEFINITION *
This class contains the methods responding to *
event PRINT_TOP_OF_PAGE *
of the ALV Grid Controls *
CLASS events DEFINITION.
PUBLIC SECTION.
METHODS:
print_top_of_page
FOR EVENT PRINT_TOP_OF_PAGE OF
cl_gui_alv_grid,
print_end_of_page
FOR EVENT PRINT_END_OF_PAGE OF
cl_gui_alv_grid.
ENDCLASS.
CLASS events IMPLEMENTATION *
CLASS events IMPLEMENTATION.
METHOD print_top_of_page.
WRITE: / 'Grid Title after event PRIN_TOP_OF_PAGE parameter'.
WRITE: ' gs_print-prnt_title = 3.'.
ENDMETHOD.
METHOD print_end_of_page.
WRITE: 'The event PRINT_END_OF_PAGE has 2 rows reserved'.
ENDMETHOD.
ENDCLASS.
DATA mlistener TYPE REF TO events.
MODULE display_alv OUTPUT
MODULE display_alv OUTPUT.
PERFORM get_selection.
PERFORM display_alv.
ENDMODULE. "display_alv OUTPUT
*& Form display_alv
text
FORM display_alv.
IF gr_alvgrid IS INITIAL.
----Creating custom container instance
CREATE OBJECT gr_ccontainer
EXPORTING
container_name = gc_custom_control_name
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
others = 6.
IF sy-subrc <> 0.
--Exception handling
ENDIF.
----Creating ALV Grid instance
CREATE OBJECT gr_alvgrid
EXPORTING
i_parent = gr_ccontainer
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
others = 5.
IF sy-subrc <> 0.
--Exception handling
ENDIF.
----Preparing field catalog.
PERFORM prepare_field_catalog CHANGING gt_fieldcat.
----Preparing layout structure
PERFORM prepare_layout CHANGING gs_layout.
----Here will be additional preparations
--e.g. initial sorting criteria, initial filtering criteria,
--excluding functions
CALL METHOD gr_alvgrid->set_table_for_first_display
EXPORTING
I_BUFFER_ACTIVE = 'X'
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME = 'SFLIGHT'
IS_VARIANT = <structure of type DISVARIANT>
I_SAVE = 'A'
I_DEFAULT = 'X'
is_layout = gs_layout
IS_PRINT = gs_print
IT_SPECIAL_GROUPS = i_fgroup
IT_TOOLBAR_EXCLUDING = <internal table of type
UI_FUNCTIONS >
IT_HYPERLINK = <internal table of type
LVC_T_HYPE>
IT_ALV_GRAPHICS = <internal table of type DTC_T_TC
CHANGING
it_outtab = gt_list[]
it_fieldcatalog = gt_fieldcat
IT_SORT = Ver en reporte ZRESD001
IT_FILTER =
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
IF sy-subrc <> 0.
--Exception handling
ENDIF.
CREATE OBJECT mlistener.
SET HANDLER mlistener->print_top_of_page FOR gr_alvgrid.
SET HANDLER mlistener->print_end_of_page FOR gr_alvgrid.
ELSE.
CALL METHOD gr_alvgrid->refresh_table_display
EXPORTING
IS_STABLE = <structure of type LVC_S_STBL >
I_SOFT_REFRESH = <variable of type CHAR01>
EXCEPTIONS
finished = 1
OTHERS = 2.
IF sy-subrc <> 0.
--Exception handling
ENDIF.
ENDIF.
ENDFORM. "display_alv
Extracts the necessary info for the layout
FORM get_selection.
SELECT *
INTO gt_list
FROM SFLIGHT.
APPEND gt_list.
CLEAR gt_list.
ENDSELECT.
ENDFORM. "get_selection
Preparing field catalog manually
FORM prepare_field_catalog CHANGING pt_fieldcat TYPE lvc_t_fcat.
DATA ls_fcat type lvc_s_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'SFLIGHT'
CHANGING
ct_fieldcat = pt_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
Exception handling
ENDIF.
LOOP AT pt_fieldcat INTO ls_fcat.
CASE ls_fcat-fieldname.
WHEN 'CARRID'.
ls_fcat-outputlen = '10'.
ls_fcat-coltext = 'Airline Carrier ID'.
MODIFY pt_fieldcat FROM ls_fcat.
WHEN 'PAYMENTSUM'.
ls_fcat-no_out = 'X'.
MODIFY pt_fieldcat FROM ls_fcat.
ENDCASE.
ENDLOOP.
CLEAR ls_fcat.
ls_fcat-fieldname = 'FIELD1'.
ls_fcat-coltext = 'Field 1'.
ls_fcat-col_pos = 20.
APPEND ls_fcat to pt_fieldcat.
ENDFORM. "prepare_field_catalog
Filling layout structure
FORM prepare_layout CHANGING ps_layout TYPE lvc_s_layo.
ps_layout-zebra = 'X'.
ps_layout-grid_title = 'Flights'.
ps_layout-smalltitle = 'X'.
in the print my event PRINT_END_OF_PAGE does not have effect. How can i make to work this alv effect?
ThanksHello,
To print end_of_page please check whether you are
doing or not.
*===============================================================
* LOCAL CLASSES: Definition
*===============================================================
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
* § 2. Define a method for each print event you need.
METHODS:
handle_top_of_page
FOR EVENT print_top_of_page OF cl_gui_alv_grid,
handle_end_of_list
FOR EVENT print_end_of_list OF cl_gui_alv_grid.
PRIVATE SECTION.
ENDCLASS.
* LOCAL CLASSES: Implementation
*===============================================================
* class c_event_receiver (Implementation)
CLASS lcl_event_receiver IMPLEMENTATION.
*§ 3.Implement your event handler methods. Use WRITE to provide output
METHOD handle_top_of_page.
* Print Top-of-page
PERFORM print_top_of_page.
ENDMETHOD. "handle_top_of_page
ENDCLASS.
*& Form PRINT_TOP_OF_PAGE
* To print top-of-page
FORM print_top_of_page.
* Report header
write : 'Top-Of-Page'.
ENDFORM. " PRINT_TOP_OF_PAGE
* Registering events
CREATE OBJECT dg_event_receiver.
SET HANDLER dg_event_receiver->handle_top_of_page FOR dg_grid1.
Try this and let me know if you have any isues.
Thanks&Regards,
Siri. -
How to pass parameters to Responder functions?
Hi guys,
Im using AMFPHP, and would like to pass some paramteres to Function in Responder, how can i do that?
new Responder('success', 'fault'); // I would like to pass few simple parameters to success function.
Saludos
marcintry following, you may provide the type for event argument in function(event)
new Responder(function(event):void{actualFunction(evnet,yourParam);}, 'fault'); -
Disabled button generates events
Hello,
I have a radio button that I want to disable while a background process is running.
After the process finishes, I enable the button again.
However, if the user clicks on the disabled button during the background process, an ActionEvent still gets generated.
Then when the button is re-enabled, it responds to the event that was generated while it was disabled. I want to prevent my button from responding to events generated while it was disabled.
I do not want to use the getGlassPane.setVisible(true) technique because I still want my cancel button to be able to generate events during the background process.
I am using JDK 1.3.1 and my button is in a panel contained in a JFrame application.
Suggestions?
Thank you,
Ted HillHello,
I have a radio button that I want to disable while a background process is running.
After the process finishes, I enable the button again.
However, if the user clicks on the disabled button during the background process, an ActionEvent still gets generated.
Then when the button is re-enabled, it responds to the event that was generated while it was disabled. I want to prevent my button from responding to events generated while it was disabled.
I do not want to use the getGlassPane.setVisible(true) technique because I still want my cancel button to be able to generate events during the background process.
I am using JDK 1.3.1 and my button is in a panel contained in a JFrame application.
Suggestions?
Thank you,
Ted Hill -
Handling ActiveX events with Javascript inside BSPs
Hi,
Has anyone any experience with handling events from ActiveX objects (using the <object> tag) with Javascript, inside BSPs?
I'm developing solely for the IE browser. Reading other threads, I know that the usual way this is done is via the below code excerpt:
<i><script type="text/javascript" for="MyObject" event="Object_Event">
js_function();
</script></i>
I create a HTML page, with the <object>, <script..for..event> tags, etc. Everything works fine when the page is run from my local system. However, when the code is run from WebAS (Activate then Test (F8)), the ActiveX object loads fine. But the javascript does not respond to events thrown by the ActiveX object.
I wonder if anyone can share their experiences on this issue.
Thank you.
AmosIt's the Skype4COM (v1.0.0.17) wrapper for the SkypeAPI, available at https://developer.skype.com/Download
(Note: NOT the v1.0.0.16, which comes with the Skype ActiveX Tools package).
I'm trying to use javascript to handle the event "CallStatus", thrown by Skype4COM, as shown in the code excerpt below.
<i><script language="javascript" type="text/javascript" for="Skype" event="CallStatus(Call, Status)">
handleCallStatus (Call, Status);
</script></i>
It works locally, but not when in a BSP.
It's rather interesting to mess with Skype calls from a webpage. Do let us know how your experience goes
Amos -
Image Events - how do i do it??
I am trying to create an image that can be displayed arbitrarily in a container. I have used Toolkit.getDefaultToolkit().getImage("image.gif") and draphics2d.drawImage(etc etc to place the image on the screen. However, I want to use events with this image i.e. when the mouse goes over the image or I click on it - create an event. Obviuosly, this won't implement events, so I created an image button instead. Unfortunately (as far as I am aware) buttons require a layout manager and I want to display the images in arbitrary position - anyone know how I can do this?? I sort of know how events works and have events working for a panel within a frame - just not an image displayed within the pane - please help
Thanks for your response noah
Here is my example code I am using....
import java.awt.*;
import java.awt.geom.*;
import javax.swing.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
public class NewTransparent2 extends JFrame implements MouseListener, MouseMotionListener
private static final int H = 600;
private static final int W = 740;
private JLabel statusBar;
public int xValue;
public int yValue;
int mx;
int my;
NewTransparent2()
getContentPane().add(new TransparentPanel());
pack();
statusBar = new JLabel();
getContentPane().add(statusBar, BorderLayout.SOUTH);
addMouseMotionListener(this);
addMouseListener(this);
setSize(new Dimension(W, H));
public void mouseClicked(MouseEvent e)
String title = "Clicked " + e.getClickCount() + " times(s)";
if(e.isMetaDown()) title += " with right mouse button";
else
if(e.isAltDown()) title += " with center mouse button";
else title += " with left mouse button";
setTitle(title);
repaint();
public void mousePressed(MouseEvent e)
//statusBar.setText("Pressed at ["+ e.getX()+ ", "+e.getY()+"]");
public void mouseReleased(MouseEvent e)
//statusBar.setText("Released at ["+ e.getX()+ ", "+e.getY()+"]");
public void mouseEntered(MouseEvent e)
//JOptionPane.showMessageDialog(null, "Hi");
public void mouseExited(MouseEvent e)
//statusBar.setText("Mouse outside window");
public void mouseDragged(MouseEvent e)
//statusBar.setText("Dragged at ["+ e.getX()+ ", "+e.getY()+"]");
public void mouseMoved(MouseEvent e)
statusBar.setText("Moved at ["+ e.getX()+ ", "+e.getY()+"]");
class TransparentPanel extends JPanel
GradientPaint myGradient, myGradient2;
Color darkblue, darkrose;
Image telindus_flag;
public TransparentPanel()
darkblue = new Color(63, 64, 124);
darkrose = new Color(159, 61, 100);
myGradient = new GradientPaint(0, 0, darkblue, 0, 50, darkrose);
telindus_flag = Toolkit.getDefaultToolkit().getImage("generic_flag_2.jpg");
try
MediaTracker mt = new MediaTracker(this);
mt.addImage(telindus_flag, 0);
mt.waitForID(0);
catch (Exception e)
e.printStackTrace();
setBackground(Color.white);
setPreferredSize(new Dimension(W, H));
public void paintComponent(Graphics g)
JLabel mylabel;
super.paintComponent(g);
Graphics2D g2 = (Graphics2D) g;
g2.setPaint(myGradient);
g2.drawRect(5, 5, getWidth() - 12, getHeight() - 12);
NewDevice newDevObject = new NewDevice();
g2.drawImage(newDevObject.devImage, 60, 60, this);
NewDevice newDevObject2 = new NewDevice();
g2.drawImage(newDevObject2.devImage, 160, 160, this);
//ImageIcon i = new ImageIcon("router.gif");
//mylabel = new JLabel(i);
//mylabel.addMouseListener(this);
//g2.drawImage(i, 0, 0,
g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.2F));
g2.drawImage(telindus_flag, 18, 18, this);
//Ping newPing = new Ping();
class NewDevice
// not declaring these variables static makes them instance variables
// i.e. one instance of the variable per new class instantiated
Image devImage;
String devType, devHostname, devLocation, devIPaddress;
int myinteger=20; // irrespective of the number of new objects createdp
NewDevice() // NewDevice Constructor
devImage = Toolkit.getDefaultToolkit().getImage("router.gif");
class Ping
InetAddress ip;
Ping()
try
ip = InetAddress.getLocalHost();
System.out.println("IP address : " + ip.getHostAddress());
//String name = InetAddress.getLocalHost().getHostName();
//System.out.println("IP address : " + ip.getHostAddress() + "\nHostname: " + name);
catch (Exception e)
System.out.println(e);
try
Runtime r = Runtime.getRuntime();
Process p = r.exec("ping " + ip.getHostAddress());
if (p == null)
System.out.println("Could not connect");
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
String line;
while ((line = in.readLine()) != null)
System.out.println(line);
in.close();
catch (IOException io)
System.err.println(io.toString());
public static void main(String[] args)
NewTransparent2 myapp = new NewTransparent2();
myapp.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
myapp.setVisible(true);
As you can see I have used MouseListener etc as an interface and therefore implemented all of the methods required. I have added the MouseListener and MouseMotionListener for the panel which works exceptionally well. I would like it howerver to respond to events for the images (devImage) I have created with the class NewDevice - any ideas!?
Thanks
Maybe you are looking for
-
Passing Parameter/Variable into Dashboard URL
Hi, Instead of having someone type in or search for a variable I was trying to determine a way to pass a variable directly into the URL I have tried: VARIABLE_SCREEN=X&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARI
-
Cannot start non-apple programs
I just installed 10.4.7. Now it seems that I cannot start non-apple programs. Those programs give me the error "The application "Photoshop" could not be launched because of a shared library error: "-<application><CarbonLib><CFMPriv_PrintCore>" I am u
-
where can i find the usb logo in my macbook pro? inserted a usb but cant find the logo
-
Flash CS6 Cant see any extension
just as the image show, Flash CS6 dont show any extension other (Illu, Photoshop,...) work without any problem is it my Flash broken ?
-
Hi all, I have a problem specifically with youtube for about a month now and nothing that i tried seeing in the forums seems to work. I don't have so much knowledge on computers and networks etc so I will just write my problem and the things I tried,