All Java applications have corrupt GUI

Hi,
in most Java apps I can't see Buttons, Text and Scrollbars. I installed the latest Java release but it does not help. What can I do?
Wolfgang

My System is always up to date. As it didn't work I installed Java 5r5 from http://www.apple.com/support/downloads/javaformacosx104release5.html, but it does not help. I have this problem on two iMacs 24" (non-alu).

Similar Messages

  • ALL WIDOWS APPLICATIONS HAVE BEEN CONVERTED TO PDF FILES AFTER SENDING EMAIL ATTACHMENT IN READER 11

    Any help very appreciated.   I can clear the problem by uninstalling adobe reader 11.    But as soon as I re install the problem comes back all over again.
    Adobe technical will not help

    Here you go ---> Application, file icons change to Acrobat/Reader icon

  • Running a Java application from a Swing GUI

    Hi,
    I was wondering if there is a simple way to run a Java application from a GUI built with Swing. I would presume there would be, because the Swing GUI is a Java application itself, technically.
    So, I want a user to click a button on my GUI, and then have another Java application, which is in the same package with the same classpaths and stuff, run.
    Is there a simple way to do this? Do any tutorials exist on this? If someone could give me any advice, or even a simple "yes this is possible, and it is simple" or "this is possible, but difficult" or "no this is not possible" answer, I would appreciate it. If anyone needs more information, I'll be happy to provide it.
    Thanks,
    Dan

    I don't know if it is possible to run the main method from another Java app by simply calling it...
    But you could just copy and paste the stuff from your main method into a new static method called something like runDBQuery and have all the execution run from there.
    How does that sound? Is it possible?
    What I'm suggeting is:
    Original
    public class DBQuery{
    public static void methodA(){
    public static void doQuery(){
    methodA();
    public static void main(String[] args){
    // Your method calls
    //Your initializing
    doQuery();
    }Revised:
    public class DBQuery{
    public static void methodA(){
    public static void doQuery(){
    methodA();
    public static void doMyQuery(){
    // Your method calls
    //Your initializing
    doQuery();
    // No main needed!!
    //public static void main(String[] args){
    // Your method calls
    //doQuery();
    //}

  • Same favorites content in different Java application

    Hi all,
    The situation I faced is that there are several Java applications with their corresponding JavaHelp running in one machine. I found that the favorites added in the help of application 1 can be seen in the help of application 2 (even I haven't added any favorites for application 2).
    According to the JavaHelp Spec, I know that the favorites are stored in the user's directory in the file userdir/.JavaHelp/Favorites.xml, making favorites to be global for all Java applications. However, I don't think that it is reasonable as the help content for different Java application should be different, so as the favorites.
    Is there any way that I can have its own favorites for each Java application?
    Thanks for reading this.

    You can copy a component with the same name in a different application if the two applications are based on different schemas.
    Eg: Application1 based on Schema1
    Application2 based on Schema2
    You can have a form (Say Form1) in both the applications.

  • QuickTime installation breaks all Java programs.

    There is a bug in the QuickTime installation program for Windows that causes all Java programs to fail whenever QuickTime is installed or updated. As part of the installation, QuickTime updates the system environment variable CLASSPATH to reference a Java .jar file needed by QuickTine in order to run properly. This reference is C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip.
    The problem is that in Windows, any file path that contains whitespace characters must be enclosed in quotation marks. This is because on the command line, Windows interprets any whitespace character to be a parameter seperator. So when Windows tries to resolve the file path, it resolves to two seperate paths, "C:\Program" and "Files\Java\jre1.6.0_01\lib\ext\QTJava.zip". This causes all Java applications to generate the following error: java.lang.NoClassDefFoundError: Files\Java\jre1/6/0_01\lib\ext\QTJava/zip.
    The solution to this problem has been well known for years, is widely published, and is very simple to implement. Enclose the file path in quotation marks, so that the CLASSPATH entry is exactly as follows (including quotation marks) "C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip". This tells Windows that everything inside the quotation marks is a single parameter, which then lets all Java applications run properly. Everytime there is a new version of QuickTime I have to field numerous complaints from co-workers that they can no longer run our Java applications. This bug has existed for at least two major release versions, 6.x and 7.x.
    Please fix this bug.
      Windows XP Pro  
      Windows XP Pro  

    A jar file does not have to be an installation program. The jar file can be your entire program neatly encased into one file. If you mess around with the manifest file, the jar file can be executed by double clicking on it.
    Example: You have a program that you execute from the command line using: java Program
    First, write a text file that has:
    Main-Class: Tagssave it as manifest.txt. Make sure to put a blank line at the end of the file. Then, on the command line, type:
    jar cvfm Prog.jar manifest.txt *.class
    Done! Double click on Prog.jar and let me know if that is what you were looking for.
    Brad

  • I've deleted all my applications... how do I get them back?

    Well, after an overnight red-eye, a long day then an early start I managed to do something weird to my Pearl. Basically all my applications have gone... when I press the applications button I get a blank screen, all the applications down the lefthand side (on Zen) are blank.
    I can see my mail if I press the camera hotkey and then do switch application (all my mail is still there), I can make calls by typing the name/number of who I need to call.
    It's just all my applications have disappeared!!!
    Anybody know how I restore my unit... i've tried hard reset, loading the latest software but it's getting me no where.
    Really appreciate any assistance possible.

    I would first recommend another powered-on, battery pull reboot.
    When you do, if the homscreen does not return, go to Options > Themes, and try changing themes, and see if you get your applications icons back.
    You can also switch applications by simply pressing ALT + ESCAPE (the key right of the trackball).
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Unable to insert french chars to db from java application

    I'm using jdbc type IV driver (jdk 1.2) to connect to Teradata from my application(which is hosted on Unix box).
    I'm executing the sql using Statement.executeBatch.
    One of the values I'm trying to update the database with has a french character- like caf�
    The query gets printed on the console correctly with the word 'caf�' but it is stored as 'caf?' in teradata db.
    When I directly update teradata db, I'm able to update it with these characters successflly.
    And PreparedStatement might have handled this, but I need to use Statement as
    batch mode works only with Statement for this jdbc driver.
    Any idea what could be the solution for this problem?
    Thanks

    I read somewhere that Teradata can also read
    unicode.Anyway this column is set to Latin. And Im
    able to directly insert records.
    I view the records using teradata sql assistant - and
    the records inserted by the java application have a ?
    for french character whereas the ones I inseretd
    manually are displayed correctly.Ok, so that lends more credit to one_dane's response. Somewhere in your Java code you are munging the string.

  • JCO-Java application unable to open a Frontend GUI session

    Hello,
    <P>
    I am having a problem opening a GUI session on a client PC through the JCo java call. It works on some PC's when I am logged in, but not on my PC. But other persons who login on my PC do not have a problem with the application opening a GUI session. I am at a loss. I have had a basis consultant look into this and he could not find a reason for the problem. I have submitted a customer message to SAP and am being told to file this issue in the forum, so here it is. If this is the wrong forum, please let me know which forum would be the correct one.
    </P>
    <P>
    Problem:</br>
    For test purposes, I have created a Java application using the SAP standalone SAPJCO3 vers. 3.0.1. The R/3 backend is 4.6C. The SAPGui version is 7.1 patch level 13 installed on a Windows XP Pro client PC. The application is supposed to start a Frontend GUI session as part of the initial process. This is not working on all PCu2019s for all users. The following are scenarios for two different users on two different PCu2019s, logged on and executing the Java application. The parameters for the Java application are: User, Password, and System Id in this order on the command line after the Java applicationu2019s name. The system Id in our example is PRP in uppercase. This problem happens while connecting to any of our R/3 instances.
    </P>
    <P>
    Testing of the issue:</br>
    Scenario 1:</br>
    User gmcghie: This user is the primary user of his/her PC. This PC has not had its registry entries cleaned up for a long time. Starting the Java application from the Windows command line with the supplied parameters, the program is executed and makes the initial connection with the R/3 backend. When the R/3 system sends back a request to start the GUI session, the SAP Logon is executed and opens on the PC. Nothing seems to happen after this.
    <P>
    Here is the JCO exception from the log file:
    JCoException eDest: (136)com.sap.conn.jco.JCoException: (136) JCO_ERROR_ILLEGAL_STATE: Launching SAP GUI failed, though it was requested (error message: Communication with SAPGUI timed out)
    </P>
    <P>
    When you right click on the SAP Logon icon that is in the Windows System Tray on the PC you see an entry that shows a session for Client 000. This is the wrong client being called by the application. The client being called is 600 in this particular scenario.
    </P>
    <P>
    Here is the connection string sent to backend for scenario 1:</br>
    TYPE=A DEST=PRP USER="gmcghie" PASSWD=********** CLIENT=600 LANG=E ASHOST=10.212.120.53 SYSNR=00 TRACE=1 PCS=1 USE_SAPGUI=2
    </P>
    <P>
    Scenario 2:</br>
    User mshin: This user is the primary user of his/her PC. This PC has had the OS re-installed on it within the last few years, hence the registry is likely more clean. Starting the Java application from the Windows command line with the supplied parameters, the program is executed and makes the initial connection with the R/3 backend. When the R/3 system sends back a request to start the GUI session, the SAP Logon is executed and opens on the PC. The connection is made to Client 600 and the process ends. The screens that appear above for the other scenario are not present when the connection is successful. The log file is not included for this as it was empty because it succeeded.
    </P>
    <P>
    Here is the connection string sent to backend for scenario 2:</br>
    TYPE=A DEST=PRP USER="mshin" PASSWD=********** CLIENT=600 LANG=E ASHOST=10.212.120.53 SYSNR=00 TRACE=1 PCS=1 USE_SAPGUI=2
    </P>
    I have the same issue on my PC as the first scenario.
    <P>The steps I took to try to get this to work are as follows.</br>
    1. Un-installed and re-installed the SAPGui, several times with no change.</br>
    2. Compared the registry settings of SAPGui between working and non-working PCu2019s. These were essentially the same.</br>
    3. Compared the system variables between working and non-working PCu2019s. These were essentially the same.</P>
    It should also be noted that if user u2018gmcghieu2019 from scenario #1 logs into another PC, the program executes correctly (for most other PCs but not all). Finally, if user u2018mshinu2019 from scenario #2 (certain other users as well) logs into Windows on the primary PC for user u2018gmcghieu2019 from scenario #1, and user u2018gmcghieu2019 is used to connect to SAP using the Java program, the program executes correctly. It seems that this would indicate some problem with the useru2019s Windows account on certain PCs.</P>
    Why is the connection information being dropped? How is the process of opening the SAPGui on the frontend done?</P>
    Any help with this issue is greatly appreciated.</P>
    Thanks,</br>
    Mark Shirkey

    Created Customer Message and got answer. There were settings in Windows Registry for starting the SAP Logon Launch Pad which had to have a value of 1.

  • Flash as GUI for Java application or C++ executable

    I will need to create a flash frontend for a standalone application, preferrably written in java or c++. The application is needed to access some custom hardware and flash is desired for visual appeal.
    I've been searching the web about displaying flash in java or c++, but I couldn't find anything more than unanswered questions or projects that have apparently died (like swt.flash)
    As a last resort, we could do it as a servlet on localhost, that would be accessed via http by flash running in a projector.. Or even worse, a php script accessing a java application being accessed by flash from a projector.. but that seems like a wery wide workaround.. An application hosting a swf, communicating both ways directly would be much better.
    So.. does anyone have any idea if this is still possible and if so, how?
    Thanks.

    Hi, try to read
    Note 314568 - SAP GUI for HTML functionality / Limitations / Sp. Behaviour
    and all other information directly
    SAP GUI Family
    Regards.

  • Embedding Internet Explorer GUI in Java Application

    let me preface this post by saying that i have seen the javatip66 reference on javaworld.com and that has considerable merit. i may end up using that methodology.
    what i would like to be able to do, of course, is to embed JUST the "HTML pane" of IE/Netscape (excluding ToolBar and Address Bar, etc) inside a Java application. i am not an MFC developer, so i'm not sure where to begin looking or if JNI will allow me to hack that dll.--or even if that canvas/panel/whatever can be invoked independently to render a document.
    i have several complete, fully working GUI applications that use the javax.swing.JEditor interfaces to display various mime formatted documents (content types such as "text/html" and "text/plain"). unfortunately, the Java implementations of these Editors don't sync with what everyone is used to in IE/Netscape...to the degree that content is intractably mis-displayed (is that a word?)
    worst case scenario, i will invoke a new browser to display content, but i would prefer to frame those browsers in my applications. thoughts?
    note: one of the primary problems is the the JFC classes support only up to HTML 3.2 which is as good as archaic these days.

    i think you just nailed it. i do imagine that this is the correct forum for this, but i could cross-post to the Swing forum. certainly it is going to require switching on the version of Windows. perhaps we can find a general/create a discussion on integrating ActiveX controls in Java. [man, this is just the most bass ackwards thing ever. hate doing this kind of thing, but it's the "state of the world."] (at least until Sun/3rd party gets a reasonable HTML document renderer.)

  • I can't get any java applications at all to apply "gtkLookandFeel"

    I tried the methods provided in the wiki, attempted using the swing.properties file, even running it with java directly(with the options enabled) and all of them have absolutely no effect whatsoever, I still get the default "metal" theme in all java windows except for eclipse.

    One such application is geograbra
    when run from console,  I get this :
    Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
    I've attempted to put
    export _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
    in the usual places, /etc/profile.d/jre.sh, .bashrc, and as well trying to run
    java -jar -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel /usr/share/java/geogebra/geogebra.jar
    to no avail

  • How to start a java application by double clicking just like windows gui?

    Hi,
    I want to open the user-defined file in my java application. The way is like the notepad in windows:1.double click the file name 2.the file is opened in the java application 3.if this file has opened at the same time ,then the last opened will be read-only.
    Could you tell me how to carry it out ? Thank you
    from Maria

    !!! Please give me a help! i am thirsty for itSo, to get this straight, you have a Java application in a jar. For some reason, you do not execute this directly. Are you aware that you can execute a jar directly without the need to write a C++ exe to do it?
    Anyway, for some reason, instead you have a C++ application which launches the JVM with your jar main class.
    Well, you want to do two things. First of all, on Windows level, you need to associate the file type of your user file with your application. Note that they have to have a specific file extension that you choose. To associate the file type with an executable, you open a windows explorer, go to View, Folder Options, File Types and add an entry for your file type and specify it to open with your application. If you do not know how to do this, google for "windows associate file type with program executable" or something alike.
    Now, if you double-click one of your user files, the associated exe will open, and it will receive the file name as a command line argument. In your C++ application, you will need to pass this argument, a file name, to the Java application where you launch it.

  • All java GUI apps suddenly never repaint

    This isn't really a programming question, but I've had a hell of a time finding help resources elsewhere (Sun's got the balls to charge money for the support document that will most likely help me!). Does anyone know anything about what might cause all Java GUI apps to never repaint? I just installed the Java 1.5 update 4 JRE & JDK, I'm running Windows XP SP2, and I have dual monitors, although turning the second one off (via the control panel) doesn't seem to help.
    Neither my own software nor commercial software will work (even NetBeans). They all load an empty JFrame, or paint themselves once and never again. Console apps seem to work just fine, though. If anyone knows how to fix this, has any suggestions on what I should try, or can tell me where to look for a solution, I'd be very grateful.
    Thanks,
    Tim

    I appreciate the help, and maybe I'm not following you, but this is happening for ALL Java GUI apps, even NetBeans itself won't repaint. Not sure how I have control over NetBeans's UI thread?
    Thanks
    Tim

  • I bought a second hand G4 iBook with iLife 09 on it.  I have copied iLife to my new Macbook Pro. The applications would not open, so I did a software update and update all three applications, but they will still not open.  Can anyone help?

    I bought a second hand G4 iBook with iLife 09 on it.  I have copied iLife to my new Macbook Pro. The applications would not open, so I did a software update and update all three applications, but they will still not open.  Can anyone help?

    The seller should have given you the original disk so that you can reinstall as needed. But it likely was a single-user license (which really means single computer) so you can only have a copy on one computer at a time. If the seller didn't give you the disk he is probably still using the software on his new Mac. Your best option to get any of the iWork apps to use in OS X 10.6.6 or later is through the Mac App Store. You can then install them on any Mac you have that has access to the Mac App Store using your Apple ID.

  • I HATE my new MACBOOK PRO, it will not let me open any PDF files and I downloaded the ADOBE READER three freaking times and it keeps saying that all the files are corrupt. I would rather have my 2008 Dell at this point. what is wrong with this thing

    I HATE my new MACBOOK PRO, it will not let me open any PDF files and I downloaded the ADOBE READER three freaking times and it keeps saying that all the files are corrupt or damaged. I would rather have my 2008 Dell at this point. what is wrong with this thing

    Perhaps the PDF files are corrupted.
    Hit the command key and spacebar, a blue Spotlight in the upper right hand corner appears, now type Preview and press return on the Preview program.
    Now you can try opening the PDF's from the file menu and see what's going on.
    If they are corrupted, perhaps they are trojans from your Windows PC or gotten from a bad location online.
    Download the free ClamXav and run a scan on the possibly infected folder.

Maybe you are looking for