Why my system tray application terminates when JFrame is closed???
Hi,
I am using JDK 1.6 with Netbeans 5.5 and currently trying to make an system tray application. I have one main class which runs as a system tray application and one JFrame class which will be shown when user selects a menu item from system tray. So far so good but a small problem. When the JFrame form is closed, my system tray application also closes. Can somebody tell me what am I missing?
Thanks
set the DefaultCloseOperation of the JFrame to DISPOSE_ON_CLOSE instead of EXIT_ON_CLOSE
db
Similar Messages
-
Why are system and application sound files appearing in itunes?
Suddenly, over 900 system and application sound files, each about a second or 2 long, have appeared in my iPhone 4S music player. They've also appeared in my iTunes on my desktop iMac. Not sure whether they appeared on the computer first or on the phone first. I can't figure out why they appeared there or how to get rid of them (without also removing them from the system and applications which, of course, I don't want to do).
I searched through the discussions here and found several other people complaining about the same thing, going back a couple of years, but no solutions offered. I hope someone can offer a clue.Thanks for the suggestions and help. While the cause of this problem is still obscure, we've managed, with an Apple tech's help, to remove the system/application sound files from both the iPhone and iTunes. We used Time Machine to backtrack to the point at which the sound files first appeared in the iTunes folder, then moved back one more day and restored the iTunes Media folder (where all the music was stored) and 2 iTunes files: iTunes Library.itl and iTunes Music Library.xml (we could also have simply restored the entire iTunes folder with the same effect). Then we synced the iPhone.
As for the cause, that's still a puzzle. From Time Machine, we were able to determine that the files were added between midnight and 12:47 AM on a particular day, but that computer was not in use at that time (the user was asleep in bed, and the only other person in the house at the time was me -- and I don't touch that computer). -
I am using the Java 6 feature for creating System Tray capable applications.
I have used the SystemTray.java example from Sun and this works fine.
What I need to know is how I hide the application in the Task Bar. The user would then need to click the System Tray icon, for the application, to bring the application back up again.
I look forward to someones help.Here's what would you do in your application:
to make it disappear on minimize:
applicationFrame.addWindowListener (new WindowAdapter () {
public void windowIconified (WindowEvent e) {
setVisible (false);
});and a mouse listener to your TrayIcon to show it again on left click:
trayIcon.addMouseListener (new MouseAdapter () {
public void mouseClicked (MouseEvent e) {
if (e.getButton () == e.BUTTON1)
applicationFrame.setVisible (true);
});And I'd suggest you to take a look here about window listeners
http://java.sun.com/docs/books/tutorial/uiswing/events/windowlistener.html -
Why do about 6 applications open when I turn on since Loin installed?
After installing Lion, when I turn on my computer there are about 6 applications open onto the dest top - Why? Can someone please point me to where to make the necessary changes to stop it?
Also
System Prefs > General > Check the "Restore windows when Quitting and re-opening Apps" isn't selected. -
Execute instructions when JFrame is closing
Hi,
I have a JFrame and I want to save some information (using java.util.prefs) when the user closes it.
How Do I execute some instructions when an user closes a JFrame?
Thank's!You could write a window listener: http://java.sun.com/docs/books/tutorial/uiswing/events/windowlistener.html
Or use a shutdown hook: http://java.sun.com/javase/6/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread)
I think the window listener usually makes more sense. -
Ok, i want to perform some action (defined in function close() ) when the user closes a JFrame. Its not happening for me, though...
frame.addWindowListener(new WindowAdapter(){
public void WindowClosing(WindowEvent e){
close();
});WindowClosed(WindowEvent e) aint working either.
While im here, i have another question thats is bugging me:
How come things like
Image img=jpanel.createImage(600,400);
Graphics g=img.getGraphics();Often return null?Encephalopathic wrote:
prolly need to use @Override to prevent this from biting your again.
and we're 100+ in NC. I'm sitting here as they work on the broken air conditioning unit.Meanwhile, out west: [snow at elevations...|http://www.theweathernetwork.com/index.php?product=weather_cams&placecode=cabc0149&pagecontent=weather_cams&camregion=canada&camera=CMBC0030] -
Restoring a JFrame from system Tray
Hi,
I am writing a small application to see new system tray api in java.
Currentlty i am facing a problem - My application minimizes to system tray correctly but when i restore it by clicking on to the tray icon it remains in the minimize state but i want it in restore state.
private void initTrayIcon()
Image image = Toolkit.getDefaultToolkit().getImage("tray.gif");
PopupMenu popup = new PopupMenu();
MenuItem defaultItem = new MenuItem("Exit");
defaultItem.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
exitApplication();
popup.add(defaultItem);
trayIcon = new TrayIcon(image, "Tray Demo", popup);
trayIcon.setImageAutoSize(true);
trayIcon.addMouseListener(new MouseAdapter()
public void mouseClicked(MouseEvent e)
//System.out.println("Tray Icon - Mouse clicked!");
setVisible(true);
}Code of constructor
initTrayIcon()
addWindowListener(new WindowAdapter()
public void windowDeiconified(WindowEvent e)
if (SystemTray.isSupported())
SystemTray tray = SystemTray.getSystemTray();
tray.remove(trayIcon);
setVisible(true);
requestFocus();
public void windowIconified(WindowEvent e)
try
if (SystemTray.isSupported())
SystemTray tray = SystemTray.getSystemTray();
tray.add(trayIcon);
//setExtendedState(ICONIFIED);
setVisible(false);
catch (AWTException ex)
System.err.println("TrayIcon could not be added.");
});Here is complete code for those who are still facing this problem.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class SystemTrayFinalExample extends JFrame
public SystemTrayFinalExample()
if(!SystemTray.isSupported())
JOptionPane.showMessageDialog(this,"Your system doesn't supports System Tray","ERROR",0);
System.exit(0);
initComponents();
private void initComponents()
setTitle("System Tray Demo");
setSize(300,200);
popupmenu = new PopupMenu();
menuitem1 = new MenuItem("Exit");
menuitem1.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent exx)
System.exit(0);
popupmenu.add(menuitem1);
trayicon = new TrayIcon(Toolkit.getDefaultToolkit().getImage("computer.png"),"System Tray Final Example",popupmenu);
trayicon.addMouseListener(new MouseAdapter()
public void mouseClicked(MouseEvent e)
if(e.getButton() == MouseEvent.BUTTON1)
setVisible(true);
setExtendedState(JFrame.NORMAL);
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);
public void windowIconified(WindowEvent ex)
setVisible(false);
try
SystemTray.getSystemTray().add(trayicon);
catch(AWTException e)
e.printStackTrace();
trayicon.displayMessage("Message","Click this icon to restore window",TrayIcon.MessageType.INFO);
public void windowDeiconified(WindowEvent ex)
SystemTray.getSystemTray().remove(trayicon);
public static void main(String args[])
new SystemTrayFinalExample().setVisible(true);
private TrayIcon trayicon;
private PopupMenu popupmenu;
private MenuItem menuitem1;
} -
System Tray Program doesn't show a form from the menu
public SysTrayApp()
ContextMenu TrayMenu = new ContextMenu();
TrayMenu.MenuItems.Add("Exit", OnExit);
TrayMenu.MenuItems.Add("Send Mail", SendMail);
TrayMenu.MenuItems.Add("Add Exception", AddException);
TrayIcon.Icon = new Icon(SystemIcons.Application, 40, 40);
TrayIcon.Text = "RJC Server Services";
TrayIcon.ContextMenu = TrayMenu;
TrayIcon.Visible = true;
NewTimer = new System.Timers.Timer(5 * 60 * 1000);
NewTimer.Elapsed += NewTimer_Elapsed;
NewTimer.Start();
void AddException(Object sender, EventArgs e)
ExceptionList ExceptionForm = new ExceptionList();
ExceptionForm.ShowDialog();
This is the code I am trying to use to show a instance of the Exception form. My application is a system tray application, when right clicked it shows menu items, however clicking the add exception menu item doesn't show the form? I have also tried ExceptionForm.Show()
to no avail. Any ideas?figured it out: ExceptionForm.Visible = true;
Also I had a long running process on form load that took a while to execute before the form was shown. -
Linux - is there something like System Tray ?
Hello,
I coded few apps for Windows which where able to dock in system tray.
Now I need something similar for Linux (using Mint dist. - with GNOME), and I am not sure, wheter Linux supports something like system tray.
I know that linux isn't windows, but this would be very handy if it is supported ...
fyi - there is code whic would work for windows
final PutToTray ptt = new PutToTray(this);
// this is my class which handles system tray
// it uses current JFrame as parameter
ActionListener blinkListener = new ActionListener() {
public void actionPerformed (ActionEvent e) {
try {
ptt.switchIcons();
// this method switches picture icon with empty icon using some timing, so it looks like blinking (f.e. ICQ)
catch (InterruptedException ex) {
ex.printStackTrace();
ptt.put();
// this method puts app to tray
blinkTimer = new Timer(10,blinkListener);
ActionListener checkListener = new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (sendAttackForm.isActive() == true) {
blinkTimer.start();
// tray icon starts blinking, when sendAttackForm appears
// not really important right now
checkTimer = new Timer(10,checkListener);
checkTimer.start();
// some final code checking
// not really important right nowFalkenbach wrote:
of course, its encapsulated in PutToTray classHaha, and how were we supposed to know that? You might think about providing an SSCCE .
So, you have the code but want to know whether it will work on Linux? Do you not have a Linux machine available and just need somebody who does to test it out? If so, then the above-mentioned SSCCE would come in handy :) -
[Desktop] System Tray Icon: Add back Playback Controls
I just downloaded the latest version of Spotify with the minimize Spotify to the system tray. Thank you for that. You guys are getting there in fufilling my feedback request to keep the system tray icon. When Spotify minimizes to the tray, it runs in the backround and does not use up alot of CPU just like the Spotify minmize to taskbar option; however, you still need to work on putting the play, pause, next and previous controls back in the system tray icon. I'm glad the tray icon is back. It definately makes our computer perform better when we are listening to our Spotify tunes. Congratulations! Hope to see this request get put back in the Spotify system tray icon. Thank you!
I agree play/pause, next and previous are needed.In addition, option to minimize the program to tray by double-click would be very useful.
-
The System Preferences Application quits when I click on the Security Panel or the Software Update Panel. The app quits as soon as I click on the Security Panel. And it quits after I click on Software Update and the slider moves about a third of the way down, same place every time. All the other prefs panels work normally. Any fix suggestions would be greatly appreciated. Thanks.
Thanks again for the suggestions. I deleted the caches to no avail. And the same quits happened (security and software update) with the other account on this computer. The following is the report from the security panel quit. I'll post the other report on another message.
Regards to you both
Date/Time: 2008-01-01 09:53:55.809 -0800
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: System Preferences
Path: /Applications/System Preferences.app/Contents/MacOS/System Preferences
Parent: WindowServer [58]
Rosetta: Yes
Version: 3.3 (3.3)
Build Version: 3
Project Name: SystemPrefsApp
Source Version: 1260100
PID: 225
Thread: Unknown
Application Specific Information:
Security v.1.2.2 (com.apple.preference.security)
Exception: EXCBADINSTRUCTION (0x0002)
Code[0]: 0x00000001
Code[1]: 0x00000000
Thread 0:
0 com.apple.systempreferences 0xb808a8b4 0xb8000000 + 567476
1 com.apple.systempreferences 0xb81650fd CallPPCFunctionAtAddressInt + 170311
2 com.apple.systempreferences 0xb81647be CallPPCFunctionAtAddressInt + 167944
3 com.apple.systempreferences 0xb8164e07 CallPPCFunctionAtAddressInt + 169553
4 com.apple.systempreferences 0xb80a626f 0xb8000000 + 680559
5 com.apple.systempreferences 0xb809fb15 0xb8000000 + 654101
6 com.apple.systempreferences 0xb80bd72e 0xb8000000 + 775982
7 com.apple.systempreferences 0xb811eb4e spinlockwrapper + 3852
Thread 1:
0 com.apple.systempreferences 0xb823341b strchr + 72
1 com.apple.systempreferences 0xb81cb7bb pthreadcondwait + 3114
2 com.apple.systempreferences 0xb816765e catchexception_raise_stateidentity + 318
3 com.apple.systempreferences 0xb8166b9a CallPPCFunctionAtAddressInt + 177124
4 com.apple.systempreferences 0xb8166a91 CallPPCFunctionAtAddressInt + 176859
5 com.apple.systempreferences 0xb816775c catchexception_raise_stateidentity + 572
6 com.apple.systempreferences 0xb820363c pthread_create + 1124
Thread 2:
0 com.apple.systempreferences 0xb813446b spinlockwrapper + 92201
1 com.apple.systempreferences 0xb815fa34 CallPPCFunctionAtAddressInt + 148094
2 com.apple.systempreferences 0xb8162601 CallPPCFunctionAtAddressInt + 159307
3 com.apple.systempreferences 0xb80c805c 0xb8000000 + 819292
Unknown thread crashed with i386 Thread State:
eax: 0x00000000 ebx: 0xb808a836 ecx:0xb82332d4 edx: 0xb82332d4
edi: 0x00000002 esi: 0xb82dbb58 ebp:0xb7fff688 esp: 0xb7fff650
ss: 0x0000001f efl: 0x00010286 eip:0xb808a8b4 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs:0x00000000 gs: 0x00000037
Binary Images Description:
0x1000 - 0x16fff com.apple.systempreferences 3.3 /Applications/System Preferences.app/Contents/MacOS/System Preferences
0x725000 - 0x72cfff com.unsanity.smartcrashreports Smart Crash Reports version 1.2.1 (1.2.1) /Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports
0x14e8f000 - 0x14e9afff com.apple.preference.security 1.2.2 /System/Library/PreferencePanes/Security.prefPane/Contents/MacOS/Security
0x8fc00000 - 0x8fc50fff dyld 46.16 /usr/lib/dyld
0x8fe00000 - 0x8fe4afff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x901c0fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90218000 - 0x9021dfff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9021f000 - 0x90261fff com.apple.CoreText 1.1.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x90289000 - 0x9036dfff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x90396000 - 0x90758fff com.apple.CoreGraphics 1.258.77 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x907e7000 - 0x908befff com.apple.CoreFoundation 6.4.9 (368.31) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90905000 - 0x90905fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90907000 - 0x90a10fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a61000 - 0x90ae4fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90b0d000 - 0x90b7ffff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x90bf2000 - 0x90bfdfff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x90c02000 - 0x90c77fff com.apple.framework.IOKit 1.4.8 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c8d000 - 0x90ca1fff libauto.dylib /usr/lib/libauto.dylib
0x90ca7000 - 0x90f72fff com.apple.CoreServices.CarbonCore 682.28 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90fcf000 - 0x91048fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x9108b000 - 0x910ccfff com.apple.CFNetwork 129.22 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x910e0000 - 0x910f4fff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x91100000 - 0x91192fff com.apple.SearchKit 1.0.7 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x911ce000 - 0x911eefff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x911fb000 - 0x9120afff libz.1.dylib /usr/lib/libz.1.dylib
0x9120d000 - 0x913c2fff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x914bf000 - 0x914c8fff com.apple.DiskArbitration 2.1.2 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x914cf000 - 0x914d7fff libbsm.dylib /usr/lib/libbsm.dylib
0x914db000 - 0x91503fff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x91515000 - 0x9158efff com.apple.audio.CoreAudio 3.0.5 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x915d8000 - 0x915d8fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x915da000 - 0x9160dfff com.apple.AE 314 (313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x91623000 - 0x91700fff com.apple.ColorSync 4.4.10 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x9173f000 - 0x917c0fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x917fd000 - 0x918affff com.apple.QD 3.10.25 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x918e4000 - 0x9193afff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x91962000 - 0x9197cfff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x9198a000 - 0x919aafff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x919b7000 - 0x919f3fff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x91a0b000 - 0x91a19fff com.apple.speech.synthesis.framework 3.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x91a21000 - 0x91a5ffff com.apple.ImageIO.framework 1.5.6 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x91a74000 - 0x91b37fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91b82000 - 0x91b97fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91b9c000 - 0x91bbcfff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91bc1000 - 0x91c21fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91c33000 - 0x91c37fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91c39000 - 0x91ca6fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91cab000 - 0x91cebfff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91cf1000 - 0x91d0cfff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91d11000 - 0x91d13fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91d15000 - 0x91e03fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x91e22000 - 0x91e22fff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91e24000 - 0x91f0afff com.apple.vImage 2.5 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91f12000 - 0x91f31fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x91f9d000 - 0x92029fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x92035000 - 0x920ccfff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x920e5000 - 0x92692fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x926c5000 - 0x929f0fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x92a20000 - 0x92b0ffff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92b12000 - 0x92b98fff com.apple.DesktopServices 1.3.7 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x92bda000 - 0x92e0efff com.apple.Foundation 6.4.9 (567.36) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92f31000 - 0x92f55fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92f61000 - 0x92fbdfff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92fd3000 - 0x92fd3fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92fd5000 - 0x92feafff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x92ffb000 - 0x93006fff com.apple.speech.recognition.framework 3.6 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x9300e000 - 0x93017fff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x9301f000 - 0x930b2fff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x930c7000 - 0x930ccfff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x930d0000 - 0x930f2fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x93106000 - 0x9310efff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x93115000 - 0x9317efff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x931a7000 - 0x931effff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x93219000 - 0x9322afff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x93233000 - 0x9323afff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x93240000 - 0x93567fff com.apple.HIToolbox 1.4.10 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x9369c000 - 0x936abfff com.apple.opengl 1.5.3 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x936b1000 - 0x936cafff com.apple.DirectoryService.Framework 3.3 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x936dc000 - 0x936ddfff com.apple.ServerControl 10.3.0 /System/Library/PrivateFrameworks/ServerControl.framework/Versions/A/ServerCont rol
0x936df000 - 0x9370efff com.apple.MediaKit 8.11 (351.3) /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
0x93718000 - 0x93718fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x9371a000 - 0x93d88fff com.apple.AppKit 6.4.9 (824.44) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x94110000 - 0x94184fff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x941be000 - 0x9427dfff com.apple.audio.toolbox.AudioToolbox 1.4.7 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x942c1000 - 0x942c1fff com.apple.audio.units.AudioUnit 1.4.3 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x942c3000 - 0x94476fff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x944bf000 - 0x944fffff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x94507000 - 0x94555fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x9455c000 - 0x94576fff com.apple.CoreVideo 1.4.2 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x94587000 - 0x949d0fff libGLProgrammability.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x94abe000 - 0x94ae0fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x94ae6000 - 0x94b07fff com.apple.framework.Admin 1.5.6 /System/Library/PrivateFrameworks/Admin.framework/Versions/A/Admin
0x94b1b000 - 0x94b1cfff com.apple.AFPDefines 3.1.6 /System/Library/PrivateFrameworks/AFPDefines.framework/Versions/A/AFPDefines
0x94bd4000 - 0x94be7fff com.apple.frameworks.preferencepanes 11.2 /System/Library/Frameworks/PreferencePanes.framework/Versions/A/PreferencePanes
0x94bf5000 - 0x94c09fff com.apple.securityfoundation 2.2.1 (28150) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x94c18000 - 0x94c52fff com.apple.securityinterface 2.2.1 (27695) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x94c6f000 - 0x94c80fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94c87000 - 0x94c94fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x94ce4000 - 0x94cfefff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x95428000 - 0x95454fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x9552f000 - 0x9552ffff com.apple.DiscRecording 3.2.0 (???) /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x95531000 - 0x955b6fff com.apple.DiscRecordingEngine 3.2.0 /System/Library/Frameworks/DiscRecording.framework/Versions/A/Frameworks/DiscRe cordingEngine.framework/Versions/A/DiscRecordingEngine
0x955e6000 - 0x9562afff com.apple.DiscRecordingContent 3.2.0 /System/Library/Frameworks/DiscRecording.framework/Versions/A/Frameworks/DiscRe cordingContent.framework/Versions/A/DiscRecordingContent
0x9579d000 - 0x957c4fff libcurl.3.dylib /usr/lib/libcurl.3.dylib
0x98918000 - 0x98a2afff com.apple.DiskImagesFramework 10.4.11 (115.2) /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
0x98a9b000 - 0x98aa8fff libbz2.1.0.dylib /usr/lib/libbz2.1.0.dylib
0x98b11000 - 0x98b13fff com.apple.framework.machinesettings 1.5.6 /System/Library/PrivateFrameworks/MachineSettings.framework/Versions/A/MachineS ettings
0x98d88000 - 0x98d8bfff com.apple.BezelServicesFW 1.4.323 (1.4.3) /System/Library/PrivateFrameworks/BezelServices.framework/Versions/A/BezelServi ces
0x9c3ab000 - 0x9c3adfff Interposers.dylib /usr/libexec/oah/Shims/Interposers.dylib
0xb8000000 - 0xb82dafff com.apple.systempreferences 3.3 /Applications/System Preferences.app/Contents/MacOS/System Preferences
0xc0000000 - 0xc000ffff com.unsanity.ape 2.0.3 /Library/Frameworks/ApplicationEnhancer.framework/Versions/A/ApplicationEnhance r
Translated Code Information:
Rosetta Version: 17.26
Args: /Applications/System Preferences.app/Contents/MacOS/System Preferences -psn03932161
Exception: EXCBADINSTRUCTION (0x0002)
Thread 0: (0xb00997fc, 0xb813446b)
0x900086c8: /usr/lib/libSystem.B.dylib : _calloc + 0x280
0xc0001bf4: /Library/Frameworks/ApplicationEnhancer.framework/Versions/A/ApplicationEnhance r : __apeagent + 0x128
0x9002bbe8: /usr/lib/libSystem.B.dylib : _pthreadbody + 0x60
0x00000000: /Applications/System Preferences.app/Contents/MacOS/System Preferences : + 0x0
PPC Thread State
srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x9000a97c ctr: 0x9000aa20
r00: 0xffffffe1 r01: 0xf0080d10 r02: 0x0000002a r03: 0x006c4000
r04: 0x00000006 r05: 0x00000000 r06: 0x00001000 r07: 0x00003603
r08: 0x00000000 r09: 0x00000000 r10: 0x0040232d r11: 0xa00069a4
r12: 0x9000aa20 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0xc0011ad8 r18: 0xc0011ad8 r19: 0xc0011ad8
r20: 0xc0011ad8 r21: 0x00000040 r22: 0x00000038 r23: 0x00000000
r24: 0x006c4000 r25: 0x00001000 r26: 0x00003603 r27: 0x00000000
r28: 0x00000000 r29: 0x00000006 r30: 0x00000006 r31: 0xc0001ad8
Thread 1: Crashed (0xb7fff2bc, 0xb823341b)
0x14e91074: /System/Library/PreferencePanes/Security.prefPane/Contents/MacOS/Security : + 0x2074
0x14e9113c: /System/Library/PreferencePanes/Security.prefPane/Contents/MacOS/Security : + 0x213c
0x00006978: /Applications/System Preferences.app/Contents/MacOS/System Preferences : _mh_executeheader + 0x5978
0x00006504: /Applications/System Preferences.app/Contents/MacOS/System Preferences : _mh_executeheader + 0x5504
0x92c0d800: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation : _NSFireDelayedPerform + 0x1ac
0x9080ab24: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation : _CFRunLoopRunSpecific + 0xac4
0x93249f24: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _RunCurrentEventLoopInMode + 0x124
0x93249488: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _ReceiveNextEventCommon + 0x100
0x93249364: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox : _BlockUntilNextEventMatchingListInMode + 0x58
0x9372fff0: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit : __DPSNextEvent + 0x1f4
0x9372fc0c: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit : -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x84
0x9372a0e4: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit : -[NSApplication run] + 0x1d4
0x9371e7c0: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit : _NSApplicationMain + 0x1bc
0x00002d04: /Applications/System Preferences.app/Contents/MacOS/System Preferences : _mh_executeheader + 0x1d04
0x0000a348: /Applications/System Preferences.app/Contents/MacOS/System Preferences : _mh_executeheader + 0x9348
0x08faffbf: No symbol
PPC Thread State
srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x14e91074 ctr: 0x90000ac0
r00: 0x000000ca r01: 0xbfffe390 r02: 0x00000063 r03: 0xbfffe3f0
r04: 0x00000002 r05: 0xbfffe3d0 r06: 0xbfffe3c8 r07: 0x00000000
r08: 0x00000000 r09: 0xcf34201b r10: 0xbfffe3c8 r11: 0xa0006a6c
r12: 0x90000ac0 r13: 0x00000000 r14: 0x00000000 r15: 0x9080a078
r16: 0xa07ea078 r17: 0xa07ea078 r18: 0x24802082 r19: 0x24424082
r20: 0xbfffe970 r21: 0x0030e6b8 r22: 0x0030e7c8 r23: 0x00000000
r24: 0x00018af0 r25: 0x00018344 r26: 0x00351250 r27: 0x00020000
r28: 0x003c0ea0 r29: 0x003598e0 r30: 0x003c4530 r31: 0x14e90fc0
Model: iMac7,1, BootROM IM71.007A.B01, 2 processors, Intel Core 2 Duo, 2.4 GHz, 1 GB
Graphics: ATI Radeon HD 2600 Pro, ATI,RadeonHD2600, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
AirPort: spairportwireless_card_type_airportextreme (0x14E4, 0x88), Broadcom BCM43xx 1.0 (4.170.13.1)
Bluetooth: Version 1.9.5f4, 2 service, 1 devices, 1 incoming serial ports
Network Service: Built-in Ethernet, Ethernet, en0
Serial ATA Device: WDC WD3200AAJS-40RYA0, 298.09 GB
Parallel ATA Device: MATSHITADVD-R UJ-85J
USB Device: Keyboard Hub, Apple, Inc., Up to 480 Mb/sec, 500 mA
USB Device: Apple Optical USB Mouse, Primax Electronics, Up to 1.5 Mb/sec, 100 mA
USB Device: Apple Keyboard, Apple, Inc, Up to 1.5 Mb/sec, 100 mA
USB Device: Built-in iSight, Apple Inc., Up to 480 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 1.5 Mb/sec, 500 mA
USB Device: Bluetooth USB Host Controller, Apple, Inc., Up to 12 Mb/sec, 500 mA -
Hiding Application To System Tray will cause Modal dialog unblock
I have a JFrame, when I minimize it, it will hide. The user can recall it back by simply double click on its icon, which is created in system tray during application initialization.
However, I am facing problem when I pop up a modal dialog box. (In Linux)
When I pop up a modal dialog box, I am expecting setVisible(true) will always being block, until the modal dialog box is closed.
However, in Linux, user is able to minimize the parent windows, even there is a modal dialog box. During minimization, I have to call JFrame.setVisible(false), in order to hide the application.
A side effect of calling setVisible(false) for a modal dialog box owner (JFrame), will cause the modal dialog box JDialog.setVisible(true) being unblocked and continue for the next statement.
How I can prevent this, to ensure the JDialog.setVisible is always blocked, until the JDialog is really closed? Thanks!tnx Sarcommand ..i give up on that, i understand the risk if that feature is included..
all i wanted is to make an internet cafe client/server that blocks the client's pc interaction if log time is reached.blocking only the keyboard and mouse.
i have seen so many softwares sets the cursor position within the dialog bounding box only with user and password there. though my other application runs the mouse is still captured on the dialog even the dialog lost focus.
if that would not be possible I'll just send notification to the client, a dialog that does not block any application.
now, im going to try if the client can do som action whenever the server sends alert if the client java app is not the focus. i will post next time what hapens.but if you tried already, if u dont mind posting it so others could know it also..
tnx so much Sarcommand.. -
How to make the application run in System tray?
Hi Javamates,
I have a Swing application. I want my application to reside in the Windows System tray when the application is minimised , and also be restored when it is clicked in the tray . How do i do this ?
DineshPls... do search the forum before posting.. !!
U can hav a look at this..
http://forum.java.sun.com/thread.jspa?forumID=257&threadID=177333 -
How to remove Application icon from system tray on uninstalling the application
Hello Friends
Is there any way to remove a system tray icon when i unistalled the application?
i am making a desktop application but i am facing a problem that during uninstallation of that application it remains on the system tray.So can any body guide me any event which fire on unistallaion of application so that i can remove the application manually using cllosing event.please help me out from this poblem i am totally confused.
Thanks and Regards
Vineet OshoI have same problem with you but I haven't find an answer for that. Did you have your answer for the problem?
Thanks! -
Application Explorer - Not Loading To System Tray On Login
Hi,
We are getting users logging into their computers in the morning, and finding that the Novell Application Explorer is not loading into the Windows system tray.
Manually running the program does not work, only a reboot seems to cure the issue. Any thoughts?
7.0.173.90519 - ZENworks Desktop Management 7 SP1 Interim Release 4No idea why, but you may want to try ...
Killing Explorer.exe and then Trying to Run the NAL Explorer.
NAL Explorer hooks into Explorer.exe in a fashion that a hook remains
even after killing NAL Explorer.
This hook may be having an issue so NAL Explorer can't start or restart
properly until Explorer.exe is restarted.
Again, not a fix, but may be quicker than a reboot if it helps.
On 11/4/2010 2:36 PM, rhowelld wrote:
>
> Hi,
>
> We are getting users logging into their computers in the morning, and
> finding that the Novell Application Explorer is not loading into the
> Windows system tray.
>
> Manually running the program does not work, only a reboot seems to cure
> the issue. Any thoughts?
>
>
>
> 7.0.173.90519 - ZENworks Desktop Management 7 SP1 Interim Release 4
>
>
Craig Wilson - MCNE, MCSE, CCNA
Novell Knowledge Partner
Novell does not officially monitor these forums.
Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.
Maybe you are looking for
-
Slow to open, close; won't upload iPhone pics
I transfered a HUGE Aperture library to Photos w/ 20K pics. Never had any problems with Aperture on this iMac but Photos is dog slow. Then when I go to close it it hangs and the "closing library" alert never goes away. I end up having to force quit.
-
No firewire after turning of mains power - SMU reset needed to fix
Everytime I turn the mains power off on my 20" G5 imac when I reboot I've lost all my firewire connections. If I do a SMU reset they both come back. It's a new logic board having been replaced on Apple Care for the overheating and fan problems. Unfor
-
KSLD bug report: 64 bit does not find target symbols
Since the bug report link: http://soldc.sun.com/developer/support/driver/tools/KSLD/bug-report.html goes to a non existant email address, I thought I would post here. Setup: ksld 1.01 target and host booted with kernel/sparcv9/unix (64 bit) /proto di
-
PAL - NTSC, Looks fine on comp, bad on TV
Hi All, My Setup: Quad G5, 2.5ghz, 4.5GB ram, Final Cut Studio (all versions completely up to date) I know there are a million issues in converting PAL -> NTSC, but I was hoping someone could possibly give me a direction to start looking.. I used Nat
-
Extract software product information from SLD
Hi Colleagues, I am wondering how to extract software products information from SLD. I need application and version of the product. For example Sap NetWeaver version 7.11. I read the business systems: CIMInstancenameList businessSystems = client.enum