Java apps not displaying correctly

I'm having a problem with Java apps, as they seem to simply not display correctly. They are supposed to be Aqua, but it doesn't exactly work, since the actual controls don't appear, but besides that the program seems to carry out what it's supposed to (besides not displaying it correctly.)
I tried removing some Java-related setting files and stuff, but it still doesn't exactly work as it should.

The problem isn't with the Window Manager you use, but the java runtime you have installed. If you have openjdk6 installed, try removing it and install jre and jdk instead. If you have jre and jdk installed, install openjdk6 and see what happens.
I think you're using openjdk6, since I remember hearing problems using it and topcoder.
Last edited by CursedMonkey (2009-05-21 19:11:54)

Similar Messages

  • Map app not displaying correctly

    I recently downloaded the most recent os 8.1.3 on my iphone 4s. Now the map app (apple default) doesn't display correctly. I only see the grid and my location dot in standard view, no street names or lines, no details whatsoever. This is affecting any app that uses the apple default (Zillow, trulia, etc). My husband has the exact same iphone 4s and he has the most current os and his map app works fine. I'm thinking that I should try to reload the most current os but since it is the most current, there doesn't seem to be an obvious way since all message are "you have the most current version". I could also try to download just the most recent version of the map app but since it is a default, I don't know how. Any suggestions?

    Hi meedjmom,
    If you are having issues with your Maps application not displaying correctly, you may want to try some things to troubleshoot.
    First, quit all running applications and test again -
    Force an app to close in iOS
    Next, I would try restarting and if needed resetting the iPhone -
    Restart or reset your iPhone, iPad, or iPod touch
    If the issue is still present, you may want to restore the iPhone as a new device -
    How to erase your iOS device and then set it up as a new device or restore it from backups
    Thanks for using Apple Support Communities.
    Brett L  

  • Java apps not working right

    I lately have found problems with Java apps not working correctly. For example, in Yahoo Widgets I cannot get any widget preferences to display; in Apple's Java Preferences for J2SE 5.0 the preference window opens but is blank; and in JBidwatcher the buttons are missing in main and preference windows.
    When I log in as another user I find all those apps work properly, so it seems to be something wrong within my User folder. I tried reinstalling the Java J2SE50ReIease4 but it didn't help. Is there something I can delete and/or reinstall to fix this problem?

    Ditto here,
    I made the mistake of thinking I could throw away the preferences in the Java folder and new pref's would automatically replace the missing pref's, much to my surprise no such thing happened. My settup is the same as yours, except my OS is 10.4.8.
    Someone please help.
    G5 D2GHz   Mac OS X (10.4.7)   G4 Notebook 10.3

  • Thai characters not displaying correctly within App

    Hi everyone,
    I have a Adobe Flex Mobile app displays Thai text, however this is not displaying correctly. While developing the App on my Windows machine and testing using the Adobe Flash Builder mobile emulator, the font/characters look correct.
    However when running the app on either the MAC Adobe Flash Builder emulator, the iPhone simulator or on an actual iPhone, the font/characters are incorrect.
    First I thought that it was maybe an encoding issue (I am using locale properties files to replace text), so followed instructions at this website Flash Builder, Flex language bundles showing strange symbols. Not utf8 encoded.Sefol however this did not solve the issue.
    Looking more closely at the text rendered, it looks as though all of the characters for each word are actually being rendered, but they are just being rendered in correctly. Where as if it was a encoding issue then it would be missing characters completely.
    So if you look at the first character, in the correct version it is built up of 3 components. If you look at the second image, you can see that these three components are present but just not all appearing within one character.
    Is this a font issue? or is it actually an encoding/rendering issue?
    My code for testing this is just a simple label tag
    <s:Label text="ชื่อผู้ใช้" fontFamily="Arial" fontSize="12" />
    Many thanks.

    Ok so after doing a bit more of an investigation into the Font being the issue and not the encoding type, it seems as though if I use a specific font which I know has the Thai characters, then they are displayed correctly.
    I have embedded the font into the App using the code:
    [Embed(source="../assets/Kinnari.ttf", mimeType="application/x-font", embedAsCFF="true", fontFamily="ThaiFont")]
      private var ThaiFont:Class;
    Then on my UI I have added the font:
    <s:Label text="ชื่อผู้ใช้" fontFamily="Arial" fontSize="12" fontFamily="ThaiFont" />
    I was able to find this font at a Hawaiian Educational website! Thai fonts :: Thai Language Program, University of Hawai'i, Manoa
    Thanks @tooMuchTrouble for your help.

  • I have created a powerpoint web app in sharepoint 2013 ,i used a ppt in this web app.My ppt image is not displaying correctly in MAC mozilla firefox

    I am facing this problem in MAC OS Mozilla Firefox.It is displaying correctly in other browsers like google chrome and internet explorer in MAC OS,but it is not displaying correctly in Mozilla firefox.
    I already checked the possible reasons like:
    1. Restarted my computer
    2. Clear cookies and cache
    3. Restarted Firefox in Safe Mode
    4. Troubleshoot all plugins
    5. Reinstalled Firefox
    6. Reset Firefox.
    anyone know how to fix this issue.I am waiting for your valuable answers.

    Looking at [ your screen shot] it reminds me of a problem with Flash on the Retina display not using the full area if hardware acceleration of graphics is disabled. See [ I'm only getting one quarter of a screen on Flash Player on Firefox] (unsolved).
    Not sure if that's relevant but does the display of the slide change if you make sure that hardware acceleration is enabled? The checkbox is here:
    Firefox menu > Prefences > Advanced
    On the "General" mini-tab, uncheck the box for "Use hardware acceleration when available"
    Note that any changes take effect after you exit and restart Firefox.
    To see whether Firefox actually is using hardware acceleration, you can check the troubleshooting information. Either:
    * Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    Toward the end, in the Graphics section, look for this row:
    GPU Accelerated Windows
    The number will show a ratio of accelerated to non-accelerated window. If hardware acceleration is disabled, the first number will always be zero.
    By the way, is the SharePoint PPT viewer using Flash, or Silverlight, or another plugin? Typically Firefox will display an icon that looks a bit like a "Lego" block in the address bar showing what plugins are in use in the page.

  • Adobe Illustrator file will not display correctly when logged in as a user

    I am working with an Adobe Illustrator CS2 file that will open and display correctly if I log in as Administrator, but will not display correctly if I am logged on as a user. The error message is that there is not enough memory to display the file correctly and I am forced into preview mode. The user Home folder is on a server. Other than this, I have made certain that the criteria for opening the file match under both interfaces. I have opened the AI CS2 file on other Macs and it opens fine. I conclude that the problem is with the user Home folder, but beyond that, I'm stumped. Any help will be appreciated.

    After I filed a bug-report an Apple engineer contacted me, and asked me to try running java in headless mode:
    That solved the problem!

  • Pdf not displayed correctly in preview

    We have a new A) scanner (colortrac Ci40) and when we scan a pdf it is displayed in preview as if it is all wrinkled up.
    Only in prewiew and if imorted in vectorworks. (on both OSX 10.5 and 10.6)
    The same problem appears on a iPad.
    It is not displayed correctly.
    In all other programms I tried it is displayed properly.
    We also have a small a4/a3 scanner from konica minolta and these scans display corectly in preview.
    Is this only a preview problem and should I ignore it?

    Hi there,
    I have a very similar problem: a number of pdf files that I can see perfectly well in Safari/GoogleChrome do NOT show correctly in Preview or ANY iPad app I have (Notability, Adobe, PDF Expertm iAnnotate, Dropbox etc.).
    The problem is that punctuation -- with the expection of periods or bolded text -- does not show properly. For example, commas and quotation marks to not show, and some numbers to not show.
    Moreover, once I have annotated/viewed the problematic file on the IPad and resync to dropbox to view on Mac vis Adobe (which I do with most pdf files with no problems), I get an error message upon reopening the pdf file saying "Cannot extract the embedded font 'FAFWQV+--unknown-2--'. Some characters may not display or print correctly." (the 'quoted' text changes each time). When opening in Preview, no error message appears, though the fole is still lacking punctuation etc.
    Here is a link to one problematic pdf:
    NB: the file is in Mandarin, however I can successfully open/edit/annotate/sync other pdfs using Mandarin font so I'm not sure if the language is related to the problem.
    I would be extremely grateful for some help with this please!

  • Permissions are not displaying correctly on Yosemite server

    My file and folder permissions are not displaying correctly on my Yosemite server when viewed from a Yosemite client.
    I have set these permissions from the server app on the server and have added local network groups for the appropriate folders on the share.  When checked from the server's finder, everything looks correct.  The server is setup for both AFP and SMB on file sharing.  I have also tried setting permissions from the server's finder and seemed to make no difference.
    When logged into from local or VPN Yosemite clients using AFP, the permissions do not show anything but postgres user and everyone group.  Even though they should have network groups such as skoogfinancial, skoogmarketing, etc.
    The server does seem to enforce the permissions correctly though a user cannot get into folders he does not have permissions for.
    Therefore, it seems the server is enforcing correctly, but a user may not understand what is going on as the permissions list doesn't list anything meaningful.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, you can’t boot in safe mode.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • PDF's in Mail and Preview not displaying correctly

    Ever since upgrading to Yosemite PDF's are not displaying correctly. Every time i generate a PDF of a sales quote it seems to lose a lot of information.
    But the strange thing is.....
    Preview and Mail both show PDF with missing text.
    When I open using "Quick Look Attachment" within Mail or Adobe Acrobat it looks perfect.
    When emailed, recipients (mostly Windows users) seem to have no problem opening it and seeing all text.
    So far seen that issue is only in Preview and Mail
    Only has happened since upgrading to Yosemite
    PDF is created using web based ZOHO CRM to build quotes.
    See image below to see the difference in what Mail and Preview sees compared with how other apps open the same PDF.
    NOTE: sensitive info has been purposely blurred on image.

    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one. 
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    Try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear and again when you log in. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don’t do them all at once.
    Safe Mode - Yosemite
    Safe Mode - About

  • Outlook web login screen not displaying correctly on Exchange 2007 service pack install

    Hello everyone,
    I believe our exchange server installed a service pack 3 update and after rebooting the server, we noticed that the Outlook web access login screen is not displaying correctly.  The page looks white with some black X's (I think that's where the
    pictures/background images used to be).  We tried to restart the ISS service with no luck.  I would appreciate any help you guys can provide.
    Brian Kourdou

    I have seen this issue in another similar thread, that issue was solved by re-creating the OWA virtual directory.
    Please try the following steps to solve this issue.
    Open EMC, navigate to Server Configuration -> Client Access, under Outlook Web App tab, double-click owa (default web site) properties.
    Then check InternalURL, ExternalURL, Forms-Based Authentication settings ect
    Open EMS, use Get-OwaVirtualDirectory get the list of virtual directories and identify the directory which is giving the problem.
    Remove it with this command
    Remove-OwaVirtualDirectory “owa (Default Web Site)”
    Now create it again with the following command
    New-OwaVirtualDirectory -OwaVersion “Exchange2007″ -Name “owa (Default Web Site)”
    Then configure the “owa” virtual directory settings like InternalURL, ExternalURL, Forms-Based Authentications etc… & check the OWA by logging with some test users.
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    TechNet Community Support

  • Color gradients not displaying correctly

    I'm having an issue with my color gradients in type and objects not displaying correctly in the content viewer. For the last app I created, I made sure the colors were RGB and that seemed to fix it. With the current app I'm working on, that dosen't seem to fix the issue. Actually, when I test in the viewer on my iPad, it shows the correct gradient in the split second that it's loading the update but then once it's loaded, it goes to a gray white gradient (the correct gradient is from a yellow to a gray; attached a pict for referrence).
    Anyone know why this is happening? Thanks in advance!
    UPDATE: It seems to view fine if I preview the page via the foilo overlay but when I preview the folio, that's when it's no viewing correctly.

    The Color Picker is unreliable for choosing colors based on what you see because it is not color managed while Color panel and Swatches are.
    In your image, the color that you see in the Color Picker is how your monitor displays R=0 G=255 B=0. The color that you see in the Color Panel represents the same values in the file but the color management sends different values to the video card and thus to the monitor to display a color with appearance in the color space selected for the document. In your image this is a CMYK color space which you can check from the Show popup menu at the bottom left of the document window. To check the different values the video card is using, make a screen capture, save the image, open it in Illustrator and measure the color with the eyedropper. The color translation from the values in the file to the video card allows simulation of color spaces other than your monitor's. This simulation is accurate if you have a monitor profile installed in your system that correctly describes how your monitor displays colors. Such profile is created by using a color measuring device and profiling software. If your monitor profile (color space) installed in the system is the same as the color space of the document then there will be no translation (simulation) which in effects shuts down the color management - then the colors in the Color Picker will be the same as in the document. Many people do not bother to get an accurate profile of their monitor and use a generic sRGB profile for that. In such case working in RGB color mode using the sRGB color space (default in the Color Settings) will give the same colors in the Color Picker and the document. This usually is a sign of using a monitor that incorrectly displays colors.

  • Abstract classes and methods with dollar.decimal not displaying correctly

    Hi, I'm working on a homework assignment and need a little help. I have two classes, 1 abstract class, 1 extends class and 1 program file. When I run the program file, it executes properly, but the stored values are not displaying correctly. I'm trying to get them to display in the dollar format, but it's leaving off the last 0. Can someone please offer some assistance. Here's what I did.
    File 1
    public abstract class Customer//Using the abstract class for the customer info
    private String name;//customer name
    private String acctNo;//customer account number
    private int branchNumber;//The bank branch number
    //The constructor accepts as arguments the name, acctNo, and branchNumber
    public Customer(String n, String acct, int b)
        name = n;
        acctNo = acct;
        branchNumber = b;
    //toString method
    public String toString()
    String str;
        str = "Name: " + name + "\nAccount Number: " + acctNo + "\nBranch Number: " + branchNumber;
        return str;
    //Using the abstract method for the getCurrentBalance class
    public abstract double getCurrentBalance();
    }file 2
    public class AccountTrans extends Customer //
        private final double
        MONTHLY_DEPOSITS = 100,
        COMPANY_MATCH = 10,
        private double monthlyDeposit,
        //The constructor accepts as arguments the name, acctNo, and branchNumber
        public AccountTrans(String n, String acct, int b)
            super(n, acct, b);
        //The setMonthlyDeposit accepts the value for the monthly deposit amount
        public void setMonthlyDeposit(double deposit)
            monthlyDeposit = deposit;
        //The setCompanyMatch accepts the value for the monthly company match amount
        public void setCompanyMatch(double match)
            coMatch = match;
        //The setMonthlyInterest accepts the value for the monthly interest amount
        public void setMonthlyInterest(double interest)
            monthlyInt = interest;
        //toString method
        public String toString()
            String str;
            str = super.toString() +
            "\nAccount Type: Hybrid Retirement" +
            "\nDeposits: $" + monthlyDeposit +
            "\nCompany Match: $" + coMatch +
            "\nInterest: $" + monthlyInt;
            return str;
        //Using the getter method for the fields
        public double getCurrentBalance()
            double currentBalance;
            currentBalance = (monthlyDeposit + coMatch + monthlyInt) * (2);
            return currentBalance;
    }File 3
        public static void main(String[] args)
    //Creates the AccountTrans object       
            AccountTrans acctTrans = new AccountTrans("Jane Smith", "A123ZW", 435);
            //Created to store the values for the MonthlyDeposit,
            //CompanyMatch, MonthlyInterest
            DecimalFormat dollar = new DecimalFormat("#,##0.00");
            //This will display the customer's data
            //This will display the current balance times 2 since the current
            //month is February.
            System.out.println("Your current balance is $"
                    + dollar.format(acctTrans.getCurrentBalance()));

    Get a hair cut!
    h1. The Ubiquitous Newbie Tips
    * DON'T SHOUT!!!
    * Homework dumps will be flamed mercilessly. [Feelin' lucky, punk? Well, do ya'?|]
    * Have a quick scan through the [Forum FAQ's|].
    h5. Ask a good question
    * Don't forget to actually ask a question. No, The subject line doesn't count.
    * Don't even talk to me until you've:
        (a) [googled it|] and
        (b) had a squizzy at the [Java Cheat Sheet|] and
        (c) looked it up in [Sun's Java Tutorials|] and
        (d) read the relevant section of the [API Docs|] and maybe even
        (e) referred to the JLS for "advanced" questions.
    * [Good questions|] get better Answers. It's a fact. Trust me on this one.
        - Lots of regulars on these forums simply don't read badly written questions. It's just too frustrating.
          - FFS spare us the SMS and L33t speak! Pull your pants up, and get a hair cut!
        - Often you discover your own mistake whilst forming a "Good question".
        - Often you discover that you where trying to answer "[the wrong question|]".
        - Many of the regulars on these forums will bend over backwards to help with a "Good question",
          especially to a nuggetty problem, because they're interested in the answer.
    * Improve your chances of getting laid tonight by writing an SSCCE
        - For you normal people, That's a: Short Self-Contained Compilable (Correct) Example.
        - Short is sweet: No-one wants to wade through 5000 lines to find your syntax errors!
        - Often you discover your own mistake whilst writing an SSCCE.
        - Often you solve your own problem whilst preparing the SSCCE.
        - Solving your own problem yields a sense of accomplishment, which makes you smarter ;-)
    h5. Formatting Matters
    * Post your code between a pair of &#123;code} tags
        - That is: &#123;code} ... your code goes here ... &#123;code}
        - This makes your code easier to read by preserving whitespace and highlighting java syntax.
        - Copy&paste your source code directly from your editor. The forum editor basically sucks.
        - The forums tabwidth is 8, as per [the java coding conventions|].
          - Indents will go jagged if your tabwidth!=8 and you've mixed tabs and spaces.
          - Indentation is essential to following program code.
          - Long lines (say > 132 chars) should be wrapped.
    * Post your error messages between a pair of &#123;code} tags:
        - That is: &#123;code} ... errors here ... &#123;code}
        - OR: &#91;pre]&#123;noformat} ... errors here ... &#123;noformat}&#91;/pre]
        - To make it easier for us to find, Mark the erroneous line(s) in your source-code. For example:
            System.out.println("Your momma!); // <<<< ERROR 1
        - Note that error messages are rendered basically useless if the code has been
          modified AT ALL since the error message was produced.
        - Here's [How to read a stacktrace|].
    * The forum editor has a "Preview" pane. Use it.
        - If you're new around here you'll probably find the "Rich Text" view is easier to use.
        - WARNING: Swapping from "Plain Text" view to "Rich Text" scrambles the markup!
        - To see how a posted "special effect" is done, click reply then click the quote button.
    If you (the newbie) have covered these bases *you deserve, and can therefore expect, GOOD answers!*
    h1. The pledge!
    We the New To Java regulars do hereby pledge to refrain from flaming anybody, no matter how gumbyish the question, if the OP has demonstrably tried to cover these bases. The rest are fair game.

  • Group Layout- Button not displaying correctly

    Hello all,
    I am having a problem with group layout and having a button display incorrectly. Here is my code:
         public HRES_AboutBox(){
         private void initComponents(){
              frameLocation = Toolkit.getDefaultToolkit().getScreenSize();
              frameWidth = frameLocation.width;
              frameHeight = frameLocation.height;
              aboutFrame = new JFrame(FRAMETITLE);
              aboutFrame.setPreferredSize(new Dimension(487,212));
              aboutFrame.setLocation(frameWidth / 4, frameHeight / 4);
              aboutFrame.setMaximumSize(new Dimension(800,600));
    private void setupComponents(){
         closeButton = new JButton();
         picURL = HRES_AboutBox.class.getResource("/testLogo.jpg");
         appPic = new ImageIcon(picURL);
         appTitleLabel = new JLabel();
         versionLabel = new JLabel();
         appVersionLabel = new JLabel();
         vendorLabel = new JLabel();
         appVendorLabel = new JLabel();
         homepageLabel = new JLabel();
         appHomepageLabel = new JLabel();
         appDescLabel = new JLabel();
         imageLabel = new JLabel();
            (appTitleLabel.getFont().getStyle()| Font.BOLD, appTitleLabel.getFont().getSize() + 4);
         appTitleLabel.setText("T.E.S.T - Test Text for Label");
            appTitleLabel.setName("Application Title Label");
           (versionLabel.getFont().getStyle() | Font.BOLD, versionLabel.getFont().getSize() + 4);
            versionLabel.setName("Version Label");
            appVersionLabel.setName("Application Version Label");
           (vendorLabel.getFont().getStyle() | Font.BOLD, vendorLabel.getFont().getSize() + 4);
            vendorLabel.setName("Vendor Label");
            appVendorLabel.setName("Application Vendor Label");
            (homepageLabel.getFont().getStyle()| Font.BOLD, homepageLabel.getFont().getSize() + 4);
            homepageLabel.setName("Homepage Label");
            appHomepageLabel.setName("Application Homepage Label");
            appDescLabel.setName("Application Description Label");
            imageLabel.setName("Image Label");
            layout = new GroupLayout(aboutFrame.getContentPane());
                         .addGap(18, 18, 18)
                             .addGroup(GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                             .addComponent(appTitleLabel, GroupLayout.Alignment.LEADING)
                             .addComponent(appDescLabel, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE)
                     .addComponent(imageLabel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                         .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 19, Short.MAX_VALUE)
         public void closePasswordBox(){
         public static void main(String [] args){
              HRES_AboutBox hra = new HRES_AboutBox();
              if(hra.isVisible() == false){
    }When I run this it comes out fairly alright but the button in the lower right corner does not display correctly, i have tried setting the size of the button but that does not solve the problem. If anyone can give any advice or info on how to get it to display right I would appreciate it.

    I usually only use the GroupLayout when using a GUI builder like the one in NetBeans.
    If I need to layout something manually I usually use a combination of the other layout managers.
    Sometimes I combine the two: eg. static layout with the GUI builder, dynamic layout by hand
    But if you want to use the GroupLayout manually, check:
    Otherwise check:

  • Date Format was not displayed correctly

    Hi All,
            We are developing WebDynpro Application successfully....but the date format was not displayed correctly.
    the RFC Date format is : 05/23/2007
    but in webdynpro we are getting date is wrong....we are getting date is : 09/05/2008.
    the below one is our coding for date display format.....
    public java.lang.String DisplayingDateFormat( java.lang.String date )
        //@@begin DisplayingDateFormat()
                        // Current date Format in BW
    SimpleDateFormat sdf = new SimpleDateFormat("MM.dd.yyyy");
    String ChangedDateFormat=null;
    //Parsing String to Date
    Date sqlDate =sdf.parse(date);
    Locale userLocale=WDClientUser.getCurrentUser().getLocale();
    DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, userLocale);
    //Converting Date to String
    String newDateString = dateFormat.format(sqlDate);
    I mention my user country is Germany.
    can u tell me any one why we are getting wrong date.....
    Really i appreciate.
    Thanks and Regards,

    Too bad you can not offer yourself points. LOL

  • Uploaded image files not displayed correctly

    Hello everyone,
    I used the following article(on o'reilly) as reference for file upload:
    While it works fine for most files types, there are problems with image files.(I am using PrintStream, BufferedOutputStream,FileOutputStream to write the files on the server).
    When links to these image files are clicked, the uploaded gif and jpeg image files are not displayed correctly.When directly opening the files on the server, it gives a 'error opening file' message.But other word docs , text files do not give an error.
    If anyone else has come across the same problem and could help out , I would appreciate it.
    Thanks in advance.

    I do not want to enter into the logic which you are following to upload the file. I did the upload process successfully even as a blob datatype.
    For this I followed the logic given in
    Here you can download the complete sourse code, which is working fine for gif and jpeg, I tested.
    Please go with this. Also let me know, if you still have problem.

Maybe you are looking for

  • How to read Extended user property in oracle BPM?

    Hi, I have tried using the XPATH expression in Data Association to read an Extended User Property defined in Oracle BPM Workspace. Actually I'm using Active Directory for authentication, and as there is limitations for modifying existing AD to accomm

  • Credit Limit - How to Use the Foward button in VKM4

    Hi all, I have an enquiry here. In VKM4, we can see that there is a 'Foward' icon where we will be able to foward the respective sales order to an authorize person for approval. After I Foward and Save it, system only prompts me saying the SO has bee

  • Class Cast Exception in Pricing Engine with ATG 9.1

    Hi All, I'm getting the below exception when trying to deploy projects through BCC. Basically this is getting called from some Out of the box scheduler service when project is deployed. Any pointers on how to prevent this will be immensely helpful..

  • Mac Mini (2012) as Wireless Gateway

    I want to turn my mac mini into a wireless gateway. I  have "pf" I need to know how to turn on wireless ap mode on? What command line tools are available? OpenBSD has "hostapd" for this. I plan to have my mini serve as my gateway router as well as me

  • How do I set up automatic duplex printing for my HP Laserjet Pro400 M401n series?

    How do I set up automatic duplex printing for my HP Laserjet Pro400 M401n series from my PC  using windows 8?