Dragndrop in applet on windows xp

Hi,
i've developed an applet which recognizes drop-events of files in the Internet Explorer 6.0.2800. It works fine on Windows 2000, but now i tested on Windows XP and nothing worked. The event is not fired/recognized at all ! Does anybody no what the reason can be ? Are there any security options which changed and can be the reason ? I looked around but found nothing, so please help.
Thanks a lot,
Michael

I got security problems when calling the setProperty(ID id, Object value) function in a Forms Bean using JInitiator 1.1.8.16 too.
Following sequence solved the problem:
- setProperty (to transfer data)
- getProperty (to call function) .
The difference between both function is, that the getProperty function has no object typed parameter.

Similar Messages

  • What is the canonical name of icloud applet for windows?

    Hi, I am trying to determing the canonical name of the icloud applet for windows.  Does anyone know it?

    To expound a bit, within win7 control panel sits "iCloud".  I am attempting to hide the applet from being visible in control panel using group policy editor.  No big deal really, the hard part is determining the cononical name.  I have tried it in ways akin to other names, but no dice.  Here are some samples:
    Control Panel Item
    Canonical name
    GUID
    Action Center
    Microsoft.ActionCenter (Windows 7 and later only)
    {BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}
    Administrative Tools
    Microsoft.AdministrativeTools
    {D20EA4E1-3957-11d2-A40B-0C5020524153}
    AutoPlay
    Microsoft.AutoPlay
    {9C60DE1E-E5FC-40f4-A487-460851A8D915}
    Backup and Restore
    Microsoft.BackupAndRestore (Windows 7 and later only)
    {B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}
    Biometric Devices
    Microsoft.BiometricDevices (Windows 7 and later only)
    {0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}
    BitLocker Drive Encryption
    Microsoft.BitLockerDriveEncryption
    {D9EF8727-CAC2-4e60-809E-86F80A666C91}
    Color Management
    Microsoft.ColorManagement
    {B2C761C6-29BC-4f19-9251-E6195265BAF1}
    Credential Manager
    Microsoft.CredentialManager (Windows 7 and later only)
    {1206F5F1-0569-412C-8FEC-3204630DFB70}
    Date and Time
    Microsoft.DateAndTime
    {E2E7934B-DCE5-43C4-9576-7FE4F75E7480}

  • Problem with applet, popup window and focus loss

    Hi all !
    I've got a problem when my applet lose the focus. Let me explain :
    I've got an applet embed in a jsp page. There are several buttons in it that allow the user to open modal windows.
    The problem comes when the user gives the focus to another application whithout closing the modal window first.
    When he tries to come back to the web page owning the applet (using the task bar), then the modal window stays behind it and blocks any action on the applet.
    Does anyone know how to force the modal window to be displayed in front of the applet, even when the user plays with focuses ?
    Thank's in advance.

    thank you for your help, sils.
    I've written that code :
    * Cr�� le 31 ao�t 05
    package com.scor.apricot.web.rpc.ltnp.applet.listener.ldf;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.JDialog;
    import javax.swing.JPanel;
    public class AppletWindowListener extends WindowAdapter {
         private JPanel panel;
         private JDialog dialogWindow;
         public AppletWindowListener(JPanel panel, JDialog dialogWindow) {
              this.panel = panel;
              this.dialogWindow = dialogWindow;
         public void windowActivated(WindowEvent e) {
              if (dialogWindow!=null && dialogWindow.isShowing())
                   dialogWindow.toFront();
    }Is that right ?
    I don't know how to add the listener, where must I put the addWindowListener method ? It seems that this method cannot be used with a JApplet object.

  • Security issues with applets and windows Vista when printing to file

    Hi, everyone
    I am currently developing an application that prints out the result of some calculations.
    from a Javascript file, the output finally ends up in a java applet that should print the file in a special printer.
    For debugging purposes I have created a File printer that creates a file from the output comming to the printer; this way I can debug what commands the printer is receiving.
    This worked well on Windows Xp; Vista always asks for permissions for the applet, and altough I guarantee these permissions, printer is not allowed to create the output file and reports an error writing
    after a little research, I have found that java applets have all permissions when certificated as trusted applications; all but file creating permissions
    anyone has any idea of how could I fix this problem?
    Thanks in advance

    HI,
    Have you actually signed your applet? If the signers certificate is the trusted key store for Java it should treat your applet as trusted. You can use a self signed certificate for testing as long as the cert is in the trusted key store.
    Some links that might help:
    [http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/keytool.html]
    [http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/rsa_signing.html]
    Cheers,
    Shane

  • Applet popup window

    Good morning,
    I have an applet and I want to pop up another window, when a user clicks on a menu item, that allows the user to do some configuration for the application. The window has to be modal. How would I go about accomplishing this?
    Thanks in advance.
    Lynn

    thank you for your help, sils.
    I've written that code :
    * Cr�� le 31 ao�t 05
    package com.scor.apricot.web.rpc.ltnp.applet.listener.ldf;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.JDialog;
    import javax.swing.JPanel;
    public class AppletWindowListener extends WindowAdapter {
         private JPanel panel;
         private JDialog dialogWindow;
         public AppletWindowListener(JPanel panel, JDialog dialogWindow) {
              this.panel = panel;
              this.dialogWindow = dialogWindow;
         public void windowActivated(WindowEvent e) {
              if (dialogWindow!=null && dialogWindow.isShowing())
                   dialogWindow.toFront();
    }Is that right ?
    I don't know how to add the listener, where must I put the addWindowListener method ? It seems that this method cannot be used with a JApplet object.

  • Avoiding applet main window resizing when using browser zoom?

    Hello, I haven a applet embedded into a jsp page into an APPLET tag, with a fixed height and width, same values as the JPanel has on the applet with all the elements inside of it, my problem is, that if I use the browser zoom, the JPanel respects width and height but JApplet window does not, and increases until I stop zooming the site, I'd like to avoid this, I already tried by setting these parameters on the init function on the JApplet class:
    this.setSize(593, 468);
    this.setMaximumSize(new Dimension(593,468));
    this.setMinimumSize(new Dimension(593,468));
    this.setBounds(0, 0, 593, 468);
    this.setPreferredSize(new Dimension(593,468));
    But it does not work, is there something like a this.setResizable(false) for the JApplet class? I understand that JApplet is a subclass of JFrame isn't? please, any idea would be highly appreciated, have a nice day!!

    saman0suke wrote:
    So far I have the layout as NULL,Java doesn't have a NULL. Presumably you have a null layout. Don't do that/ Learn how to use layout managers and maybe you won't have a problem with the container being resized.
    db

  • Wrong image refresh in java applet AND Windows 7

    I'm managing since few days a java applet that takes an image from an industrial product and shows it in a browser (simple web server).
    There is following issue: the image is not correctly loaded and refreshed in its own window if just opened but only if the applet is running on Windows 7. The issue is solved as soon as I reduce the window to icon (minimize) and then resize it. I'm looking into java documentation on how to manage the image rendering, maybe I have to override some update or redraw method more, but it is taking time and I'm still learning. NOTE that the window opened does show the issue only when the windows size is not completely shown in the monitor.
    Meanwhile I'm wandering if some of you faced and solved similar problem.
    Thank you in advance,
    Elena

    Thank you Nitin for your quick reply!
    These are the calling of the functions in the code. As you can see, before to show the image, we are managing a zoom/unzoom by mouse wheel and an addition of writings data on the image itself. All is working fine except on W7:
    public void paint(Graphics g)
         //System.out.println("[ImageFrame::paint my paint!!!]");
         this.PaintImage(g);
    public void update(Graphics g)
         // System.out.println("[ImageFrame::update]");
         this.repaint();
    public void PaintImage(ImageInfo imageInfo, float fps)
         if (imageInfo != null)
              if (this.getImageInfoRef() == null){
                   this.setVisible(true);
              this.setTitle("Image Viewer (" + imageInfo.bufferedImage.getWidth() + "x" + imageInfo.bufferedImage.getHeight() + ") ");
              this.resizeImageFrame((int) (imageInfo.bufferedImage.getWidth() * zoomFactor), (int) (imageInfo.bufferedImage.getHeight() * zoomFactor));
              this.lastFps = fps;
              this.setImageInfoRef(imageInfo);
              //System.out.println("this.getWidth(): " + this.getWidth() + " this.getHeight(): " + this.getHeight() + " zoomFactor: " + zoomFactor);////
              this.PaintImage(this.getGraphics());
    public synchronized void PaintImage(Graphics g)
         ImageInfo locImageInfo = getImageInfoRef();
         if (locImageInfo != null)
              try
                   this.resizeImageFrame((int) (locImageInfo.bufferedImage.getWidth() * zoomFactor), (int) (locImageInfo.bufferedImage.getHeight() * zoomFactor));
                   BufferedImage bufferedImage = this.resizeBufferedImage(locImageInfo.bufferedImage, zoomFactor);
                   this.overlayCodeInfo(bufferedImage, locImageInfo.decInfoStruct, zoomFactor);
                   this.overlayPointerInfo(bufferedImage, locImageInfo.scaling, zoomFactor, this.crossX, this.crossY);
                   this.overlayFrameRateInfo(bufferedImage, this.lastFps);
                   Image img = Toolkit.getDefaultToolkit().createImage(bufferedImage.getSource());
                   boolean retdraw;
                   retdraw = g.drawImage(img, frameUpperBondarySizeX, frameUpperBondarySizeY, this);
              catch (Exception ex)
                   System.out.println("[ImageFrame::PaintImage] Exception: " + ex);
    Thank you again
    Elena

  • Handling Japanese Input in an Applet on Windows

    Hey there,
    We're working on a Java applet that needs to be able to handle Japanese input. The input methods on the Mac work just fine. On Windows (Win2k, specifically) it seems to fall appart. We've been using the Windows standard Japanese input method (IME-2000) and we've run tests using both the IE native JVM and the Java Plugin (1.4.0). In the native JVM we just get a ? on input and the value of the key character is 0. In the Plugin all we get are empty boxes. I'm not sure what the value of the key character is in the plugin as I haven't been able to trap a key-press event.
    Interestingly, you can copy a Japanese character from another program (Word, for example) and paste that character into the native JVM. Even the copy and paste method didn't work in the Java Plugin.
    It seems unlikely that this is a font issue. We can display Japanese characters (input from a Mac) in both the native IE VM and the Java Plugin (assuming the correct font is selected). We simply cannot accept input.
    We're currently compling to the 1.1.7 spec using WebGain VisualCafe 4.1. All the interface elements are AWT based.
    So, the question is, has anyone else found a fix for this problem?

    Not too sure why it is, but someone once suggested that the Microsoft IME doesn't support unicode, and therefore won't produce the correct code for Java.
    If you read through the documentation provided by Sun, it also states that the Microsoft IME's don't work.

  • JWS opens a Applet Running Window when starting the application

    I have an applet that runs perfectly fine when starting it by double clicking the desktop icon of through the Internet Explorer. My problem is that when I start the applet it opens up another window with status bar displaying "Applet Running". Is there any way to stop displying this window.

    It sounds like you are launching you applet from Java Web Start application by BasicService.showDocument("http://www.mycompany.com/myapplet.jnlp");
    This would of course launch a browser , which would launch another instance of Java Web Start to run the second applet.
    If you have all-permissions you could:
    Runtime.exec("javaws http://www.mycompany.com/myapplet.jnlp");
    to launch javaws directly.
    would be nice if web start allowed this with something like BasicService.launchJNLPClient("http://www.mycompany.com/myapplet.jnlp");
    /Dietz

  • IE6 starts new Applet viewer window

    I have an html page with an Applet tag. This start a new window with Applet viewer. Obvioulsy I want the Applet to start in the same window as the html page.
    Does anybody know why this is so?

    I was creating a new Frame() object and adding a Label to the Frame (writing the code manually). This always starts an Appletviewer window of its own in IE6.
    Label myLabel = new Label("A New Label");
    Frame myFrame = new Frame();
    myFrame.add(myLabel);
    Using the JDeveloper visual editor, creating a Label in the Applet automatically generated the following code. When this is delivered to IE6 it puts the Label in the same windows as the html page instead of starting a new window.
    this.setLayout(null);
    jLabel.setText("A New Label");
    jLabel.setBounds(new Rectangle(90, 70, 60, 25));
    this.add(jLabel, null);
    In retrospect the documentation says that creating a new Frame() will create a new Window. But you always read that last.

  • Maximizing the applet's window

    We are converting the forms/reports to run in the Application Server. When you run on the web, an applet starts the forms converted.
    In the older version of forms we use the trigger WHEN-TIMER-EXPIRED to refresh an application, so the user could be working in other task and when the time expired, we were using the win_api to show again the window refreshed.
    Now, when the window that is running the applet is minimized how can I maximize it using the time expired ?
    Urgent,
    Thanks.

    Can you not use the same win api to bring up the browser application, since the applet is running within the browser?

  • Problem with JOGL applet on Windows and Linux

    I made a simple test applet using JOGL involving a simple animation and a KeyListener. It put it on a web site, and it loads and runs correctly on my Mac, but it gives a blank box with a red x in it on Windows and Linux. Here is the code that I used to deploy the applet. I based it off the sample from https://jogl-demos.dev.java.net/applettest.html
    <applet code="TestApplet"
    width=300
    height=300
    archive="http://download.java.net/media/applet-launcher/applet-launcher.jar,
    http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,
    http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,
    http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl-demos.jar">
    <param name="codebase_lookup" value="false">
    <param name="subapplet.classname" value="TestApplet">
    <param name="subapplet.displayname" value="JOGL Applet">
    <param name="noddraw.check" value="true">
    <param name="progressbar" value="true">
    <param name="jnlpNumExtensions" value="1">
    <param name="jnlpExtension1"
    value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp">
    </applet>
    Does anyone know what I'm doing wrong? Thanks for your help.

    never mind. i figured it out.

  • Change java applet default window size

    Hi,
    I'm using eclipse to create an applet however its really annoying having to maximise the window each time i run it, is there anyway of changing the default size? So that it opens a bit bigger without me having to maximise the window each time?
    I've searched on google but had no luck. If anyone could help that would be great or even point me to a helpful webpage which might help me thanks.
    Paul

    Use either Layouts or setBounds to components that you add

  • OpenScript DOESN'T capture Java Applet popup window

    I am testing an airline website that requires to choose a Departure and Returning Date from a web.button called 'View Calendar' which is a Java Applet. During recording, it doesn't capture the View Calendar as an object and therefore, i am unable to test the validity of the dates chosen.

    I haven't seen an Applet module in OpenScript yet, you might have to use OFT to build the script

  • Applet viewer | windows xp

    I used JCreator to compile Hello.java applet from the tutorial and have Hello.html. Even when i copy and past the command.com or cmd.exe in the same dir where the file are it cant make the applet from dos.
    I already made C:\j2sdk1.4.0-beta3\bin path in system variables.
    If i use the browser it work, but anyway to make it work from the command line?

    Hi,
    you have to setup CLASSPATH env variable like this:
    set CLASSPATH=.;C:\j2sdk1.4.0-beta3\jre\lib\rt.jar
    at least.
    vpanasenko_even

Maybe you are looking for

  • Deleting duplicates in iphoto '09

    Is there a simple way to delete all duplicate photos

  • Cascading RV180 as DHCP server but pointing to another default gateway router

    Hi, My network topology is as follows: Internet <-> Residential Gateway (RG) from ISP (OEM: Pace) [192.168.1.254/255.255.255.0] <-> RV180 [192.168.1.253/255.255.255.0] <-> SG500 switch [192.168.1.250/255.255.255.0] <-> rest of network. I know this is

  • Oracle Primary key error on a sequence number generator

    I have a table called table 1 and I am trying to insert a few values in this table and i am constantly getting bogged down by a primary key error. Strange thing is this primary key called "ID" on the table is a sytem generated sequence value number.

  • Using Nokia headset with Skype

    Is is possible to use my HDW-3 headset with Skype? My laptop's bluetooth enabled & I can pair the headset qwith it. I don't know how to tell Skype to use the headset (if it's possible).

  • Delete song from iphone

    i wanted to delete song from my iphone. so i tried only to sync the song i wanted but all the song still there.. what should i do