Swing application in JRE 1.5 Vs JRE 1.6

hi,
i have developed my application in java swing and JRE 1.5. Its working fine.
But, when i am executing it using JRE 1.6, then some control, i.e. Jbutton is not visible. When i am moving mouse over that control then it is visible.
Another problem i am facing is that, Tabbed pane is not showing properly in JRE 1.6. when i am clicking on any tab, then tab pane is appearing properly.
so, what is the problem ?
how to resolve it.?
please help me, its urgent.
Thank You.

Hi,
I think there are some changes in 1.6 vs 1.5 swing packages. I made a gui app in net beans using 1.6 and I cannot compile it in 1.5. I think 1.6 introduced new classes & what not.
In other words, i'm not surprised there are some issues, I would either redo it in 1.6 or stick with 1.5

Similar Messages

  • Question about JRE and Swing applications

    Hi i trying to make a Swing application whit some clients but one of them tell me that he have a lot of troubles whit java, because someone make an applet for his website and when he upgrade the JRE the applet dont work anymore.
    In my case i dont want any applets, i want swing, but a im not sure if
    swing uses the JRE and if the application im going to make, may have troubles when they upgrade de JRE.
    Tanks for de answers and sorry for my english

    In general, Java maintains upward compatibility (older code runs in newer Java releases.)
    Certain exceptions are made, and each major Java release identifies these. The current document can be read here:
    http://java.sun.com/j2se/1.5.0/compatibility.html

  • To run webutil application with jre

    Hi All,
    I have successfully configure webutil on both DS and AS. In my application server when i try to run my form only the project name [webutil] runs with jinitiator but with the others with different name which include jre not working the webutil part in the formweb.cfg file. I used the [webutil] configuration as follows-
    [webutil]
    workingDirectory=/home/oracle/support/aiblss_forms
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=server
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=basejpi.htm
    baseHTMLjinitiator=webutiljini.htm
    baseHTML=webutilbase.htm
    baseHTMLjpi=webutiljpi.htm
    #archive_jini=frmall_jinit.jar
    lookAndFeel=oracle
    form=LOGON_FORM.fmx
    width=100%
    height=100%
    jpi_download_page=https://java.sun.com/products/archive/j2se/1.4.2_09/index.html
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93what i need to change or add to run my application with jre and webutil?
    Regards
    Arif

    Hi,
    I have used the following conf in formsweb.cfg file but not works properly. I m getting the error of loading webutil settings.
    [sunwebutil]
    IE=native
    baseHTMLJInitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA
    jpi_codebase=http://57.200.1.63:52003/forms/jinitiator/jre16016.exe#Version=1,6,0,16
    jpi_mimetype=application/x-java-applet;version=1.6
    jpi_download_page=/forms/jinitiator/us/jinit_download.htm
    #jpi_download_page=https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProduct
    #Detail-Start?ProductRef=jre-1.5.0_06-oth-JPR@CDS-CDS_Developer
    # Webutil:
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    # archive including rich text editor
    archive=frmall.jar,hst65.jar,HTMLEditorLight.jar
    # application-specific
    #workingDirectory=/home/oracle/support/aiblss_forms
    #otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% query_only=%query_only% quiet=%q
    #uiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log%
    form=LOGON_FORM.fmx
    #term=/software/dutrf65w.res
    #envFile=/software/ontw/<application>/<application>.env
    height=100%
    width=100%
    record=forms
    #tracegroup=33,35,39,45,64-69,98,101
    separateFrame=true
    splashScreen=no
    lookAndFeel=Generic
    colorScheme=blaf
    background=NO
    pageTitle=Welcome to AIBL Online Support System
    # to find *.gif files in jars
    imageBase=codebase
    what to change more. please specify.
    Arif

  • 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?

  • JNLP - Swing application compiled in jdk1.5 not working in jdk1.6

    I have one swing application, compiled in jdk 1.5 and deployed in JNLP with jdk 1.5. When client machine try to access the application and having jre 1.5 then it works fine. but if client machine having jre 1.6 or version greater than 1.5 then application does not work properly.
    Please help me, i got stuck and not able to solve the problem.
    this is my JNLP
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://10.1.1.145:8080/uttimesheet" href="launch.jnlp">
    <information>
    <title>TimeSheet Portal</title>
    <vendor>Geometric Global</vendor>
    <description>A simple java desktop application based on Swing Application Framework</description>
    <description kind="short">TimeSheet Portal</description>
    <homepage href="http://appframework.dev.java.net"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.5+" />
    <jar href="UTTimeSheet.jar" main="true" download="eager"/>
    <jar href="lib/antlr-2.7.5H3.jar" download="eager"/>
    <jar href="lib/appframework-1.0.3.jar" download="eager"/>
    <jar href="lib/asm.jar" download="eager"/>
    <jar href="lib/cglib-2.1.jar" download="eager"/>
    <jar href="lib/commons-collections-2.1.1.jar" download="eager"/>
    <jar href="lib/commons-logging-1.0.4.jar" download="eager"/>
    <jar href="lib/dom4j-1.6.jar" download="eager"/>
    <jar href="lib/hibernate3.jar" download="eager"/>
    <jar href="lib/jta.jar" download="eager"/>
    <jar href="lib/log4j-1.2.9.jar" download="eager"/>
    <jar href="lib/poi-3.0.2.jar" download="eager"/>
    <jar href="lib/postgresql-8.3-603.jdbc3.jar" download="eager"/>
    <jar href="lib/swing-layout-1.0.3.jar" download="eager"/>
    <jar href="lib/swing-worker-1.1.jar" download="eager"/>
    <jar href="lib/swingx-0.9.2.jar" download="eager"/>
    </resources>
    <application-desc main-class="timesheetproject.TimeSheetProjectApp">
    </application-desc>
    </jnlp>
    Thanks in Advance.

    Thanks Luca for your time,
    we have deployed application in tomcat and changed the home page of tomcat to our application home page(html page). and url is http://10.1.1.145:8080/
    Application home page contain link to jnlp. so whenever user click on link (in home page) then jnlp will execute and launch the swing application.
    do you need some more clarification?
    below is the home page(html).
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Launch TimeSheet Portal via JNLP</title>
    </head>
    <body>
         <center>
              <br>
              <img src="images/Geo-logo.JPG" />          
              <br>
              <hr width="70%" />
              <br>
              <table width="70%">
                   <tr><td> </td></tr>
                   <tr>
                        <td colspan="2" align="center">
                             <align="center">
                                  <h2>Welcome to TimeSheet Portal.</h3>
                             </align>
                        </td>
                   </tr>
                   <tr><td> </td></tr>
                   <tr><td> </td></tr>
                   <tr>
                        <td align="center">
                             <align="center">
                                  <h3><u>Live Sites:</u></h3>
                             </align>
                        </td>
                        <td align="center">
                             <align="center">
                                  <h3><u>Demo Sites:</u></h3>
                             </align>
                        </td>
                   </tr>
                   <tr>
                        <td width="50%" align="center">
                             <img src="images/launchPortal.png" onmouseover="this.src='images/launchPortalMouseOver.png';" onmouseout="this.src='images/launchPortal.png';" border="0"/>          
                             <br><br>
                             <img src="images/launchAdminPortal.png" onmouseover="this.src='images/launchAdminPortalMouseOver.png';" onmouseout="this.src='images/launchAdminPortal.png';" border="0"/>          
                        </td>
                        <td width="50%" align="center">
                             <img src="images/demoPortal.png" onmouseover="this.src='images/demoPortalMouseOver.png';" onmouseout="this.src='images/demoPortal.png';" border="0"/>
                             <br><br>
                             <img src="images/demoAdminPortal.png" onmouseover="this.src='images/demoAdminPortalMouseOver.png';" onmouseout="this.src='images/demoAdminPortal.png';" border="0"/>
                        </td>
                   </tr>
                   <tr><td> </td></tr>
                   <tr><td> </td></tr>
         </table>
         <table width="70%">
              <tr><td> </td></tr>
              <tr><td> </td></tr>
              <tr><td align="center">
                   FAQ   |  
                   Help   |  
                   Why Timesheet   |  
                   Report a bug   |  
                   Contact Us   |  
    Subtask Mapping   
              </td></tr>
         </table>
         <br><br><br><br>
         <table width="70%" bgcolor="#C0C0C0" style="vertical-align: bottom">
              <tr>
                   <td colspan="2" align="center" style="vertical-align: bottom" bgcolor="#C0C0C0">
                        ©<font size="1.5" face="Verdana"> 2008 Geometric Ltd. All rights reserved.<br>
                             Best optimized for a resolution of 1024 and above. JRE 1.5 is a pre-requisite                          for using these applications.
                        </font>
                   </td>
              </tr>
         </table>
         </center>
    </body>
    </html>
    Thanks.

  • 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.

  • 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

  • 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

  • How to setup JAWS for Java Swing applications

    Hello All,
    I am having one swing application and need to test with JAWS.Could you please let me know the configuration steps.I tried with the following steps and it is not working properly.
    1. Install JDK1.5.0_08
    2. Install JAWS 7.0
    3. Install SUN accessbridge-2_0_1
    4. Copied access-bridge, jaccess-1_4 and accessibility.properties to jre\lib\ext
    it is not identifying even buttons also.
    Thanks & Regards,
    Gana

    Hello there,
    Gana, Ana
    I have the same problem
    1. Install JDK1.5.0_08
    2. Install JAWS 7.0
    3. Install SUN accessbridge-2_0_1
    4. Copied access-bridge, jaccess-1_4 and accessibility.properties to jre\lib\ext
    and nothing

  • The best way to distribue att Swing Application?

    How can I do this?
    If I give it out in .class format only them with J2SE will be able to run it..
    how do you do it?
    Tanx for any help!

    Hi,
    it depends on how you distribute your Swing
    application. If you distribute it on CD, then include
    a JRE on the CD.
    Or you could try to convince or attract your users to
    download the latest JRE themselves before the first
    usage of your application.
    If you distribute your application through the web,
    put two buttons on a HTML page, one linking to a JRE
    download (with some installation instructions before
    the start of the download), the second button being a
    JavaWebStart button for your swing application.
    Or you could use InstallAnywhere and bundle JRE and
    application into an installer.
    HTH
    Ulrich
    Tanx
    Go to http://forum.java.sun.com/thread.jsp?forum=31&thread=335146
    and write anything and I'll give you a duke dollar

  • Tuning GC parameters for a large Swing application

    Our Swing application suffers from periodic out-of-memory errors. We have been trying to tune the application with limited sucess.
    The problem is full GC is called only when it is close to the maximum memory. As a result when it reaches the max-heap-size values, it takes a long time to complete GC and the application hangs.
    My current jnlp settings are as follows:
    <j2se version="1.5+" href="http://mydomain/myapp/jre" initial-heap-size="64M"
      max-heap-size="384M"
      java-vm-args="-verbose:gc -Dsun.java2d.noddraw=true -XX:NewSize=16m -XX:SurvivorRatio=8 -XX:YoungGenerationSizeIncrement=5 -XX:TenuredGenerationSizeIncrement=5 -XX:AdaptiveSizeDecrementScaleFactor=5" />I am looking at ways by which the tenured generation too gets garbage collected peiodically. Is there a way by which I can achieve this?

    for first one, try paintImmediately(rectangle) method. for second one, i guess Graphics g = panel.getGraphics();
    g.drawRect(....);

  • Is there free java chat, which i can embed in my Swing application

    Hello all,
    I have a Swing application and i want to embed java chat into it.
    Can you recommend me free chat for which i can see and modofy client and server sources.
    Regards,
    Chavdar

    No.

  • 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

  • How to get mouse wheel action in my swing application?

    Hi
    In my mouse, i am having mousewheel to support scrolling.With the help of the wheel, i can scroll the pages in IE browser or any other appliction.
    In swing application ,i have scroll bar inside a JFrame.I want to have mousewheel action in my swing application to support scrolling.
    any idea ???
    Thanks

    As far as I know,there is no facility for detecting mouse scrolling wheel in JDK 1.3.
    Check it in the later releases of JDK.

  • I want to implement thems functionality in  my swing application

    Hi All...
    I want to implement the themes object in my swing application,How ,where to start and move that functionality,If anybody use this functionality in your program experience can u share with me.
    Than to Advance
    ARjun...

    Hi Kuldeep Chitrakar
    I can do that in web intelligence. dont want that
    I am replicating some of the sample report of SQL Servers in BusinessObjects XI R3.1.
    One of the SQL Sever's report is of product catalogue type that gives complete information like name, category, description along with the products image etc... for each of the products.
    I am trying to replicate the above said SQL Server report in Business objects XI R3.1. I am facing problem in bringing the image in to my BO report. The image resides in a table and its datatype is of varbinary(max). I don't know the exact matching while creating an object in the uiverse designer.
    Here is the url link http://errorsbusinessobjectsxir3.blogspot.com/2010/10/business-objects-image-errors.html
    Regards
    Prasad

Maybe you are looking for

  • Fixing the creative zen xtra - creative firmware won't bring me dow

    Hi all, Recently my zen xtra crashed as a result of Creative's shoddy firmware! Anyway, I'm out of warrenty, creative want to try charge me about 20 quid and I ain't having that (read my other posts you'll hear the whole story) Well now I've decided

  • My printer (HP Laserjet 2100) is no longer working after upgrading

    My printer (HP Laserjet 2100) is no longer working after the upgrade; it just spits out page after page of error codes and blank pages. I've tried using both the HP driver and a generic driver. This is being accessed over a network. Has anyone encoun

  • IW21 Retrieving the maintenance cycle text while creation of work order

    Hi Experts, My requirement is to display the maintenance cycle text on the print preview while creating a work order via transaction IW21. Since the print preview is clicked before saving the work order, the data from the work order has not been upda

  • G/L A/c Determination

    Dear Experts, Could you give details information of G/L A/c Determination which A/c we should defne. Regards

  • JFace and SWT -Eclipse

    Hi all, I wanted to know the best resources available on net for JFace and SWT learning. As I have no experience in GUI coding, which is best and faster way to learn JFace and SWT. Also I want to know any good forums for Eclipse. Please help guys. Th