Some weird behaviour of my Applet

I've created an applet which uses Java2D to blur an image file (image0.jpg)and display it in the browser. I can compile it with no problem but when i run the applet using the browser. The following message appears in the bottom of the browser "Start: applet not initialised". If i try to open a new window from the browser(ie. select "Window" from File>New in the menu), the applet can load successfully. The following message appears in the Java Console:
java.lang.IllegalArgumentException: Width (-1) and height (0) must be > 0
     at java.awt.image.SampleModel.<init>(Unknown Source)
     at java.awt.image.SinglePixelPackedSampleModel.<init>(Unknown Source)
     at java.awt.image.Raster.createPackedRaster(Unknown Source)
     at java.awt.image.Raster.createPackedRaster(Unknown Source)
     at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
     at java.awt.image.BufferedImage.<init>(Unknown Source)
     at Convolve2.init(Convolve2.java:22)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
java.lang.IllegalArgumentException: Width (-1) and height (0) must be > 0
     at java.awt.image.SampleModel.<init>(Unknown Source)
at java.awt.image.SinglePixelPackedSampleModel.<init>(Unknown Source)
     at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
     at java.awt.image.BufferedImage.<init>(Unknown Source)
at Convolve2.init(Convolve2.java:22)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
The following is my code. Please have a look and tell me what's wrong. Thanks a lot!
import java.awt.*;
import java.awt.image.*;
import javax.swing.*;
public class Convolve2 extends JApplet{
     float ninth = 1.0f/9.0f;
     float[] blurKernel = {
               1.5f,ninth,ninth,
               1.5f,ninth,ninth,
               ninth,ninth,1.5f,
     private Image chassis;
     private BufferedImage bChassis;
     public void init(){
          setBackground(Color.white);
          //load the image
          chassis = getImage(getDocumentBase(),"image0.jpg");
          int iw = chassis.getWidth(this);
          int ih = chassis.getHeight(this);
          //create BufferedImage as the source for image processin           bChassis = new BufferedImage(iw, ih, BufferedImage.TYPE_INT_RGB);
          Graphics2D g2d = bChassis.createGraphics();
     g2d.drawImage(chassis,0,0,this);
     public void paint(Graphics g){
          Graphics2D g2 = (Graphics2D) g;
     g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
     g2.setRenderingHint(RenderingHints.KEY_RENDERING,
RenderingHints.VALUE_RENDER_QUALITY);
          int w = bChassis.getWidth(this);
     int h = bChassis.getHeight(this);     
     //create a BufferedImage as the destination for image processing     
BufferedImage bChassis2 = new BufferedImage(w,h,BufferedImage.TYPE_INT_RGB);
          //Instantiate the operation
          ConvolveOp cop = new ConvolveOp(new Kernel(3, 3, blurKernel));
          cop.filter(bChassis,bChassis2);
          Insets insets = getInsets();
          g2.drawImage(bChassis2,insets.left, insets.top, null);

Your problem:
//load the image
chassis = getImage(getDocumentBase(),"image0.jpg");
int iw = chassis.getWidth(this);
int ih = chassis.getHeight(this);You forgot to prepare the image and wait until it is loaded. As long as it is not loaded, getWidth and getHeight will return -1.
Best use a MediaTracker for waiting before you query the size. Somthing like this (uncompiled on-the-fly-code):
MediaTracker mt = new MediaTracker(this);
mt.addImage(chassis, 0);
getToolkit.prepareImage(chassis, -1, -1); //prepare to be drawn at default size
mt.waitForAll();  // you'll have to catch the interrupted exceptionBye, Marc.
Toolkit.getDefaultT

Similar Messages

  • [Solved] Firefox 3 betas give me some weird behaviour with images

    I understand that there will be problems with beta software, however I seem to have memory issues with the firefox 2 series, so I thought I'd give the beta packages a try. I'm using the firefox-nightly package from AUR (firefox3b4), and I'm getting some weird behaviour. The same behaviour can be seen in all firefox 3 beta builds, however. It's hard to explain the problem, so here's a screenshot:
    Notice that the image appears twice, once in the tab, and once in the tab toolbar next to the title of the tab. It looks like an attempted preview gone terribly wrong. Upon closing the tab, the tab toolbar shrinks down to the normal size and all is well. This happens with most images up to a certain size. Any one else experiencing this problem? Any suggestions? This is very annoying and I would like anyone's input on the problem.
    Last edited by valnour (2008-02-24 07:41:05)

    Wow! This issue was solved in #archlinux by Nuked. Apparently I had some funky bits in my .mozilla directory. Removing it solved the problem. Remember kids, IRC is your friend. Anyone else experiencing weird stuff with their Firefox install should give this solution a try.

  • Roundness / Residual - weird behaviour

    Hi,
    I've been experimenting to understand "roundness" in Find Circular Edge - which seems to be the residual from "circle fit". I noticed some weird behaviour, and to understand it, I wrote a program that scales the width of a "perfect" circle from 0.5 to 1.5.
    I expected some glitches, jumps,.. due to discretization, rounding,.. etc, but then I stumbled upon behaviour that makes no sense: When I detect a circle that is partly outside of the image, the roundness is suddenly at very low value.
    To visulalize, I'm talking about such an image:
    The roundness behaves like this:
    I am not sure if it is just my vi (I'm attaching the example picture and the experimental vi), but can anyone explain this behaviour and give me some idea how to avoid it?
    Thanks,
    Birgit
    Solved!
    Go to Solution.
    Attachments:
    src05.jpg ‏19 KB
    circularedge.vi ‏63 KB

    The results of the "roundness" aka residual have a glitch once the detected circle is outside of the image.
    Allow me to add a "normal" picture with a low residual of 0.17
    High residual of 21,3
    This behaviour sort of models how well the shape fits with the calculated circle.
    And that's what I expect.
    However, in the second the algorithm "finds" a circle that is outside of the image boundaries, the residual "jumps" and is suddenly very, very low, as if one had a shape that would fit with the calculated circle.
    This, for example, has a residual of 0,27

  • JRE 1.4.x Plugin - Signed Applets and Weird Behaviour (Policy)

    Hello.
    I have recently experienced some strange behaviour related to signed applets and policy files in JRE 1.4.2-b28 ( a friend got the same behaviour in a flavour of 1.4.1-xx as well ). Both tests were on Windows 2000 Professional platforms.
    Initially my unsigned applet, which attempts socket connections to a server different from the download location, fails with security exceptions ( as expected ). Then I did the following to sign the applet jar and configure my environment
    Steps: 1) Import "trusted CA" certificate into ${java.home}/lib/security/cacerts. (JRE home outside the JDK)
    2) Signed the jar using jarsigner and a certificate generated from the "trusted CA" (Entrust CA and certificate).
    3) Imported the signing certificate into the Java plugin using import in the plugin control panel.
    4) Created a new keystore (keytool,jks) and imported the signing certificate into the keystore with alias "developer". The keystore is stored in the user home as .keystore.
    5) Created a .java.policy for the user and attaching the keystore in 4) to it. ( also stored in user home ).
    6) Used the policy tool to grant socketpermissions to the specific codebase ( testing with file:/C:/test/* initially ) signed by "developer"
    After this, when I ran the test page under IE 5.5SP2 and Netscape 7.1 it worked without any security exception. Ditto for using the appletviewer and the policy file I created for the user.
    The weird part occurred when I removed the policy entry from the user policy file. After doing this, Netscape and IE still allow the applet to execute - somehow remembering that it was granted permissions at some point. The appletviewer does not allow it to execute, generating security exceptions.
    It appears the old policy is being cached somewhere, but I cannot find where. If I replace the applet jar with an unsigned version it does fail in IE and Netscape. I tried cleaning the plugin cache and removing the "deployment.certs" files related to the users but still get the same behaviour.
    Does anyone know where the old policy information is being stored ? Does anyone know how to revoke the permissions so that I am restored to my original base environment ( no permissions for "designer" signed applets ) ? Would attempting to utilize the AccessController.doPriveleged( xxxx ) operations in JDK 1.4 avoid all of this confusion with policy files, keystores and certificate storage ? After all the messing about I would like a zero-footprint alternative ( or minimzed footprint anyway ).
    Any ideas would be most welcome.
    Regards,
    James.

    Hello Again.
    I am either enlightened or confused at this point. I found that as long as all of my related Jars are signed ( even by self-signed certificates ) I am granted SocketPermissions for calls outside of the originating server. Unsigned code is refused, but even when the Jars were signed using a self-signed certificate the Socket calls were allowed.
    Am I experiencing the appropriate behaviour in this case ( which would mean not having to utilize policy files to distribute an applet that uses calls to arbitrary servers - e.g. JavaMail ) or am I suffering from something damaged in my environment ?
    It has been a long time since I played with signed applets and I am having difficulty determining what operations require policy file entries/AccessController.doPrivileged() calls and which are granted when a user elects to trust a signed applet without policy.
    Any assistance in clearing up my confusion would be appreciated.
    Regards,
    James.

  • Weird behaviour in the Fontbook display pane

    I have just been checking through some font conflicts using FontBook. All have resolved successfully, but I have noticed weird behaviour involving four or five fonts. Some of them show up as all-Cyrillic faces (Arno Pro), or all-Hebrew faces (Stone Sans) or all-Arabic faces (Balzano) in the display pane, yet print perfectly as Western characters when used in any program (Pages, Word, Bean, FCE, Keynote etc).
    It's not actually causing any problem, I suppose, apart from a weird representation in Fontbook. I have tried deactivating and reactivating these fonts. I have tried quitting and restarting Fontbook. I have even tried restarting the computer. The Cyrillics, Hebrews and Arabics keep coming back.
    Is this a known Fontbook bug, or am I doing something wrong?

    Thank you, Kappy and Tom:
    I tried the Preview Repertoire command and it showed that the fonts did, indeed, have the full Latin complement of characters. It's just that only the Cyrillic/Hebrew/Arabic/Gujarati/Mandarin selections are showing up in some fonts' preview panes: particularly those fonts with the suffix "Pro" in the title (Myriad Pro, and so on).
    How strange.

  • Weird behaviour in RMIClient

    hi all,
    i am experiencing a weird behaviour with my RMI Client....
    my RMIClient has two methods
    init()
    callRemoteMethod()
    ideally in the init() i should locate the RMIServer, and in the callRemoteMethod() i should call one of hte methods of the RMIServer
    the problem is that it does not work!!
    my RMIClient code works ONLY if i put the initialization of the RMIServer and the call of one of its method in the SAME method
    is it normal that it happens like htis????
    can anyone give me some hints??
    thanx in advance and regards
    marco

    hi all,
    i solved the problem...i was initializing hte RMI server twice.....
    sorry for bothering
    regards
    marco

  • SQL MP - SPN Status monitor weird behaviour

    Hi all,
    I have a strange behaviour with the monitor that checks SQL 2008 SPN status. More precisely I have a weird behaviour with the script used by the monitor. The script is GetSQL2008SPNState.vbs. I configured the SQL monitoring profile (which is used by the
    script) with a domain account with necessary rights.
    Let's say I have a SQL Server called SQL1. SQL1 is in domain AD1. I have a forest called contoso.com with two child domains AD1 and AD2.
    On SQL1 I sometimes see events 4001 generated by this script that mentions a problem to connect to WMI namespace (which is healthy, I checked with wbemtest). The event says that it couldn't connect to
    \\SQL1.AD1.contoso.com.AD2.contoso.com\root\blabla. I have no idea why it is using that broken FQDN.
    I made some research into the script and understood the following:
    The script has the SQL server FQDN as parameter (here SQL1.AD1.contoso.com)
    It searches the defaultnamingcontext by doing
     Set oRootDse = GetObject("GC://RootDSE)
     sRootnamingContext = oRootDse.Get("defaultNamingContext")
    It converts the defaultnamingcontext variable from "DC=a,DC=b,DC,c" to ".a.b.c"
    It checks if the defaultnamingcontext is in the fqdn and if not it appends it at the end of the fqdn. Dunno if I'm clear here so here are examples of good and bad behaviours:
    GOOD:
    FQDN is SQL1.AD1.contoso.com, defaultnamingcontext gives AD1.contoso.com, AD1.contoso.com is in SQL1.AD1.contoso.com so the script go on using SQL1.AD1.contoso.com and it's ok...
    BAD:
    FQDN is SQL1.AD1.contoso.com, defaultnamingcontext gives AD2.contoso.com, AD2.contoso.com is not in SQL1.AD1.contoso.com so the script go on using SQL1.AD1.contoso.com.AD2.contoso.com and it's broken...
    I didn't mention earlier but the runas account I use is from domain AD1. It's called AD1\svc_scom_mp
    My question is how comes sometimes (sometimes means during 6 hours, a whole day, nothing reccurent :( ) The defaultnamingcontext gives me the fqdn of the other domain ??
    I'm wondering if this can be due to the fact that I also have an account called svc_scom_mp in AD2 but I'm 100% sure it's not used here as it's not targeted nor distributed to any AD1 computers.
    I guess it's more an AD problem than anything else.
    Any ideas ?
    <a href="http://myitforum.com/cs2/blogs/fdufour/default.aspx">Supervize Me ©</a>

    Hi François
    I tested GetSQL2008SPNState.vbs on my POC with a similar configuration (one root and two child domains) and i have got the same issue. I think the root cause is the Server less binding (GC://RootDSE) used to search defaultNamingContext.
    With Server less binding, GC name relies on
    DNS round robin to find a GC, if a GC from another domain is returned the defaultNamingContext will be the other domain.
    You can check GC resolution with nslookup:
    nslookup gc._msdcs.contoso.com  (the root domain)
    repeat the command to see the round robin result.
    I wrote a vbscript to test it:
    This script search all GC and search defaultNamingContext with GC provider server less and server name binding. With LDAP Provider the right domain name is always returned.
    =============================
    ldapFilter = "(&(objectClass=nTDSDSA)(options:1.2.840.113556.1.4.803:=1))"
    Set rootDSE = GetObject("LDAP://rootDSE")
    configDN =   rootDSE.Get("configurationNamingContext")
    Set ado = CreateObject("ADODB.Connection")
    ado.Provider = "ADSDSOObject"
    ado.Open "ADSearch"
    Set objectList =   ado.Execute("<LDAP://" &configDN& ">;" & ldapFilter & ";distinguishedName;subtree")
    ' GC Server less binding LDAP
          Set oRootDse = GetObject("LDAP://RootDSE")
          If Not (oRootDse Is Nothing) Then
                sDefaultNamingContext = oRootDse.Get("defaultNamingContext")
                wscript.echo "Server less binding:
    LDAP://RootDSE"
                wscript.echo "   DefaultNamingContext found: " & sDefaultNamingContext
                 wscript.echo " "
          Else
                wscript.echo "   NOT found: "
          End If
    ' GC Server less binding  GC
          Set oRootDse = GetObject("GC://RootDSE")
          If Not (oRootDse Is Nothing) Then
                sDefaultNamingContext = oRootDse.Get("defaultNamingContext")
                wscript.echo "Server less binding: GC://RootDSE"
                wscript.echo "   DefaultNamingContext found: " & sDefaultNamingContext
                 wscript.echo " "
          Else
                wscript.echo "   NOT found: "
          End If
    wscript.echo "Server Name binding: GC://<ServerName>/RootDSE"
    While Not objectList.EOF
        nTSDSA = objectList.Fields("distinguishedName")
        serverDN = Mid(nTSDSA, 18)                                        
        Set serverObj = GetObject("LDAP://" & serverDN )
        WScript.Echo " GC name:" & serverObj.dNSHostName
        ' GC Server Binding
        Set oRootDse = GetObject("GC://" & serverObj.dNSHostName & "/RootDSE")
          If Not (oRootDse Is Nothing) Then
                sDefaultNamingContext = oRootDse.Get("defaultNamingContext")
                wscript.echo "   DefaultNamingContext found: " & sDefaultNamingContext
          Else
                wscript.echo "   NOT found: "
          End If
        wscript.echo " "
        objectList.MoveNext
    Wend
    ======================================================
    Cordialement

  • My iPhone 5 shows weird behaviour.

    I bought a new factory unlocked no contract iPhone in Pakistan. The phone is from the United Kingdom, the first thing I would like to tell you that this phone has dreadful battery life, the battery drops 1% every minute when I'm texting and while I'm on facebook, drops even faster when I'm playing some game like Asphalt 7 (this is acceptable but the battery drains faster than my iPhone 4S) moreover the phone shows weird behaviour, sometimes when I charge it to 100%, it stays there for some time but then suddenly the battery drops to around 70% within an instant and sometimes when the battery is low and I plug it in, the battery percentage suddenly jumps from 18% to around 40% and this happens the moment I plug it in (both the computer and the wall charger) and the last thing is that this phone charges amazingly fast like from 2% to 1% in about 30 minutes. I saw a video on the internet for reference and in that video, the guys' iPhone 5 charges from 5% to 100% in 2 hours and 10 minutes. So could something be wrong with my battery or charger or both ???
    I have Brightness set to auto and I mostly stay indoors
    Location services are off
    Diagnostics and Usage are set to Don't Send
    iOS is 6.1.4 (the latest available)
    Push Notifications for all apps are off
    WiFi remains on most of the day
    3G is set to off as it is not available in Pakistan
    Cellular Data is off
    Bluetooth is off
    Time and Date automatic adjustment is off
    Mail is set to Fetch Manually
    Only 2.5 GB storage is in use
    and I set it up as a new iPhone and I've restored it 3 times in just 1 week.

    How would I know when the battery is totally discharged to 0? Because all it shows is this

  • Weird behaviour with inlined SubVI's

    Every now and then I've ran into some serious weird behaviour where I've eventually traced it down to some inlined subVI. It has seemed as if the values used inside the inlined subVI don't match what the calling VI is feeding into its inputs. I haven't been able to consistently reproduce this issue so I apologize for the vague description, but since I felt I should finally address this and I couldn't really find anything similar by searching, I'll do my best to describe it and we'll see what turns up.
    As I mentioned, the issue certainly doesn't occur consistently. I use inlined subVI here and there and most of the time there are no problems whatsoever. I ran into the issues randomly I think four times now, first three of them were on LV2013 and this last time on LV2014. In all cases I have been using AF and I think the first times were actually with an actor class. At the time I thought it might have been related to the AF, and it still might, but now the last time it wasn't the actor class itself but a data member of one. So far all of the problems have occured with class methods, and I think the "corrupt values" have been the object private data, but I can't confirm this.
    This time the inlined subVI was a static dispatch method with contents shown below on the left and the calling on the right.
    I'm showing the calling just to point out that when I was investigating the problem and I probed the object wires before and after the inlined subVI the values (Calibration.X Step and Calibration.Y Step) were OK, but the result of the VI (Point out) was some insane value as if the actual division inside was performed by corrupt data. I think that the output value wasn't Inf, though, so the divider might not have been a default value such as 0.
    Other notes:
    I checked that the wires are connected to the inputs and outputs
    As I mentioned, the projects have always been relatively large AF setups, the problematic method has been an actor method or a method called by an actor somewhere down the chain. I have no reason to assume AF is the culprit, I'm just pointing this out, just in case
    The problem seems to occur quite randomly but once it "starts" it doesn't go away until I find which inlined subVI it was and change it to a normal VI call
    The problem might not even be specifically inlined subVI related but for example pre-allocated VI related instead
    I don't know whether the problem would occur in a built executable as well, so far I've only ran into them while testing while developing and fixed them there
    Looking at the "Known Issues" related to inlined subVI's I don't know if this related to them. The other one deals with execution systems, which I haven't touched to my knowledge, and the other one says "An Inline public methodVI calling a private-scope method VI, inlined into a non-class caller may give a runtime error when trying to call the private method from the inlined code in the non-class caller."
    LabVIEW version is 14.0.1 (2014 SP1 32bit) on Windows 8.1
    Yep, reading through this post I gotta say I'm not expecting much, what a mess, but it would be great to find out if anyone else has ever ran into similar problems or has a clue what's going here.

    Just for the sake of your sanity, I've seen "funky" behaviour with inlined VIs also, but on Real-Time targets.
    I've never been able to narrow down the exact problem but it seems to be related to changed made to inlined VIs not being reflected in the compiled code od VIs which call them.
    I've reported it but without code which can actually reproduce it, it cannot be fixed.
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

  • I am trying to get minecraft for my iPod touch. When I put in my apple ID it says that I have to verify that I can buy it. I click ok I pulls up a site ask me for my apple ID and then I put in my security questions. After that it ask me some weird questio

    I am trying to get minecraft for my iPod touch. When I put in my apple ID it says that I have to verify that I can buy it. I click ok I pulls up a site ask me for my apple ID and then I put in my security questions. After that it ask me some weird question like Who Is your favorite teacher and another question like what is your least favorite car model. I did not set those as my secure questions. So can u please help me

    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions

  • Error and weird behaviour in executable launch

    Hello folks,
    This post is regarding a weird behaviour i am experiencing with an executable i built. 
    LABVIEW version(Includes Runtime engine) LV2012 SP1 f3
    DAQmx: 9.6.1
    The behaviour is listed below in detail. 
    In a nutshell, the exectuable runs on the development computer but does not run on the Target computer. Also, Irresepctive of which PC i run the executable on, i cannot access the block diagram even after enabling debugging everywhere. 
    On the target PC, the app fires up but does not run further, no error codes appear on the screen, it's like the app freezes after firing up. And to add to the misery, i cannot access the block diagram to debug and know what's going on. 
    Also, I have tried including the dynamic vis to my build script. No bueno. 
    What I see on running the app is addressed below:
    TARGET COMPUTER:
    DAQmx 9.7 and LV2012 SP1 f4 RTE have been installed manually.
    App does not run: No broken run button, the app launches but does nothing when the vi is run. No error messages.
    The block diagram is still inaccessible, even after selecting the “Enable debugging” option in the build specifications.
    DEVELOPMENT COMPUTER:
    The app launches and runs perfectly.
    The block diagram is still inaccessible, even after selecting the “Enable debugging” option in the build specifications.
    DAQmx 9.7 and LV2012 SP1 f4 RTE were not installed as the app recognized the already installed Labview environment.
    Additional steps that I have tried,
     Created and ran only an executable on the target PC, the attempt was unsuccessful. The vi showed similar characteristics as mentioned above in the target PC section.
     Created and ran an installer with additional install options(LV2012 f4 RTE and DAQmx 9.7)on the target PC, the attempt was again unsuccessful. The vi showed similar characteristics as mentioned above in the target PC section.  No error messages.
     Tried both the steps mentioned above on the development computer and the attempts were successful. .
    To the best of my knowledge, I believe, the issue here is with the environment I am creating for the executable and the installer to run with/off of. After having carefully followed the installation procedure for the Run-Time Engine and the DAQmx drivers, I still do not know what I am missing. 
    Please advise.
    Thanks guys, 
    RP.

    Hey guys, 
    So, got the application to work. Almost. 
    The problem was that the executable was missing the hardware config from the Device. 
    Now, the new issue is as following: 
    The goal of the vi is to generate a report of the test conducted. So, the way the vi works is that, the second the vi is run, an empty word file is created with only the company logo,  
    Field headings, which are populated after the test is conducted. 
    The logo is a .jpg file, which has a relative path into the executable.
    The field heading are String constants wired into a 'concatenate strings.vi' which are in turn wired to into the report generation vis.
    What's happening is that when i run the app on the target pc, Only the logo appears on the word template. Even when i conduct the whole test and stop the vi, the results aren't populated in the word file. Which is a little weird.
    Does any one know whats doing that?
    Please refer to the attached word files.
    Right - It is the file format desired. 
    Wrong - It is the file format achieved. 
    Please advise.
    Thanks,
    RP. 
    Attachments:
    Right.docx ‏17 KB
    Wrong.docx ‏16 KB

  • Weird behaviour of firefox in solaris 10

    Hi forum,
    I have noticed some weird (at least to me) of Firefox on Solaris.
    My desktop system is OpenSuse 11.1 and when I login to the Solaris server using ssh -X and then start Firefox remotely on the server one of 2 things happen.
    1- If I am not running firefox on my desktop Firefox is started remotely on the server and displayed locally, exactly as you expect it to.
    2- If ,however, I am already running Firefox on my OpenSuse system, the weird thing happens: even though I start Firefox remotely it actually (somehow) runs another instance of Firefox on my desktop as is obvious from the bookmarks end the ps command.
    Frankly I do not understand how this clever feature works, but I would like to switch this of definitely.
    Any ideas please?

    Firefox is looking at the X server to see if a copy is already running, then sending an X message to it to open another window.
    I'm not sure if there's an option to modify the behavior.
    Darren

  • HTML Link -AS2 fine, AS3 weird behaviour

    Hi Guys, I'm working on a project at the moment, and am
    seeing weird behaviour with the way my swf handles html links
    inside dynamic textboxes. When rendered as a AS2 file, the link
    works on a release as expected. When its inside a AS3 file the link
    will only work if the user right click and chooses 'open in new
    window' was there a change in behaviour how AS3 handles these
    links, or is there now an declaration needed to be made to allow
    these link to have the old behaviour?
    The project calls for xml data and embedded in that is a html
    link. Originally I thought it might have been the way I'd formed
    the xml so I tried with a hardcoded version instead (dynamic
    textbox, add text -> highlight -> add link through properties
    tab). But I still see the same behaviour between the as2 and as3
    versions.
    Any help would be greatly appreciated.
    Cheers.

    Actually, the ''href'' attribute is supposed to direct the browser to a new URL, etc., not run a script. Instead, use the ''onclick'' event attribute:
    ''<a onclick = “$('.div-feedback').fadeIn();”></a>''.
    Happy coding!

  • The problems seems that the free trial what i am constantly paying for may have ran out/free trial time never contacted as i find this online to take to long and to hard to deal with  yet a paying costumer restricted by some weird fault i don't get this t

    the problems seems that the free trial what i am constantly paying for may have ran out/free trial time never contacted as i find this online to take to long and to hard to deal with  yet a paying costumer restricted by some weird fault i don't get this tried every thing how can i be billed and money taken for hired subscription  but end up with a "free trial" that cut me off having withdrawal as i live my life inside Photoshop 

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • My iPad acting so weird tonight. When it shut down automatically because the battery has been drained. When I opened it, it creates some weird sounds like *swoosh* blahblah. It does make me feel nervous. Can someone help me? Does it already broken? :(

    My iPad acting so weird tonight. When it shut down automatically because the battery has been drained. When I opened it, it creates some weird sounds like *swoosh* blahblah. It does make me feel nervous. Can someone help me? Does it already broken?

    adetoye50 wrote:
    Dear Contacts Journal Support Team,
    FYI, this is a user to user support forum.  You are NOT addressing Apple here.
    Honestly, I doubt anyone is really going to take the time to read the novel you have written.

Maybe you are looking for

  • Can and how do you add a link to Facebook, Linkledin, etc

    Would like to add a links to various website, facebook, Linkedin, youtube, etc to my website. I see them on others sites with their Icons as the link. Can Iweb do that and if so how?

  • HFM Metadata Loading On-going Problem

    Hi There, We just migrated to HFM 11.1.1.3 from HFM 4. We used to have an issue in HFM 4 where almost everytime we loaded metadata, the system would hang and become unresponsive. The load screen would just sit there without ever completing the load.

  • Cisco ISE Active Endpoint Usage Reset

    Hi, I have a Cisco ISE running version 1.1 and I was wondering if it may be possible to reset the license usage/active endpoint shown on the dashboard? This was noticed after a restore of ISE due to replacement of hardware and I noticed that the lice

  • Premiere Elements 10 Video Preview Not Working

    I have all my project setting correct but when I import a clip and try to preview it all I see is a white screen.  The audio plays but the video does not. System Specs: Quicktime 7.7 Windows 8.1 64-bit EVGA GeForce 780 Ti ASUS Rampage IV Black Editio

  • Message = QM109 and FM = QM04_CHECK_NOTIFIC_CATEGORY

    Hello, Collegues! I have got one problem. I try integrate DMS and CS. I have service notification with the 3-d category (service notification, QMTYP). I made Object Link for doc type (for example SMQMEL) for linking DMS doc with service notification,