Drawing outside the java applet ?

Hi all !
How do you draw "outside" the space taken by the applet on the web page ?
For example, say I've got a menu bar where the applet size is 100 width by 20 height on the page, and when the user clicks on one of the buttons that I've drawn within the menu, I want to be able to draw menu buttons "below" the applet, over the web page (pop up menu style)
Cheers for a pointer in the right direction :)

Ooookay ..... then how come I've got an demo of
someone's applet here that does exactly this, i.e.
draws outside of it's original size ?
Show us the demo.
How might they do it ? (dont really want to decompile
someone else's class file, coz that's rude :-)Maybe someone will do it for you; the impossible has always attracted the human mind.

Similar Messages

  • Drawing outside the GUI

    Is there any way that I can draw outside the GUI? Something like a marker that draws anywhere on the screen, or a rectangle that you can drag around to take have a reference when taking a portion of a screen shot.

    Hojima wrote:
    Is there any way that I can draw outside the GUI? Something like a marker that draws anywhere on the screen, or a rectangle that you can drag around to take have a reference when taking a portion of a screen shot.That's not something you can do easily in Java, without going native I suspect.
    As an approximation, would you consider having Java take a screen shot, then allowing you to draw on that?

  • How do I clear all of the java applets that have been downloaded?

    I migrated firefox and other applications to my new mac so that I would not to reenter all of my passwords saved by firefox. However, it appears that the java applets were also transfered and one of these applets does not work with the new intel mac. I was able to get the same applet to work in safari, and I was able to delete the applet from safari as well, but was unable to do so in firefox.
    So, how do I clear all of the previously downloaded applets, or even better, just the one I want to? Clearing all of the recent history didn't work.
    Here is the site:
    http://www.mdbg.net/chindict/chindict.php
    == This happened ==
    A few times a week

    I did that already, and it cleared the applets for Safari, but not for Firefox.

  • The crash happened outside the java virtual machine in native code

    Hi,
    I have a biometric device with which I am given some C++ dlls. I am trying to call methods inside these using java (jna). I am loading the dll "zkemsdk.dll+" as follows:
    zkemkeeper INSTANCE1 = (zkemkeeper)Native.loadLibrary("zkemsdk", zkemkeeper.class);//zkemsdk is the dll, I am loading the dll here.
    Then, I am calling the function:
    zkemkeeper.INSTANCE1.Z_Connect_NETEX("ip address",4370);//Z_Connect_NETEX is a function inside zkemsdk.dll
    This returns me true or false based on whether am connected to the biometric device or not.Thus I am able to invoke this method without issues. But for other methods inside the dll, run time exception is thrown in console:
    Can someone help me resolve this issue. ??? Following is the content of the log file generated.
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0351fe3b, pid=1664, tid=3832
    # JRE version: 6.0_20-b02
    # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing windows-x86 )
    # Problematic frame:
    # C [zkemsdk.dll+0xfe3b]
    # If you would like to submit a bug report, please visit:
    # http://www.java.net/external?url=http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x003a9000): JavaThread "main" [_thread_in_native, id=3832, stack(0x008c0000,0x00910000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000106
    Registers:
    EAX=0x0090f7c4, EBX=0x00000001, ECX=0x00000000, EDX=0x00000001
    ESP=0x0090f7b4, EBP=0x0090f848, ESI=0x00000096, EDI=0x003a9000
    EIP=0x0351fe3b, EFLAGS=0x00010216
    Top of Stack: (sp=0x0090f7b4)
    0x0090f7b4: 00000000 0090f930 000003fc 00000103
    0x0090f7c4: 0090f800 6d9532d0 373e92a0 00912ec5
    0x0090f7d4: 00000401 0090f7d8 369860d1 0090f800
    0x0090f7e4: 37390050 00000000 37390f90 00000000
    0x0090f7f4: 0090f800 0090f930 003a9000 0090f830
    0x0090f804: 10008fd8 0090f840 0090f930 00000008
    0x0090f814: 0090f88c 0090fa28 0090f8f4 0090f848
    0x0090f824: eb53f637 0351ffdc 00000096 00000003
    Instructions: (pc=0x0351fe3b)
    0x0351fe2b: 0f 53 50 8d 44 24 18 50 e8 58 7c 00 00 83 c4 0c
    0x0351fe3b: 8b 4e 70 51 8b 0e 83 c3 04 53 6a 64 8d 54 24 18
    Stack: [0x008c0000,0x00910000], sp=0x0090f7b4, free space=13d0090f2e8k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [zkemsdk.dll+0xfe3b]
    C [jna5972695927945545932.tmp+0x9182]
    C [jna5972695927945545932.tmp+0x2161]
    C [jna5972695927945545932.tmp+0x2849]
    j com.sun.jna.Function.invokeInt(I[Ljava/lang/Object;)I+0
    j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;+90
    j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+194
    j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+344
    j $Proxy0.Z_Beep(J)Z+19
    j com.rfarrays.bhabs.fingerPrint.main([Ljava/lang/String;)V+84
    v ~StubRoutines::call_stub
    V [jvm.dll+0xf049c]
    V [jvm.dll+0x17fcf1]
    V [jvm.dll+0xf051d]
    V [jvm.dll+0xf9bc5]
    V [jvm.dll+0x10181d]
    C [javaw.exe+0x2155]
    C [javaw.exe+0x8614]
    C [kernel32.dll+0xb729]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sun.jna.Function.invokeInt(I[Ljava/lang/Object;)I+0
    j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;+90
    j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+194
    j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+344
    j $Proxy0.Z_Beep(J)Z+19
    j com.rfarrays.bhabs.fingerPrint.main([Ljava/lang/String;)V+84
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x02b10c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1976, stack(0x02dc0000,0x02e10000)]
    0x02b0a400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1280, stack(0x02d70000,0x02dc0000)]
    0x02b08c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=1984, stack(0x02d20000,0x02d70000)]
    0x02b07800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2160, stack(0x02cd0000,0x02d20000)]
    0x02b02400 JavaThread "Finalizer" daemon [_thread_blocked, id=2052, stack(0x02c80000,0x02cd0000)]
    0x02afd800 JavaThread "Reference Handler" daemon [_thread_blocked, id=752, stack(0x02c30000,0x02c80000)]
    =>0x003a9000 JavaThread "main" [_thread_in_native, id=3832, stack(0x008c0000,0x00910000)]
    Other Threads:
    0x02afc400 VMThread [stack: 0x02be0000,0x02c30000] [id=1504]
    0x02b1b800 WatcherThread [stack: 0x02e10000,0x02e60000] [id=1980]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 4928K, used 2455K [0x22970000, 0x22ec0000, 0x27ec0000)
    eden space 4416K, 55% used [0x22970000, 0x22bd5db0, 0x22dc0000)
    from space 512K, 0% used [0x22dc0000, 0x22dc0000, 0x22e40000)
    to space 512K, 0% used [0x22e40000, 0x22e40000, 0x22ec0000)
    tenured generation total 10944K, used 0K [0x27ec0000, 0x28970000, 0x32970000)
    the space 10944K, 0% used [0x27ec0000, 0x27ec0000, 0x27ec0200, 0x28970000)
    compacting perm gen total 12288K, used 343K [0x32970000, 0x33570000, 0x36970000)
    the space 12288K, 2% used [0x32970000, 0x329c5f20, 0x329c6000, 0x33570000)
    ro space 10240K, 51% used [0x36970000, 0x36e9ae00, 0x36e9ae00, 0x37370000)
    rw space 12288K, 54% used [0x37370000, 0x37a072d8, 0x37a07400, 0x37f70000)
    Dynamic libraries:
    0x00400000 - 0x00424000 C:\Program Files\Java\jre6\bin\javaw.exe
    0x7c900000 - 0x7c9b2000 C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f03000 C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
    0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
    0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
    0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
    0x6d800000 - 0x6da97000 C:\Program Files\Java\jre6\bin\client\jvm.dll
    0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
    0x6d7b0000 - 0x6d7bc000 C:\Program Files\Java\jre6\bin\verify.dll
    0x6d330000 - 0x6d34f000 C:\Program Files\Java\jre6\bin\java.dll
    0x6d290000 - 0x6d298000 C:\Program Files\Java\jre6\bin\hpi.dll
    0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
    0x6d7f0000 - 0x6d7ff000 C:\Program Files\Java\jre6\bin\zip.dll
    0x68000000 - 0x68036000 C:\WINDOWS\system32\rsaenh.dll
    0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
    0x769c0000 - 0x76a74000 C:\WINDOWS\system32\USERENV.dll
    0x5b860000 - 0x5b8b5000 C:\WINDOWS\system32\netapi32.dll
    0x6d610000 - 0x6d623000 C:\Program Files\Java\jre6\bin\net.dll
    0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
    0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
    0x76d60000 - 0x76d79000 C:\WINDOWS\system32\iphlpapi.dll
    0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
    0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
    0x10000000 - 0x10052000 C:\Documents and Settings\bkonwar\Local Settings\Temp\jna5972695927945545932.tmp
    0x03510000 - 0x03546000 C:\WINDOWS\system32\zkemsdk.dll
    0x03560000 - 0x03574000 C:\WINDOWS\system32\commpro.dll
    0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
    VM Arguments:
    jvm_args: -Dfile.encoding=Cp1252
    java_command: com.xyz.bhabs.fingerPrint
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;C:\Program Files\Java\jre1.6.0_07\bin;C:\Program Files\Android\android-sdk-windows\tools;C:\Program Files\TortoiseSVN\bin
    USERNAME=BKonwar
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2085780k(1286036k free), swap 4024188k(3249652k free)
    vm_info: Java HotSpot(TM) Client VM (16.3-b01) for windows-x86 JRE (1.6.0_20-b02), built on Apr 12 2010 13:52:23 by "java_re" with MS VC++ 7.1 (VS2003)
    time: Wed May 25 10:02:24 2011
    elapsed time: 21 seconds
    Regards,
    Bhabs
    Edited by: 861222 on May 25, 2011 12:19 AM

    861222 wrote:
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0351fe3b, pid=1664, tid=3832Not much to tell here. This line here looks suspiciously like a null-pointer error happening in the native code. It is impossible to say how, where and why. Go back to your code and start debugging I'd say, see where invalid data can be passed to the native code.

  • Where can I set the window dimensions for the "Java Applet window"?

    Hi,
    When I run a form on the web, the Java Applet is loaded and the form appear in the window. But "base window" have gived dimensions indifferent what dimensions has the window of the form which I run.
    So, where can I set the dimensions of the "core window" which is behind the MDI window of the application?
    Thanks in advance,
    Eugen

    Eugen,
    in formsweb.cfg you will find parameters "width" and "height". You can set absolute values in pixels or "relative" in percent.
    width=800
    height=600
    or
    width=100%
    height=100%
    Gerald Krieger

  • How do i get the java applet to stop appearing on the dock?

    how do i get the java applet to stop appearing on the dock? it seems to do this for pop-up windows.  also, the text on the popup window is different, how can I change that to normal?   this all started when i loaded MAC OS X 10.6.8

    You could try to block popup windows.
    Safari / Preferences / Security
    Also, go to Safari / Preferences / Extensions and clean out everything there.

  • How to maximize the java applet?

    Dear all,
    I have an application & when ever i run it, the java applet never comes in a maximum size. so is there a way to make it run in a maximum size?
    best regards,
    Ashraf

    so but htese two lines in the new_form_instancse trigger
    SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WINDOW_STATE,MAXIMIZE);
              SET_WINDOW_PROPERTY('WINDOW1',WINDOW_STATE,MAXIMIZE);
    good luck

  • I can't install the java applet for google drive

    I want to upload complete maps into drive as a backup. But every time I want to install the Java applet a little yellow bar appears in drive wich says: ''The installation of the java applet has failed.''
    (I'm using a dutch version, so the quotations are just a free translation to english.)
    When I click on the add-on button next to the padlock and click on ''allow to continue'' the page appears to refresh, but then the add-on button just reappears next to the padlock and nothing has changed.
    I have enabled java through the padlock and at the permissions tab, but that didn't solve it.
    I have also followed these steps: https://support.google.com/drive/answer/2424368, but these also didn't help.
    I have the latest versions of java and firefox installed, and I'm running windows 7.
    Please help

    This can be caused by blocking unsigned Java applets.
    What should I do when I see a security prompt from Java?:
    * http://www.java.com/en/download/help/appsecuritydialogs.xml
    There are other things that need your attention.
    Note that your System Details List shows multiple Flash plugins.
    # Shockwave Flash 12.0 r0
    # Shockwave Flash 11.9 r900
    You can find the installation path of all plugins on the <b>about:plugins</b> page.
    You can check the Flash player installation folder for multiple Flash player plugins and remove all (older) version(s) of the plugin (NPSWF32) and (re)install the latest Flash player.
    *(32 bit Windows) C:\Windows\System32\Macromed\Flash\
    *(64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\

  • No option to Enable the Java applet plug-in and Web Start applications

    How do I Enable the Java applet plug-in and Web Start applications
    Their is no option under java preferences General Tab
    The options i get their are
         Run appelts
              in their own proccess
              Within the browser process
              (Defaut most compatible)
    Under the network tab im told
    By default java applets and web start applications use network settings in the system network preferences. Only advanced users should modify these settings
    Any ideas on why it is like this?

    Mac OS 10.6.8
    This happend once before when I was running 10.5.8 I fixed it but for the life of me i can't remember how i did it.

  • Unable to start the java applet

    Hi there,
    I'm having some problems with the java applet unable to display on some of the pc in the workplace. I've tried to uninstall & reinstall the jre but still to no avail.
    Scenarios:
    Log in as Administrator = OK
    Log in as user with Administrator priviledge = NOT OK
    Is there anything else which I could try? please advice & thanks so much guys.

    Not sure if this is the correct solution but to edit your classpath go to your start button and select settings. then from there select control panel. then select system and when you get the pop up menu select the advanced tab. you should see an environment variables button. when you select environment variables you will get another pop up menu. there should be a listing for classpath. select it and click edit.
    start button -> settings -> control panel -> system -> advanced -> classpath
    move your cursor to the end of the listing for your classpath and add whatever file or directory you need to add. then click ok. make sure you include the entire path and if you need to add a jar file also include the .jar extension. however, it may be enough that you include the path up to the directory where the jar is located.
    once you add to your classpath, you will need to close and restart the application that needs the new classpath.

  • How do I set it to where the java applets will load up?

    Uhm.. So, I've gotten the 6.0 java, at first the java applets were doing fine and loading up with Firefox. I have checked the java console and it is set for fire fox, yet it's still not loading the applets. Any suggestions on how to fix this problem?

    Your above posted plugins list show that you have the Java plugin.
    Do Java test pages confirm that the Java plugin is working?
    http://www.java.com/en/download/help/testvm.xml - How do I test whether Java is working on my computer? - 1.4.2_xx, 1.5.0, 6.0
    http://www.java.com/en/download/installed.jsp - Verify Java Version

  • How do I send jsee for java 2 with the java applet

    Is there a way that the user downloads the jsee with the applet so even if they don't have the java plug in they get it so they can view my applet?

    that wouldn't be a good idea - the package size is hughe and i think it's better to tell a user that he needs j2ee 1.3.1 and where to get it than trying to start an automated download process....

  • Can anyone help with the java applet issue

    Hello everyone,
    This is my first thread in this forum,
    I need a little help with the form developer...
    I have oracle 9i db , 9i form developer
    I don't want to run the form i created as a java applet
    HOW IS THAT DONE i.e NOT IN THE INTERNET EXPLORER?????????
    ***IF ITS POSSIBLE

    Hello,
    I don't want to run the form i created as a java applet
    No chance, because the Web Forms client is an applet and cannot be anything else.
    Francois

  • The Java applet doesnt show up - instead white window !?

    Hello there..
    I have a mysteries problem.
    I have a client server program using RMI in Java 1.4 but sometimes before anything shows up, At the point that my java applet show up from the HTML page on 10% of the times I see a white window on the HTML page at the size of the applet and it dead.
    After this point everything stuck I cant even close my html window
    I have to do it from the task manager.
    What happiness here?

    Which version of Java do you have, try 1.4.2_09
    Have you any firewalls which might block your RMI?

  • How to retain the java applet generated code when back button is pressed!!

    I've a jsp page in which i've wirtten the code which specifies the word which i write in the text box, then through the applet i'm showing the word which is written in the text box. It means my applet is running and it show the words which i've written in the text box. Now when i click on submit it goes to the next page and when i click on browser's back button then except the applet generated code everyone retains its values. Is there any way to find it out when it encounter the back button click then applet should be restarted. so in this way without writing the whole application form and in the applet generated code i can submit it again.
    My question is how do i reatin the applet generated code when a click button is being pressed (b'coz for the textbox, textareas everything retains it)
    any suggestions or guidance are most welcome.
    thanks in advance....

    you don't need to navigate explicitly. Just clear the back stack till your specific page and say goback. below is the  code you can use.
     protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
                        e.cancel=true;
                    RemoveBackStackTillSpecificPage("page2.xaml");
                    GoBack();
    public static void RemoveBackStackTillSpecificPage(string pageName)
    PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
    var previousPage = frame.BackStack.FirstOrDefault();
    if (previousPage != null && previousPage.Source != null)
                    while (!previousPage.Source.ToString().Contains(pageName))
                        frame.RemoveBackEntry();
                        previousPage = frame.BackStack.FirstOrDefault();
            public static void GoBack()
                PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
                LastPageUri = frame.Source;
                frame.GoBack();
    Please mark this as answer if this answers your question
    Purushothama V S

Maybe you are looking for

  • How do i download 2 items if the download now button isn't working?

    I keep trying to download 2 items, click the download button but doesn't work. any suggestion/ideas/help? 

  • Wmode transparent and blend mode problem

    Dear all, I'm stuck with this problem so far, got headache after searching many days on google without solution. Our designer using blend mode: screen (in flash) for some movies and the flash's transparent to save the file size display and then ưe ar

  • Reassociating a site with iWeb 06

    I need a bit of help here from some bright person who use iWeb/Tiger . I did a clean install of the whole computer. I reinstalled iWeb from '06. I had previously published a site to iDisk created in iWeb. I had also published it to a folder, but I th

  • In Production Order Old Raw Material Batch No. not being picked (FIFO)

    Hi, We have activated Batch Management for ROH type of Materials with Split Valuation and the Strategy applied is FIFO. We have generated many such batches and consumed too, but lately out of many ROH mateials, 2 ROH who have Old Batches are not bein

  • FancyBox JQuery image gallery not working

    Hi all I'm working on a new portfolio site and I'm struggling to load the Fancybox. I've used it before and it worked fine but this time all that is happening is the images are opening in a new window once clicked. I'm also using another Javascript o