Swing application doesn't launch

Hallo,
I've programmed a simple swing-application that was til now functionning correctly. But today I can't launch this application. If I launch it with java -jar myprog.jar I get following information:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: sun.font.FileFontStrike.createScalerContext(J[DZIIZFF)J
at sun.font.FileFontStrike.createScalerContext(Native Method)
at sun.font.FileFontStrike.<init>(Unknown Source)
at sun.font.FileFont.createStrike(Unknown Source)
at sun.font.Font2D.getStrike(Unknown Source)
at sun.font.Font2D.getStrike(Unknown Source)
at sun.font.CompositeStrike.getStrikeForSlot(Unknown Source)
at sun.font.CompositeStrike.getFontMetrics(Unknown Source)
at sun.font.FontDesignMetrics.initMatrixAndMetrics(Unknown Source)
at sun.font.FontDesignMetrics.<init>(Unknown Source)
at sun.font.FontDesignMetrics.getMetrics(Unknown Source)
at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)
at javax.swing.JComponent.getFontMetrics(Unknown Source)
at javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.computeHeight(Unknown Source)
at javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.plaf.metal.MetalRootPaneUI$MetalRootLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at java.awt.Window.pack(Unknown Source)
at logviewer.Main$1.run(Main.java:61)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: sun.font.FileFontStrike.createScalerContext(J[DZIIZFF)J
at sun.font.FileFontStrike.createScalerContext(Native Method)
at sun.font.FileFontStrike.<init>(Unknown Source)
at sun.font.FileFont.createStrike(Unknown Source)
at sun.font.Font2D.getStrike(Unknown Source)
at sun.font.Font2D.getStrike(Unknown Source)
at sun.font.CompositeStrike.getStrikeForSlot(Unknown Source)
at sun.font.CompositeStrike.getFontMetrics(Unknown Source)
at sun.font.FontDesignMetrics.initMatrixAndMetrics(Unknown Source)
at sun.font.FontDesignMetrics.<init>(Unknown Source)
at sun.font.FontDesignMetrics.getMetrics(Unknown Source)
at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)
at javax.swing.JComponent.getFontMetrics(Unknown Source)
at javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.computeHeight(Unknown Source)
at javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.plaf.metal.MetalRootPaneUI$MetalRootLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
after this output the application hangs, my windows commad prompt doesn't show the prompt.
Secondary, it is not possible to launch the Java-Applet in Control Panel of Windows. It happans nothing.
Whats going wrong? My program didn't change, it's the same program I was using since longer time. What could I do to make it function correctly?
with regards
Rafal Ziolkowski

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: sun.font.FileFontStrike.createScalerContext(J[DZIIZFF)J
UnsatisfiedLinkError indicates that the JVM cannot find a native method's definition. Generally this means that the shared object file (.so on unices, .dll on Windows) cannot be found by the JVM.
Since the missing method is visibly Sun's code, presumably a built-in JRE method, that probably means your JRE/JDK install has been corrupted (corroborated by a quick Google search on the obvious keywords).
Try reinstalling the JRE or JDK.
Secondary, it is not possible to launch the Java-Applet in Control Panel of Windows. It happans nothing. I don't understand this sentence. What are you doing exactly, and how is that related to the first question?
Much luck,
J.

Similar Messages

  • Pxi: embedded application doesn't launch at boot up

    I selected the "Launch application at boot-up" in the "Network options/RT Target:Miscellaneous" menu before creating my application but it still doesn't launch before I open the application on a local machine (the application in the PXI seems to "wake up" then). I checked that the embedded Labview RT is launching at the PXI boot-up, and that the startup.exe has been updated correctly (I checked it with a ftp client).
    Any idea about why the application doesn't launch ?

    hi there
    - first make sure your app dosn't wait for any kind of input.
    - there are some hardware - switches to avoid the execution of startup.exe. see the documentation of your PXI-system (for PXI-8186 see page 2-12)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • GUI/swing application doesn't appear under W2K

    Hi, all,
    I wrote a Java GUI application with JDK1.4.1_01, when I run it on Win2K Professional (SP3) the
    GUI doesn't appear without any exception.
    But when I ran the same application under XP and Win98, the GUI application run ok and the GUI appears.
    What is the problem?
    regards,
    Adam

    First I thought you had several jre's installed and windows used the wrong one when you type java ...
    Now I think it has to be someting wrong in your code.
    Can you try someting that should work?
    Compile and run the following code:
    javac testPanel.java
    java testPanel
    import javax.swing.*;
    import java.awt.*;
    public class testPanel extends Thread{
         public static void main(String[] args) {
              try{
                   // get out of the static context
                   new testPanel().start();
                   new testPanel().start();
                   new testPanel().start();
              }catch(Exception e){
                   e.printStackTrace();
         public void run(){
              // Create a container with a flow layout, which arranges its children
              // horizontally
              Panel panel = new Panel();
              // A container can also be created with a specific layout
              panel = new Panel(new FlowLayout(FlowLayout.RIGHT));
              // Add several buttons to the container
              panel.add(new Button("A"));
              panel.add(new Button("B"));
              panel.add(new Button("C"));
              // Create frame with a text area in the center
              Frame frame = new Frame();
              Component comp = new TextArea();
              frame.add(comp, BorderLayout.CENTER);
              // Add the container to the bottom of the frame
              frame.add(panel, BorderLayout.SOUTH);
              // Show the frame
              int width = 300;
              int height = 300;
              frame.setSize(width, height);
              frame.setVisible(true);
    }

  • Pxi: embedded application doesn't launch at start up

    I selected the "Launch application at boot-up" in the "Network options/RT Target:Miscellaneous" menu before creating my application but it still doesn' launch before I open the application on a local machine (the application in the PXI seems to "wake up" then). I checked that the embedded Labview RT is launching at the PXI boot-up, and the startup.exe has been updated correctly (I checked it with a ftp client).
    Any idea for this problem?

    One thing that we found helped when we had this problem is to check the
    NI-RT.INI file in the RT target's root directory. It should contain the
    line:
    RTTarget.LaunchAppAtBoot=True
    It seems that some installations of RT do not put this line in
    automatically and, in our case, just adding this line got the
    application up and running.
    If it does not then add that line. Also check the line that should say:
    RTTarget.ApplicationPath=c:\ni-rt\startup\startup.exe
    BTW, you can control whether or not the RT runs your application on boot up by changing the LaunchAppAtBoot line to be False.
    Just use an FTP program to get the NI-RT.INI file and then edit it and send it back to the PXI.
         Rob

  • GUI/swing application doesn't appear under Win2K

    Hi, all,
    I wrote a Java GUI application with JDK1.4.1_01, when I run it on Win2K Professional (SP3) the
    GUI doesn't appear without any exception.
    But when I ran the same application under XP and Win98, the GUI application run ok and the GUI appears.
    What is the problem?
    regards,
    Adam

    I wrote a Java GUI application with JDK1.4.1_01, when
    I run it on Win2K Professional (SP3) the
    GUI doesn't appear without any exception. Maybe it 's shy. Have you thought about coaxing it out with a little biscuit?

  • Rosetta applications won't launch

    Hi,
    i have a rather weird problem with my OS X installation. When i try to launch a rosetta application (non-UB), the application doesn't launch. If I launch it from the Dock, the icon will just bounce a couple of times (1-2 seconds) and will then quit. If i launch it from anywhere else on the computer, nothing happens.
    Any of you know what could cause this problem?
    Regards,
    Rune
    Macbook Pro   Mac OS X (10.4.8)  

    Good morning and thanks for your insight!
    I ran the disk utility from the startup disk and it made repairs to the startup disk! After this, the problem still appears; when I launch some applications "nothing happens". A dialog box does not appear prompting to retry or posts an error.
    It seems as part of the os was corrupted or a system preference file (os9) needs to be deleted.
    Even if I reinstall these applications they don’t launch.
    Using “Console” here are some messages:
    Mac OS X Version 10.4.8 (Build 8L127)
    2007-01-31 07:33:07 -0600
    2007-01-31 07:33:08.223 loginwindow[78] FSResolveAliasWithMountFlags returned err = -43
    2007-01-31 07:33:08.224 loginwindow[78] FSResolveAliasWithMountFlags returned err = -43
    dyld: Library not loaded: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    Referenced from: /Extensis Suitcase Fusion/Suitcase Fusion.app/Contents/MacOS/Suitcase Fusion
    Reason: no suitable image found. Did find:
    /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit: unknown file type, first eight bytes: 0x5F 0x03 0x55 0xE6 0xFA 0x2B 0x38 0x04
    /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit: unknown file type, first eight bytes: 0x5F 0x03 0x55 0xE6 0xFA 0x2B 0x38 0x04
    2007-01-31 07:33:10.115 WeatherPop[118] system version = 1048
    2007-01-31 07:33:10.284 WeatherPop[118] No Menu Extra Enabler
    Jan 31 07:33:10 g5 mDNSResponder: Adding browse domain local.
    2007-01-31 07:33:11.294 SystemUIServer[94] lang is:en
    2007-01-31 07:33:11.833 HPEventHandler[153]: DebugAssert: Third Party Client: ((__null) != m_lock && 0 == (*__error())) Can't create semaphore lock [/Volumes/Development/HP/Mac-Software/mac-software/core/HPEventHandler/Sources/ HPTMNotificationManager.cpp:60]
    2007-01-31 07:33:14.136 WeatherPopApp[166] Vended com.glu.WeatherPop0
    2007-01-31 07:33:14.401 WeatherPopApp[166] WeatherPop Advance is registered.
    2007-01-31 07:33:15.329 WeatherPopApp[166] Could not connect the action buttonPressed: to target of class NSApplication
    2007-01-31 07:33:15.329 WeatherPopApp[166] Could not connect the action buttonPressed: to target of class NSApplication
    2007-01-31 07:33:15.329 WeatherPopApp[166] Could not connect the action buttonPressed: to target of class NSApplication
    2007-01-31 07:33:15.330 WeatherPopApp[166] Could not connect the action buttonPressed: to target of class NSApplication
    -----> using the default for dK=[icon] tS=[currentconds]
    dyld: Library not loaded: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    Referenced from: /Applications/Safari.app/Contents/MacOS/Safari
    Reason: no suitable image found. Did find:
    /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit: unknown file type, first eight bytes: 0x5F 0x03 0x55 0xE6 0xFA 0x2B 0x38 0x04
    /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit: unknown file type, first eight bytes: 0x5F 0x03 0x55 0xE6 0xFA 0x2B 0x38 0x04
    Jan 31 07:35:45 g5 crashdump[239]: Safari crashed
    Jan 31 07:35:45 g5 crashdump[239]: crash report written to: /Users/kenheraty/Library/Logs/CrashReporter/Safari.crash.log
    dyld: Library not loaded: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    Referenced from: /System/Library/PrivateFrameworks/iPodSync.framework/Versions/A/iPodSync
    Reason: no suitable image found. Did find:
    /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit: unknown file type, first eight bytes: 0x5F 0x03 0x55 0xE6 0xFA 0x2B 0x38 0x04
    /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit: unknown file type, first eight bytes: 0x5F 0x03 0x55 0xE6 0xFA 0x2B 0x38 0x04
    Jan 31 07:35:58 g5 crashdump[241]: iTunes crashed
    Jan 31 07:35:58 g5 crashdump[241]: crash report written to: /Users/kenheraty/Library/Logs/CrashReporter/iTunes.crash.log
    -----> using the default for dK=[icon] tS=[currentconds]
    dyld: Library not loaded: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    Referenced from: /Applications/Safari.app/Contents/MacOS/Safari
    Reason: no suitable image found. Did find:
    /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit: unknown file type, first eight bytes: 0x5F 0x03 0x55 0xE6 0xFA 0x2B 0x38 0x04
    /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit: unknown file type, first eight bytes: 0x5F 0x03 0x55 0xE6 0xFA 0x2B 0x38 0x04
    Jan 31 07:50:46 g5 crashdump[252]: Safari crashed
    Jan 31 07:50:46 g5 crashdump[252]: crash report written to: /Users/kenheraty/Library/Logs/CrashReporter/Safari.crash.log

  • Catalyst doesn't launch...?

    Hi All,
    only the flash screen for a moment, then nothing happens...
    the application doesn't launch under Vista Pro SP2
    any ideas ?

    I would suggest checking out some of the other posts from people who have had similar problems.
    I'm personally not an expert on the issues, but I know there is a wealth of information on this forum that should get you up and running.
    - Bruce

  • Launching another Swing application from existing one using Runtime.exec()

    Hi,
    I have two separate Swing applications, say A and B. I need to launch B from A using Runtime.exec() - essentially I am launching another VM instance from one VM. I am encountering strange problems - B's main window comes up, but GUI doesn't update; sometimes B comes up and GUI updates, but huge memory leaks happen. All the problems with B go away once A is shut down. It almost looks like both the instances of VM are sharing (or competing for) the event thread. Any comments will be of great help. Thanks.
    note: There is no problem launching B if A is a console java application (i.e. no Swing GUI).

    Do you have to have the second application running in a seperate VM (process)? If not completely neccesary, then you can just invoke the static main() of the second class. If the type of the second class isn't known untill run-time, you can use Reflection to invoke the method.
    Miguel

  • Can not launch swing application from Java Web Start 1.6.0_37

    I have a dynamic generated jnlp file from a serlvet. When I used Java Web Start to start the swing application, it failed. The exception showed
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://xxxx.xx.com:9080/dilpipweb/Test-1.0-SNAPSHOT.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I used janela to validate the generated jnlp file. It was valid. I also checked the tomcat access log, it showed that the Test-1.0-SNAPSHOT.jar file was accessed correctly (with a 200 return code).
    Can anyone help me what was the problem?
    Thanks,

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • Application started using Java Web Start doesn't launch the first time

    I have a Facebook photo uploader application that I plan to distribute using Java Web Start. I'm using Java 6u4 on Windows XP SP2 with 2GB of RAM. I have Java 6u3, Java 6u4 and Java 5 u14 installed and I'm sure the one used is Java 6u4.
    I signed my application and make use of all security settings.
    Here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
         codebase="http://www.antaki.ca/bloom/jars"
         href="http://www.antaki.ca/bloom/Bloom.jnlp">
    <information>
        <title>Bloom</title>
        <vendor>Carl Antaki</vendor>
        <icon kind="splash" href="http://www.antaki.ca/bloom/Bloom.jpg"/>
        <icon href="http://www.antaki.ca/bloom/bloom32.jpg"/>
      <shortcut online="false">
      <desktop/>
      <menu submenu="Bloom"/>
      </shortcut>
    </information>
        <resources>
            <j2se version="1.5+" initial-heap-size="32m" max-heap-size="128m" href="http://java.sun.com/products/autodl/j2se" />
            <property name="sun.java2d.d3d" value="false"/>
            <jar href="http://www.antaki.ca/bloom/jars/Bloom.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/BrowserLauncher2-1_3.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/SmartProgressMonitor.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/facebook.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/forms-1.1.0.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/json_simple.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swing-worker-1.1.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/glazedlists_java15.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swingx-0.9.1.jar"/>   
            <jar href="http://www.antaki.ca/bloom/jars/jhbasic.jar"/>
       </resources>
    <security>
         <all-permissions/>
      </security>
    <application-desc main-class="ca.antaki.www.bloom.gui.Bloom" />
    </jnlp>Here is the link for my application http://antaki.ca/bloom/Bloom.jnlp
    The first time the application is installed using a link on the browser it's downloaded then the certificate dialog is shown, after that I check the checkbox to accept the certificate permanently. The application doesn't load, it only loads the second time although I see it in the task manager. If I don't accept the certificate permanently it does load. This happens on both Firefox 2 and IE 7. I enabled the console and logging but nothing shows up there.That's really a weird problem, I wonder if Java Web Start is a viable deployment option, it does have great capabilities such as autoupdate but still seems to have important bugs.
    Does anyone have any clue about what is going on.
    The problem doesn't occur on Ubuntu 7.10.
    Thanks,
    Carl Antaki

    >
    You were right my XML file was not correct. I still couldn't find a valid JNLP validator. Sun has to provide that.>No they don't (have to supply a validator for their own document type, though it makes sense to do so), but yes they do (provide a tool that validates XML against schemas). Java can validate XML against a DTD or XSD.
    Check these two threads (and chase the links) for more details.
    JNLP xsd schema
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/c6f65bf1df5f105d/30c6b7e2dc342dc4>
    Validate XML against DTD? XSD OK. SSCCE.
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/5b997a1edb765b11/e831f3066eb4aa38>
    Look especially for the posts by Piotr Kobzda.
    I had a tool on my site based largely on Piotr's codes, that linked to a valid JNLP DTD and XSD, but unfortunately my site is offline at the moment. Andy assures me that the JNLP 6.0 DTD has been corrected for the developer ..download tutorials of web start, though the online (web site) version may still be invalid.

  • Launching Adobe Viewer from a Swing application

    How do I launch Adobe Viewer (or Reader) from my Swing application. I have a help menu item that needs to open the viewer with the PDF help manual. Since the application is cross-platform, do I need different versions of Adobe with my install package? Thanks for any help.

    Thanks. I tried the adobe bean and it seems to work fine until I select the "Print" icon. It crashes the Viewer and my application as well. I get the following:
    Any suggestions?
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0xff2c614c
    Function name=realloc
    Library=/lib/libc.so.1
    Current Java thread:
    at sun.awt.motif.MTextFieldPeer.create(Native Method)
    at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:169)
    at sun.awt.motif.MComponentPeer.<init>(MComponentPeer.java:179)
    at sun.awt.motif.MTextFieldPeer.<init>(MTextFieldPeer.java:68)
    at sun.awt.motif.MToolkit.createTextField(MToolkit.java:85)
    at java.awt.TextField.addNotify(TextField.java:194)
    at java.awt.Container.addNotify(Container.java:1579)
    at java.awt.Panel.addNotify(Panel.java:74)
    at java.awt.Container.addNotify(Container.java:1579)
    at java.awt.Window.addNotify(Window.java:349)
    at java.awt.Dialog.addNotify(Dialog.java:247)
    at java.awt.Window.pack(Window.java:367)
    at com.adobe.acrobat.gui.PDFPrint$PageRangeDialog.<init>(PDFPrint.java:144)
    at com.adobe.acrobat.gui.PDFPrint.<init>(PDFPrint.java:18)
    at com.adobe.acrobat.gui.PrintUI.printPages(PrintUI.java:183)
    at com.adobe.acrobat.gui.PrintUIVerb$PrintTransactor.printFileWithUI(PrintUI.java:591)
    at com.adobe.acrobat.gui.PrintUIVerb$PrintTransactor.buildChanges(PrintUI.java:556)
    at com.adobe.pe.notify.Transactor.commit(Transactor.java:44)
    at com.adobe.pe.awt.UIVerb$1.buildChanges(UIVerb.java:151)
    at com.adobe.pe.notify.Transactor.commit(Transactor.java:70)
    at com.adobe.pe.awt.UIVerb.invoke(UIVerb.java:51)
    at com.adobe.pe.awt.ToolBar.mouseReleased(ToolBar.java:419)
    at java.awt.Component.processMouseEvent(Component.java:3715)
    at java.awt.Component.processEvent(Component.java:3544)
    at java.awt.Component.dispatchEventImpl(Component.java:2593)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    at java.awt.Container.dispatchEventImpl(Container.java:1200)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    Dynamic libraries:
    0x10000 /shared/j2sdk1_3_1/bin/../bin/sparc/native_threads/java
    0xff360000 /lib/libthread.so.1
    0xff3a0000 /lib/libdl.so.1
    0xff280000 /lib/libc.so.1
    0xff260000 /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
    0xfe480000 /local/j2sdk1_3_1/jre/lib/sparc/client/libjvm.so
    0xff210000 /lib/libCrun.so.1
    0xff1f0000 /lib/libsocket.so.1
    0xff100000 /lib/libnsl.so.1
    0xff1c0000 /lib/libm.so.1
    0xff240000 /lib/libw.so.1
    0xff0e0000 /lib/libmp.so.2
    0xff0a0000 /local/j2sdk1_3_1/jre/lib/sparc/native_threads/libhpi.so
    0xff070000 /local/j2sdk1_3_1/jre/lib/sparc/libverify.so
    0xff030000 /local/j2sdk1_3_1/jre/lib/sparc/libjava.so
    0xfe450000 /local/j2sdk1_3_1/jre/lib/sparc/libzip.so
    0xfd060000 /local/j2sdk1_3_1/jre/lib/sparc/libawt.so
    0xf4880000 /local/j2sdk1_3_1/jre/lib/sparc/motif21/libmawt.so
    0xfd010000 /shared/j2sdk1_3_1/bin/../jre/lib/sparc/libmlib_image.so
    0xf4600000 /lib/libXm.so.4
    0xf4580000 /lib/libXt.so.4
    0xfafd0000 /lib/libXext.so.0
    0xfafa0000 /usr/openwin/lib/libXtst.so.1
    0xf4480000 /lib/libX11.so.4
    0xfac60000 /lib/libSM.so.6
    0xfac30000 /lib/libICE.so.6
    0xf4380000 /local/j2sdk1_3_1/jre/lib/sparc/libfontmanager.so
    0xf4ba0000 /usr/openwin/lib/libdps.so.5
    0xf4860000 /shared/j2sdk1_3_1/bin/../jre/lib/sparc/libsunwjdga.so
    0xf4830000 /usr/openwin/lib/libdga.so.1
    0xf4560000 /shared/j2sdk1_3_1/bin/../jre/lib/sparc/libxinerama.so

  • Launching Browser From Swing Application - Help Needed

    Hi,
    I am opening a HTML file in Internet Explorer from my swing application.
    I am using the code given below
    private final static String WIN_FLAG = "url.dll,FileProtocolHandler";
    private final static String WIN_PATH = "rundll32";
    String cmd = WIN_PATH + " " + WIN_FLAG + " " + url;
    // url is HTML file Path
    Process p = Runtime.getRuntime().exec( cmd );
    The HTML file is opening up,but it always opens behind the swing application,that makes me every time to maximize the HTML file after it being opened up.
    I want to open it in front of the Swing Application.
    Any Help Please ?
    - Manikandan

    Browser Utility - Class to launch a URL in a web browser in
    a platform independent manner. Includes an optional swing
    GUI allowing user customization. [Open Source - GPL]
    http://ostermiller.org/utils/Browser.html
    BrowserLauncher - Open the system web browser with
    particular attention paid to various Macintosh systems.
    (Freeware)
    http://browserlauncher.sourceforge.net/
    Java World - With a little platform-specific Java code, you
    can easily use your system's default browser to display any
    URL in Windows or Unix.
    http://www.javaworld.com/javaworld/javatips/jw-javatip66.html
    JConfig - Class Libraries that allow a URL to be launched in
    a browser on Windows, Unix, or Macintosh. [Commercial]
    http://www.tolstoy.com/samizdat/jconfig.html
    Apple - MRJFileUtils.openURL() not implemented in Mac OS X.
    http://developer.apple.com/techpubs/macosx/ReleaseNotes/JavaGMWebReleaseNotes.html#MRJToolkit
    Apple - How one would open a URL in a web browser on a
    Macintosh.
    http://developer.apple.com/qa/java/java12.html

  • Deploy Swing application in sun studio

    I use Sun studio to write a swing application. How I can use this app in other computer(may be not install JDK or JRE)

    Your question doesn't have to do with SunONE Studio ...
    First off, of course the other computer needs to have at the very least a JRE installed. So if you assume they don't have a JRE, you need to arrange to deliver a JRE to them or include it with your installation procedure / tool.
    Think about the contents of a Swing/java app - it's a .jar file plus other resources (that can be bundled in the .jar file). It helps to have a launching script or .exe depending on the platform, but that's not absolutely necessary as on many platforms simply double clicking the .jar file will launch the app (assuming a JRE is properly installed).
    So deploying the application is just a matter of copying the .jar file to the system. But might involve the use of an "installer" depending on the needs of your customers.
    Another route that's unique to Java is Java Web Start - in this case you write a JNLP file (it's in XML format), put it out on a web server, and send the link around. The browser will help you to launch the application. The customer still needs to get a JRE installed, and once they do the JWS pieces are available. JWS will handle the installation of the actual application, plus if you need to update the app JWS will see the updates and copy new .jar files or whatnot to their system.
    - David

  • How to give Common Background color for all JPanels in My Swing application

    Hi All,
    I am developing a swing application using The Swing Application Framework(SAF)(JSR 296). I this application i have multiple JPanel's embedded in a JTabbedPane. In this way i have three JTabbedPane embedded in a JFrame.
    Now is there any way to set a common background color for the all the JPanel's available in the application??
    I have tried using UIManager.put("Panel.background",new Color.PINK);. But it did not work.
    Also let me know if SAF has some inbuilt method or way to do this.
    Your inputs are valuable.
    Thanks in Advance,
    Nishanth.C

    It is not the fault of NetBeans' GUI builder, JPanels are opaque by default, I mean whether you use Netbeans or not.Thank you!
    I stand corrected (which is short for +"I jumped red-eyed on my feet and rushed to create an SSCCE to demonstrate that JPanels are... mmm... oh well, they are opaque by default... ;-[]"+)
    NetBeans's definitely innocent then, and indeed using it would be an advantage (ctrl-click all JPanels in a form and edit the common opaque property to false) over manually coding
    To handle this it would be better idea to make a subclass of JPanel and override isOpaque() to return false. Then use this 'Trasparent Panel' for all the panels where ever transparency is required.I beg to differ. From a design standpoint, I'd find it terrible (in the pejorative sense of the word) to design a subclass to inconsistently override a getter whereas the standard API already exposes the property (both get and set) for what it's meant: specify whether the panel is opaque.
    Leveraging this subclass would mean changing all lines where a would-be-transparent JPanel is currently instantiated, and instantiate the subclass instead.
    If you're editing all such lines anyway, you might as well change the explicit new JPanel() for a call to a factory method createTransparentJPanel(); this latter could, at the programmer's discretion, implement transparency whichever way makes the programmer's life easier (subclass if he pleases, although that makes me shudder, or simply call thePanel.setOpaque(false) before returning the panel). That way the "transparency" code is centralized in a single easy to maintain location.
    I had to read the code for that latter's UI classes to find out the keys to use (+Panel.background+, Label.foreground, etc.), as I happened to not find this info in an authoritative document - I see that you seem to know thoses keys, may I ask you where you got them from?
    One of best utilities I got from this forum, written by camickr makes getting these keys and their values very easy. You can get it from his blog [(->link)|http://tips4java.wordpress.com/2008/10/09/uimanager-defaults/]
    Definitely. I bit a pair of knucles off when discovered it monthes after cumbersomely traversing the BasicL&F code...
    Still, it is a matter-of-fact approach (and this time I don't mean that to sound pejorative), that works if you can test the result for a given JDK version and L&F, but doesn't guarantee that these keys are there to stand - an observation, but not a specification.
    Thanks TBM for highlighting this blog entry, that's the best keys list device I have found so far, but the questions still holds as to what specifies the keys.
    Edited by: jduprez on Feb 15, 2010 10:07 AM

  • Problem with "find" mode in adf/swing application

    Hi all,
    I'm working on ADF Swing application which uses MS SQL Server 2005 (JDeveloper 10g 10.1.3)
    I think that my issue might be well-known…sorry if it has been already discussed somewhere else…
    I have a problem with the “find” mode for a detail panel in a master-detail form…(To make it clear the “find” mode is switched on when clicking on the special button on a navigation panel).
    So this mode works well in a master panel, but it demonstrates strange behavior on a detail panel, i.e. it takes me two attempts to find the necessary child object and it doesn’t switch back in a simple way from this mode to the normal mode….say if we are in the department 10 (Dept is a master form) we can’t simply find KING employee (Emp is a detail form)…is there any workaround for this?
    Thanks in advance. Alex.

    Hi Frank, please look this issue

Maybe you are looking for

  • I think itunes dosent work for windows??

    Yay, I got my new iphone 4S. I live in Shanghai. Todays date is 2012/9/23. the problem is i cant acess itunes store. This is my new laptop, so i restored my computer, downloaded iTunes for windows, installed it, went to itunes store, and  this is the

  • My printer is super slow

    When I sent something to the printer, it takes forever to print. It has just recently started doing it. I have tried to go in and change the options from the control panel, but have not been successful. Please help. Thanks, Joyce

  • Keyword Filtering and Acrobat Connect Meetings

    Interesting discovery this morning. We've had ongoing issues with remote users in other companies connecting to our meetings for the past several years, even after we'd enabled and verified communication over port 1935 as well as 443 and 80. Turns ou

  • Adobe CS6 Startup Disk Full?

    Photoshop is telling me that my startup disk is almost full.  I have over 200 GB free HD Space.  What does that mean?

  • Can list value of size can be limit in designer?

    Can list value of size can be limit in designer? How to configurate it? Thanks