Graphics generated using awt.graphics not displaying when run through a jar

I've created a small application that works fine when compiled and ran normally.
When I create a jar and run it, the application works mostly fine too, the button (there's a button in it) shows up, but the graphics produced with java.awt.Graphics don't. What's really weird is that this problem only seems to occur for some people. I sent the jar to some friends and for some of them it worked fine, while others had the same problem I have.
Can anyone tell me what's causing this and what I can do to fix it?

I would investigate by finding out what JRE versions are running on each of the users machines and then compare to see if there is a correlation between certain versions and this Graphics problem.

Similar Messages

  • RE: my input fields does not display when running the page

    my input fields does not display when running the page
    why is that so?

    Hi,
    Can you send the HTML code for us?
    Afonso

  • Included subview not displaying when run, only in editor

    Hallo -- I have a page called home.jsp that contains a subview.
    home.jsp looks like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ page language="java" contentType="text/html; charset=iso-8859-1" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <title>Untitled Document</title>
    </head>
    <body>
    <h:panelGrid width="100%" columns="1">
         <h:panelGroup>
              <h:outputText value="Hello?"/>
         </h:panelGroup>
         <h:panelGroup>
              <h:panelGrid width="100%" columns="2">
                   <h:panelGroup>
                        <f:subview id="navigationPane">
                             <jsp:include page="subview/navigationPane.jspf" flush="true" />
                        </f:subview>
                   </h:panelGroup>
                   <h:panelGroup>
                        <h:outputText value="Hello-o-o-o...?"/>
                   </h:panelGroup>
              </h:panelGrid>
         </h:panelGroup>
         <h:panelGroup>
              <h:outputText value="Where's my subview?"/>
         </h:panelGroup>
    </h:panelGrid>
    </body>
    </html>
    </f:view>
    [/code:1:ccbd93ceb2]
    And the file in the subview, named [b:ccbd93ceb2]navigationPane.jspf[/b:ccbd93ceb2] in the subfolder [b:ccbd93ceb2]/subview[/b:ccbd93ceb2] looks like this:
    [code:1:ccbd93ceb2]<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <h:panelGrid width="20%" columns="1" id="navigationPane">
         <f:facet name="header">
              <h:outputText value="Navigation Pane"/>
         </f:facet>
         <h:panelGroup>
              <h:form>
                   <h:commandLink id="gotoHome" action="gotoHome" immediate="true" style="text-align: center">
                        <h:outputText value="home"/>
                   </h:commandLink>
              </h:form>
         </h:panelGroup>
         <h:panelGroup>
              <h:form>
                   <h:commandLink id="viewByCustomer" action="viewByCustomer" immediate="true" style="text-align: center">
                        <h:outputText value="view by customer"/>
                   </h:commandLink>
              </h:form>
         </h:panelGroup>
         <h:panelGroup>
              <h:form>
                   <h:commandLink id="viewByJob" action="viewByJob" immediate="true" style="text-align: center">
                        <h:outputText value="view by job"/>
                   </h:commandLink>
              </h:form>
         </h:panelGroup>
         <h:panelGroup>
              <h:form id="quickSearchBeanForm">
                   <h:panelGrid columns="3">
                        <h:outputText value="Search By Option:"/>
                        <h:panelGroup>
                             <h:selectOneMenu id="quickSearchBean_searchByOption" value="#{navigationPaneBean.quickSearchBean.searchByOption}">
                                  <f:selectItems value="#{navigationPaneBean.quickSearchBean.searchByOptions}"/>
                             </h:selectOneMenu>
                        </h:panelGroup>
                        <h:message for="quickSearchBean_searchByOption"/>
                        <h:outputText value="Search For:"/>
                        <h:inputText id="quickSearchBean_searchFor" value="#{navigationPaneBean.quickSearchBean.searchFor}"/>
                        <h:message for="quickSearchBean_searchFor"/>
                   </h:panelGrid>
              </h:form>
         </h:panelGroup>
         <h:panelGroup>
              <h:form>
                   <h:commandLink id="gotoAdmin" action="gotoAdmin" immediate="true" style="text-align: center">
                        <h:outputText value="admin"/>
                   </h:commandLink>
              </h:form>
         </h:panelGroup>
         <f:facet name="footer">
              <h:form>
                   <h:commandLink id="logout" action="logout" immediate="true" style="text-align: right">
                        <h:outputText value="logout" style="text-align: right"/>
                   </h:commandLink>
              </h:form>
         </f:facet>
    </h:panelGrid>
    [/code:1:ccbd93ceb2]
    Just to be really clear, here is the dierctory structure for the relevant files:
    [code:1:ccbd93ceb2]/web
    |
    |
    |--/pages
    |   |
    |   |
    |   |--/app
    |   |   |
    |   |   |
    |   |   |--/subview
    |   |   |   |
    |   |   |   |--navigationPane.jspf
    |   |   |
    |   |   |
    |   |   |--home.jsp
    |   |
    |   |
    |   ...
    |
    ...[/code:1:ccbd93ceb2]
    My problem is that the subview will not display when I run the web app. In the design view I can see it just fine, but when I browse to home.jsp when running, all I get is this (from view source):
    [code:1:ccbd93ceb2]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <title>Untitled Document</title>
    </head>
    <body>
    <table width="100%"><tbody><tr><td>Hello?</td></tr>
    <tr><td><table width="100%"><tbody><tr><td></td><td>Hello-o-o-o...?</td></tr>
    </tbody></table></td></tr>
    <tr><td>Where's my subview?</td></tr>
    </tbody></table>
    </body>
    </html>
    <script type="text/javascript">
    <!--
    function getScrolling() {
        var x = 0; var y = 0;
        if (document.body && document.body.scrollLeft && !isNaN(document.body.scrollLeft)) {
            x = document.body.scrollLeft;
        } else if (window.pageXOffset && !isNaN(window.pageXOffset)) {
            x = window.pageXOffset;
        if (document.body && document.body.scrollTop && !isNaN(document.body.scrollTop)) {
            y = document.body.scrollTop;
        } else if (window.pageYOffset && !isNaN(window.pageYOffset)) {
            y = window.pageYOffset;
        return x + "," + y;
    //-->
    </script>
    [/code:1:ccbd93ceb2]
    Does anyone have any idea why this might not be working?
    I'm really stumped!
    Cheers,
       doug.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    http://forum.java.sun.com/thread.jspa?messageID=3413354&#3413354

  • Subreport not displayed when Run from SAP Business One

    We have a crystal report that displays a subreport when it is run from within the Crystal 2008 Designer but not when run from within SAP. Has anybody else seen this error? We have tried importing it into SAP and checking the connections of the report and subreport etc but to no avail.

    Sastry,
    The main report is a document layout with the sub report linked into it using the DocEntry key field from SAP. The subreport should display data based on that link.
    This main report only has the one sub report and when you preview in Crystal it returns data, when you preview using the same criteria but inside of SAP, it is not displayed.
    Thanks
    Mark

  • Icons files will not displaying when running web-based forms locally

    My icon files (jpgs) are not displaying from within Forms Developer 10g or when I run the web-based forms from within Developer. I have tried the following without success:
    6.4 Deploy Icons for Forms Running on Web
    Option One: For Running Web Based Forms from Within the Forms Builder in Oracle 10g Developer Suite
    1) Copy all the icon image files (*.jpg) to the directory of <Oracle_10g_Developer_Suite_Installation_Root_Dir>\forms\j2ee\formsapp\formsweb\icons
    2) Make sure to set imageBase=DocumentBase in the file < Oracle_10g_Developer_Suite_Installation_Root_Dir >\forms\server\formsweb.cfg.
    3) Edit the < Oracle_10g_Developer_Suite_Installation_Root_Dir >\forms\java\oracle\forms\registry\Registry.dat file, specify the icon image file extension by modifying the following line:
    default.icons.iconepath=icons/
    default.icons.iconextension=jpg
    Save this Registry.dat file.
    4) Restart the OC4J Instance.
    5) Launch the form from Forms Builder.
    I just got a new laptop and am setting everything up again. I have everything setup the same way as on my old machine (same as above). It worked fine on my old computer but not on the new one.

    hi
    try to create jar file for u r all jpgs but also u have to check the size of u r images
    and if possible try to resave the same images by using Acdsee or use any other image viewer softwares.
    hope this helps u...
    sarah

  • Console not display when run jar file

    i run jar file with command javaw -jar test.jar or double click on jar file, it's console app, it just run well but console not display, can i made console display and when i close console, it's stop jar file too?
    thanks

    i got it, javaw = no console window, i tried java command and i got error: can not access jar file?

  • Form not displayed when run- a large gray block

    I am trying to debug an existing form (which I know runs in our production enviroment). I need to debug to see what is happening to investigate the scope of a potential modification.
    My problem is that when I startup the OC4J container (no errors) and run the form from withing the Forms developer IDE, my browser launches (or attempts) and the form is nor displayed, only a 'large gray block' which I presume is the applet which should be launching my form.
    I tried to place message, in the form trigger, when-new-form-instance and when-form-navigate in order to identify if that code is been called, but I do not get the debug messages.
    I turned on edit->preferences->runtime->debug messages, and I get 1 debug alert 'please acknoledge message' when launched in my browser.
    Based on the fact that I am not getting any errors and I am getting one debug message, I presume that I need to somehow explicitly show/call the form or something similar?
    The form does have multiple canvases, which look like they are overlayed and controlled depeding on the form interaction. Does anyone have some idea to start helping me move forward with this?

    In order to run a form on your workstation using OC4J, you have to have a compatible JVM installed - typically Oracle's jInitiator, but it will work using the Microsoft JVM as well (although, not officially supported by Oracle anymore). It sounds like you have the default set to use the Microsoft JVM. If you hover your mouse over the "Gray Area" do you see the message: "Click to activate and use this Control." Have you tried to just click on the gray area to see what will happen?
    If you have installed Oracle jInitiator, did you modify the "formsweb.cfg" file to specify the Browser's JVM option?
    Hope this helps,
    Craig...

  • Form does not appear when run through Form Builder

    Hello,
    We are trying to get a new installation of Form Builder 10g to work. When we try to run the form, the Forms Service browser comes up, but the form does not. We are likely missing a setting in some config file. Can anyone help us?
    Thank you,

    Thanks for your efforts.
    I have searched the forum, but maybe have not hit the correct key words yet. If you can suggest better search parameters than I have used, I will try again.
    The popup blocker settings are the same as on other PCs that work correctly.
    Our tnsnames is also good, as we are connecting through Form Builder.
    I tried researching the error message that was requested, but the error code and message did not match up.
    I would appreciate any other suggestions.

  • Help topics are not displaying when using Windows 7 / IE 9 / RH10

    We recently upgraded our library from RH8 to RH10.  Also used a trial version of  RH9 in this process. Now when we compile several of the projects have issues where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (like it is trying to load).  If you right-click on the topic it displays (we are currently using this as the work-around).  Anyone else having this problem?? I saw something similiar for Windows8/IE10, but the fix does not apply here (http://forums.adobe.com/message/5138909#5138909#5138909).

    Hi,
    I (April) apologize I have been OOO and have not been able to respond to your replies.  
    Let’s start over. 
    We have an issue where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (flickering like it is trying to load). If you right-click on the topic it displays (we are currently using this as the work-around).
    We use Windows 7, IE9 and RH10 for all our projects. (Recently upgraded from RH8 to RH10)
    Turns out the problem is not isolated. I have run across it in at least one other project, which leads me to think it also occurs in others.
    "Does this only occur when the help is called from your software? Is it OK if you double click the start page?"
              No. I it ALSO occurs when launched from the start page. 
    Have you tried deleting the CPD file and reopening Rh and the project?
              Yes, without success.
    Are you using any redirects?    
              Per (Adrienne), “I am not using any redirects. I encounter this issue only in IE. If I paste the .htm into a Firefox browser, the help displays as it should.” 
              I will add that the project also displays incorrectly in Google Chrome.
    Thanks  April

  • Module borders not displaying when using Aggregator

    I am using Captivate 4.  I created a TOC for both modules in a project. Then I created an Aggregator to connect them and display both TOCs.
    The issue I am havving is that the individual modules have borders on all 4 sides, yet they do not display when using the aggregator. How do I correct this?
    Thank you.

    Lenny,
    I apologize for not having an answer to your question, but I'm envious that you've successfully configured mod_jk. I've read several different versions of how to configure this, but nothing has worked so far. I wonder if you could either point me to some correct instructions on how to integrate Apache and Tomcat so I might try to duplicate your success.
    Thanks in advance,
    Vince

  • My edited photos will not display when clicked on, a large triangle with exclmation comes up

    my edited photos will not display when clicked on, instead a large grey area comes up wiht a triangle /exclamation sign. 

    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption. 

  • Sharepoints not displayed when connecting via FTP

    Hi All,
    Leopard Server 10.5.8 xserve 2 G5
    I have an issue with the built in FTP server.
    All my share point are set to be shared via FTP, yet they are not displayed when users log in and access the server via FTP.
    In Server Admin, Authenticated users see: FTP Root and Share Points.
    All relevant users have access to the FTP service, in the server settings.
    ACL permissions have been set correctly for those users.
    This is *sudo sharing -l* tells me, for all share points.
    name: Archive
    path: /Volumes/External RAID/Archive
    afp: {
    ftp: {
    name: Archive
    shared: 1
    guest access: 0
    smb: {
    Is there anything that I missed?
    Thanks for you help,
    Johan
    Message was edited by: JohanDouma

    Hi,
    Sorry for the late respons.
    My config:
    1 mac mini with OSX Server leopard
    1 airport extreem
    1 external HDD LaCie
    An airport Extreme has the posibility to share a network drive. So I plugged in my HDD into the airport extreme and configured the thing.
    Than I turned to the mac mini. And started configuring my sharepoints.
    So one of my sharepoints is the external HDD.
    There are several directories on there that I want to make available thru the legacy protocol FTP.
    So by just making these sharepoints available thru FTP i expected for these sharepoint to show up in mij directories if I connect to my external IP with a FTP client like CyberDuck.
    (portforwarding and everything is not the problem, because I can make a connections and all directories show up as browseable.
    But the sharepoint I made on the network drive just show up as an bin or another kind off file I can't open.
    Everything else is browsable..
    They show up by the way in the root dir of the FTP Server as regular symbolic links.
    Thru Finder I can browse them and do everything. But as soon as i connect over the internet, lan or whatever, these symbolic links are not the access point towards the directory underneath.
    They show up with the correct name just not as an dir I can open.
    Hope this helps
    Grtz and thnx
    (typed on an iPad and not fully used to it)

  • Why is it when I add photos from iPhoto onto an iMovie project, it is not displayed when I play the movie from beginning to end, although I can see it in the (edit) format?

    Hi everyone,
    I'm just wondering why is it that when I place an image from iPhoto to an iMovie project, it is not displayed when I play it from beginning to end in fullscreen playback mode? However, when I exit it on the timeline, it is shown. All I did as drag it from the iPhoto column and place on at the beginning. I would really appreciate someones help because I really need to be able to place images onto my projects. Thanks!

    Sounds like your talking about iMovie for Mac?
    This is the iOS version, repost here:
                                                      iMovie

  • Adobe PDF files will not display when called via a link in page (FF 4.01)

    adobe PDF files will not display when called via a link in page.
    This happens when testing new web page from DWeaver CS5 - all other browser tests are OK (IE9, Safari5.05, Chrome etc.)

    [moved to the Adobe Reader (desktop) forum]

  • In iPhoto (09) I can add a description to a photo which will display when running the slideshow, however when I sync the Album to my iPad and I run slideshow the description does not display, WHY?

    In iPhoto (09) I can add a description to a photo which will display when running the slideshow, however when I sync the Album to my iPad and I run slideshow the description does not display, WHY?

    I'd ask that on the iPad forum.

Maybe you are looking for

  • UIX Search Form "difficult" question

    OK, Say you dragged and dropped UIX search form onto the page. When you start the page it will render the result table without specific where criteria set, ie SELECT * FROM TABLE; Questions: 1) How to add default WHERE clause for the first time when

  • Log HR infotype changes without a Mod like Change Documents

    We need some help with a requirement. We need to monitor HR infotype changes. We would like to be able to trigger a event like a change pointer and IDOC. However, we are trying to stay away from mods to our system. We are needed fields from 0000,0001

  • ITunes installer has encountered a problem. Windows xp 32 bit

    I burned iTunessetup to a cd and now it tells me that iTunes installer has encountered a problem. I don't have Internet. How do I solve this? Is it the iTunes? Or my pc? It's a windows xp pro 32 bit Service pack 3. Is there something I can do???

  • Bc4j jsp calendar deployment problem

    Using jdeveloper 9.02 I made a simple webapplication with bc4j jsp's and deployed it to oc4j (9.0.2.1) directly from jdeveloper as described in the help. This works fine, except for the calendar (datepicker). When the calendar is loading in a separat

  • Is there a fix for my video and audio stopping in the middle of playing but the video timer keeps going

    This happens on YouTube, Safari and Music videos. I just got my iPhone 5s a week a go and this has been a problem since day 1. My phone is not jailbroken. Let me know if there's any other relevant information that would be helpful in answering this q