Image problems at change from 1.5 to 1.4

Hello all,
in my applet, I am displaying a jpg. I use the Piccolo library for this, but unfortunately, the guys there couldn't help me with my issue.
So, my problem is: I have to downgrade from java 1.5 to 1.4 (as some big companys don't use 1.5 yet, and it can take months for them to change to 1.5...). Most of my code is already compatible. the biggest problem in the moment is the display of the jpg - it does not show up any more. I think my code is pretty straightforward:
Image image = getImage(getDocumentBase(), graphic); //mit 1.5              
//JPG laden
pimage = new PImage(image);PImage is the Piccolo image format.
At the first trials, I always got an error message "media tracker errored image load", until I realised that the graphic string path was not build up very well, it contained a "/\" as directory separation. I corrected this, and now I don't get any error message any more. But still no image.
As I have not worked with 1.4 before, I have no idea what might be different - any ideas?

ok, I found out a little bit more:
- the string containing the file name may contain whitespaces. This is no problem for 1.5, but obviously for 1.4.
- if I replace all whitespaces with "%20", the code works for 1.4. The image is only shown after I move the window, but this is another problem (this is why I thought in the beginning it would not work - I didn't see anything).
- but if I replace all whitespaces, the image is not shown on 1.5 any more!
As it is now, I can compile my code either for 1.4 or 1.5, but not for both. Any suggestions? It's no good idea to ask the customer which version he wants to use - he might upgrade at some time, and then need the other version...

Similar Messages

  • Why am i having problems since changing from snow leopard loading maverick

    why am i having problems since changing from snow leopard downloading maverick

    Yes you solved your own question, use printer handles color, whcih shodul have been the default. If you do want to experiment with Photohsop manages color, try the CMYK profiles, and send a cmyk file. Only exception is if you print to one of the few RGB printers like a lambda.

  • When I click on Images the language changes from English!

    I search using Google. I then click the Images icon/tab (top left).
    Images are displayed however the language changes from English to (what looks like) German. Most bizarre. Any clues as to why this would occur?

    Try to clear the Google cookies.
    Does it help if you set the language to English via the gear icon > Settings?

  • Premiere CS4. Video-individual images freeze. abrupt change from frame to frame.

    Hi
    I'm working with Adobe Premiere CS4... windows XP prof SP3 4GB RAM. ATI Radeon 38XX Graphic
    my problem is as following: working window: the projection of individual frames in a movie doesn't run smoothly, the change from frame  to frame is abrupt, almost robotic...it also freezes occasionally .. sound is fine though.
    I've reinstalled all recent graphic and sound drivers and also latest updates but the problem is still there...
    Please advice A:S:A:P
    Thanks,
    Elena

    Work through all of the steps (ideas) listed at http://ppro.wikia.com/wiki/Troubleshooting
    If your problem isn't fixed after you follow all of the steps, report back with ALL OF THE DETAILS asked for in the FINALLY section, the questions at the end of the troubleshooting link... most especially the codec used... see Question 1
    Read Harm on drive setup http://forums.adobe.com/thread/662972?tstart=0
    - click the embedded picture in Harm's message to enlarge to reading size

  • N96 text messaging Problems auto change from sms t...

    N96 text messaging changes from SMS to MMS when delivering to more than so many people how do i stop this
    i create a text and when i select add recipients if i select so many people it changes the text to a MMS if i add a group of people it does the same too. How do i stop this?

    roll on the firm ware updat from what i can see there a hell of alot of bugs. and i dont know how there logic works out with the MMS being cheaper.
    You send a 1 -3 page SMS text to someone it costs 30p (or free if u have free texts) you send 1 MMS it costs roughly 35p.
    ok the text will be reduced to 1 message when changed to MMS but still cost u 35p instead of 0p.
    Also the N96 at 1st is only available on CONTRACT which means people going to have free texts so i the long run its going to cost people more money the way they have it set up plus if you dont know about this feature and send texts that it changes to mms (WITHOUT IT ALLERTING YOU) it costing people money they got some kind of commision going with the service providers?
    a simple feature would of been to have it so it goes to change it and comes up with a message and the option to keep the same or convert but that would be too simple wouldnt it lol.
    Dont you just love big companies ways of thinking (they dont!!!)

  • WiFi problems after changing from WEP to WPA on Actiontec router

    I need some help/advice--I've searched the forums but am not seeing my exact problem described so decided to describe it to see if the community can help me figure out what to do now. The situation is this: After recently learning about the insecurity of WEP "security" I decided to change the security settings on our Fios router (an Actiontec MI424WR, Rev C). I first tried to change the settings to WPA2, but then my husband's elderly Dell laptop could not connect, so I changed them to WPA. At first everything seemed fine--we could connect to the internet from our computers (my MacBook Pro, his Dell, and various devices--phones, kindle, iPad). 
    But we soon noticed some strange problems that I was never able to resolve:
    I could never get either of two Airport Expresses to connect to the network, even after repeated tries (with hard resets in between)
    Within an hour or two after rebooting the router, I was no longer able to connect wirelessly to a NAS device that is connected to the router via an ethernet cable--I could no longer even see it in the Mac finder. I could see it in Windows Explorer from the Dell but could not connect.
    Similarly, I lost contact with a Sonos bridge unit that is also connected to the router via an ethernet cable. In this case the loss of contact was sporadic--various devices that connect over WiFi to the bridge could sometimes see it, sometimes not.
     Resetting the router would temporarily restore wireless access to the devices hardwired to the router, but I would always lose the NAS device completely after an hour or two and the Sonos bridge sporadically. The computers and devices, however, had no problems connecting to the router itself and from there to the internet.
    I finally gave up and returned the security to WEP, and now everything is fine: the Airport Expresses connect, the NAS remains available, and the connection to the Sonos bridge over WiFi is robust (the Sonosnet mesh, if anyone is wondering, was never affected).
    I can't understand why switching to WPA caused such problems, but it clearly did, since switching back to WEP eliminated them completely. The simplest explanation is that there is some problem with the wifi portion of the rev C router that only becomes apparent in certain circumstances, though it seems weird that both wired peripherals and wireless airport expresses were affected. 
    Whatever the causes of the problem, now I'm back to wondering how to improve the security of my network. Should I:
    See if I can convince Verizon to replace the modem with a newer version? We have had this one for more than 4 years, since we first got fios.
    Just go ahead and purchase the most recent version of the Actiontec router (rev G)? It's only about $115--worth it to me if I can use WPA with it. 
    Buy our own wireless router, perhaps an Airport Extreme, and turn off the wireless on the Actiontec.
    Thanks in advance for any help. This is driving me crazy, and I really don't like feeling as if the network is vulnerable, especially given how extensively we use it.
    Becky

    This doesn't sound too uncommon. I had similar issues in the past with some networks I've worked with that were resolved by moving the router actually to WPA2 or by updating the firmware. The ActionTec MI424WR Rev. F, G, and I require the use of WPA2 since they have Wireless N radios in them so WPA wouldn't be of much use. My old Linksys WRT54GX also had similar issues, but that was a result of the Wireless Radio dying along with a mix of newer hardware not playing nice with the old, no-longer-supported firmware. I retired that router, only to bring it back into service as a Wired router at a friend's home (shutting off Wireless and setting up another as an AP) which replaced an old BEFSX41 which didn't have enough power to handle his Cable connection.
    Besides a few software bugs at play somewhere, there isn't much that could cause the wireless to slowly stop working like that. I would suggest moving back to WPA2. For the older Dell laptop if it's running Windows XP, make sure at least Service Pack 3 is installed if it hasn't been getting updated. Also, check for updated drivers for the Wireless card since they may be needed as well. A bit of searching on the Wireless card should also indicate whether or not it supports WPA2 encryption. Anything from the mid-2000s should support it.
    ========
    The first to bring me 1Gbps Fiber for $30/m wins!

  • Eclipse problem after change from Openjdk to jre

    Hi guys, I have problem with eclipse and ant.
    I switched from openjre to sun jre from aur, I have instaled jre and jdk. But when I try to run my project over ant. I always get this error:
    Specified VM install not found: type Standard VM, name java-7-openjdk
    I don't know where is the problem.
    this is what i have in /etc/profile
    PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/java/jre/bin/:/usr/share/eclipse/jre/bin/java"
    export PATH
    JAVA_HOME="/opt/java"
    export JAVA_HOME
    I don't know where is the problem.

    jdarnold wrote:Have you checked the Java Build Path in eclipse?
    I try to set build path to option "project" and also set my path in Folder option source"src" and output:"build", it's not working

  • ORB Security problem after changing from J2SDKEE1.3beta2 to J2SDKEE1.3FCS

    Hello,
    can anybody help me? I've written a J2EE application running j2ee as application server and iPlanet 4.1 FE/Unify eWave Engine as web container. With J2SDKEE1.3beta2 everything is O.K., but installing the FCS release and trying to connect to the ORB I get following error message:
    com.sun.enterprise.iiop.security.SecurityMechanismException: Trust evaluation failed because client does not conform to configured security policies
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.evaluateTrust(SecurityMechanismSelector.java:1190)
         at com.sun.enterprise.iiop.security.SecurityServiceImpl.setSecurityContext(SecurityServiceImpl.java:148)
         at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:349)
         at com.sun.corba.ee.internal.Interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:450)
         at com.sun.corba.ee.internal.Interceptors.PIORB.invokeServerPIIntermediatePoint(PIORB.java:799)
         at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:200)
         at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:112)
         at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
         at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
         at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
    What can I do?

    I tried your method and it is giving me this exception..Can you help ??
    Trouble: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory. Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:201)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:189)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:309)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:265)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:325)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:212)
    at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:178)
    at template.HelloServer.HelloTest(HelloServer.java:47)
    at template.HelloServer.main(HelloServer.java:18)

  • Problem in changing branding image.

    Hi all,
    I have a problem in changing the branding image for portal logon page.
    To my knowledge I have the change the image file under
    \usr\sap\EPD\JC0\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\portalapps\com.sap.portal.runtime.logon\layout
    But to my surprise I am not able to see gthe com.sap.portal.runtime.logon folder in the server.
    Can somebody suugest me what might be the reason.Is it any problem with the versions or something?
    Thank You,
    Regards,
    Rajesh

    It is:
    \usr\sap\EPD\JC0\j2ee\cluster\server0\apps\sap.com\com.sap.security.core.admin\servlet_jsp\logon\root\layout\
    You can do a simple search for branding-image.jpg from \usr\sap\EPD\JC0\j2ee\cluster\server0 to find the location. You can change the location or name in the config tool.
    Regards,
    Slava

  • Why does the color red change from working with images in develop to library?  The color gets lighter and nothing shows a change on histogram but visually you can see it.

    Why does the color red change from working with images in develop to library?  The color gets lighter and nothing shows a change on histogram but visually you can see it.

    That's probably a broken display profile. The conversion from Library's Adobe RGB is different than the conversion from Develop's linear ProPhoto, so if there's a problem with the display profile it can show up this way.
    Recalibrate, or if you don't have a calibrator use sRGB. If your monitor is a wide gamut model use Adobe RGB.
    Assuming Windows, change it in Control Panel > Color Management > Devices, and relaunch Lightroom so that it can pick up the new profile at startup:

  • I have moved from the US to Norway, and want to change my apple ID to the Norwegian appstore. However, I am not allowed ot change from the US store before I use up my balance, which is 0.17 dollar. The problem is that nothing costs 0.17 dollar.Please help

    I have moved from the US to Norway, and want to change my apple ID to the Norwegian appstore. However, I am not allowed ot change from the US store before I use up my balance, which is 0.17 dollar. The problem is that nothing costs 0.17 dollar and I do no longer have an american visa card, only Norwegian. Is there any way I can erase the credit on my account so I can change the appstore country? Or osmething I can use this credit on? Thank you very much

    Try contacting the store support staff at: http://www.apple.com/emea/support/itunes/contact.html they are usually pretty good at sorting out these issues.

  • Problems with email account on ipad2 when changing from mobileme to icloud

    Problems with email account on ipad2 when changing from mobileme to icloud

    Would you please give us some more information about your problems.

  • FCP6 BIG PROBLEM - Media Manager Speed change from FCP5.1.4

    Hi!
    We have problem using a media manager project from FCP5.1.4 in FCP6. Almost ALL clips with speed change are messed up (all new speed around 1% to 7%). This is really a problem for us, since we always do media manager of everything we do to be able to go back and make changes.
    We have 2 MacPro 2 x 2.66Ghz, 8GB RAM, 10.4.9, Quicktime 7.1.6, FCP6, Decklink HD extreme or AJA Kona LH (with the latest driver).
    We tryed with different format: HDTV 1080i50, DVCProHD 720p59.94, SD Uncompressed 10bit, .... always the same problem.
    Is there a new way to use the MM in FCP6?
    Thank you!

    Hi! And thanx for the tip.
    But we use Media Manager everyday with speed change WITHOUT any problem (with FCP 5.1.4).
    We already try something similar, we copied the good clips (with speed change) from the ORIGINAL timeline to the media manager one, deleted the bad clip (with the wrong speed change) and pasted the good one in there place. Then we reconnected those clips with the MEDIA MANAGED one. We get a warning that the IN and OUT of the media are not the same, CLICKED continue and everything is always (well 95% of the time) OK.
    SO yes, we have the solution, but it's really really long and painful, especially with multilayered sequences.
    Right now, when I open any Media Manager in FCP 5.1.4 (created with FCP 5.1.4) everything works fine. Doing the same thing with FCP6 = speed change problem.
    Thanks again,still looking for another solution.

  • Since I have changed from Windows 7 to Windows 8.1, I have not been able to start up Photoshop Elements 9! or Premiere Elements 9! The menu starts up allright, but the programs don't start when I press any buttons. How do I fix this problem?

    Since I have changed from Windows 7 to Windows 8.1, I have not been able to start up Photoshop Elements 9! or Premiere Elements 9! The menu starts up alright, but the programs don't start when I press any buttons. How do I fix this problem?

    If Layers is greyed out it possibly means that you are in Quick Mode. Select 'Expert' and all the options should become available.
    Try permanently associating psd files with C:\Program Files (x86)\Adobe\Photoshop Elements 12\PhotoshopElementsEditor.exe and see if that fixes the issue. Instructions here - http://windows.microsoft.com/en-gb/windows-8/choose-programs-windows-uses-default.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • I am having a problem opening images in the Editor from iPhotos into photoshop elements

    I am having a problem opening images in the Editor from iphoto (on my macbook pro) to the photoshop elements

    What exactly is the problem? What happens when you try, and how are you trying to do this?

Maybe you are looking for

  • I just upgraded to iOS 7. How do I get my aps back?

    Most of my asp show open in the store, but won't come up on the screen or store on a usable screen

  • After upgrading software my ipods music is gone and wont sync with computer

    so i just upgraded my itunes software on both my ipod and computer and it totally wiped out my music from my ipod. when i try to make it sync the music from my computer it prepares and at the last second it says sync has been cancelled. it does this

  • Mac and PC Networking together?

    I was wondering if this is normal, i am new to the mac world, just started using about two months ago. my whole job network is on pc i am the only one that is running on mac, whenever i send a PDF and Powerpoint presentation, etc... over the network

  • Comparison With DXO

    Now that some of you brave souls are actually creating lens profiles, at least a few of us will be interested in how the Adobe profiles compare with those created by DXO for use in their raw processing program. DXO's profiles claim to account for len

  • Publication with WebI report including all transactions from last run

    Hi, using BOE XI R3 FixPack 4. I want to create a WebI report that should include all data newer than last run time for the publication. How do I get last run date for a publication or WebI report?