Canvas disappearing in applet

I have a canvas with a drawing added to a Panel on my applet. I posted the applet on my website, when I visit the site, after the page is refreshed, the canvas disappears. Also, once I've opened Safari, if I revisit the page, the canvas won't show up at all, but when I quit Safari and reopen it, it shows up again until the page is refreshed. Does anyone know why this is happening?
Thanks,
Jamey

Sorry but my crystal ball is not working so well today. Maybe it would be easier for everyone if you posted the code (using [code] tags) for the Applet.

Similar Messages

  • Canvas disappear on sending multiple requests specifically from IE 11

    I have a page which displays few javascript charts on it. I am using RGraph chart API to generate charts. The charts are been generated from a separate Ajax call.
    The page is working fine with IE 7, 8, 9 and 10. Then recently I have upgraded to IE 11. After upgrade the page is not working as intended. On performing refresh operation for about 3-4 times, section of some charts are been disappers. It displays
    blank section instead of chart. And random charts gets disapper. It is not fix that some specific charts will fade away.
    And when this issue occur, all the CSS on the page goes messy.
    I have checked for any javascript related error generated or not. But I didn't found any javascript error on the console.
    I have checked from development tool. The canvas tag is available, bit it does not display on the page. It shows a blank section instead.
    Any idea why this is happening?
    I have moved this question from IE 11 Community Support Forum. Here is the link of the forum. 
    http://answers.microsoft.com/en-us/ie/forum/ie11-iewindows8_1/canvas-disappear-on-sending-multiple-requests/c433cf9b-fb82-48f1-8554-ebb3354795fe

    I have a page which displays few javascript charts on it. I am using RGraph chart API to generate charts. The charts are been generated from a separate Ajax call.
    The page is working fine with IE 7, 8, 9 and 10. Then recently I have upgraded to IE 11. After upgrade the page is not working as intended. On performing refresh operation for about 3-4 times, section of some charts are been disappers. It displays blank
    section instead of chart. And random charts gets disapper. It is not fix that some specific charts will fade away.
    And when this issue occur, all the CSS on the page goes messy.
    I have checked for any javascript related error generated or not. But I didn't found any javascript error on the console.
    I have checked from development tool. The canvas tag is available, bit it does not display on the page. It shows a blank section instead.
    Any idea why this is happening?
    I have moved this question from IE 11 Community Support Forum. Here is the link of the forum. 
    http://answers.microsoft.com/en-us/ie/forum/ie11-iewindows8_1/canvas-disappear-on-sending-multiple-requests/c433cf9b-fb82-48f1-8554-ebb3354795fe
    Hi,
    In order to get your issue solved more efficiently, I would recommend you post another thread in
    https://forums.asp.net forum to get dedicated supports, since based on your description, you are having this issue with your web applications and that forum is for web development issues.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Canvas disappears when I click on it.

    Hi,
    I am adjusting to CS6 on a Windows 7 machine, and cannot figure out why clicking any part of my canvas with either the bounding box tool, select path tool, or text tool make the canvas disappear. 
    The file, and all of its layers were working fine--allowing me to edit as I had in CS 3 (the last version I used).  Suddenly, I'm unable to edit text because if I click on the line of it, the work area goes dark!  Clicking on the MOVE tool recovers the usual view. 
    Have I inadvertantly changed some mysterious setting? If so, I'm incredibly frustrated about a problem that should be easy to detect and fix.
    Thanks,
    Caroline

    This sounds like your GPU (Graphics processor) is having a problem with the heavier demands CS6 places on it.
    For starters, go to Edit > Preferences > Performance and where Use Graphics Processor is checked, click on Advanced and see if a lower setting, Normal or Basic works for you.
    If it doesn't, uncheck Use Graphics Processor.
    Next go to to the manufacturer website that makes your GPU, noting the model under Help > System info, and look for and install updated drivers.
    Hopefully this will fix it.
    Gene

  • Tab canvas disappear when the main stacked canvas reach the end of column

    Hi all,
    I have 3 canvas ( 1 main canvas, 1 stacked canvas ) and this link to 1 tab canvas. All these are in the same window.
    Whenever using the keyboard to press enter navigate from column to column and when it reach the end of the main canvas which is about to jump to the stack canvas, the two canvas ( stacked & tab ) was hide by itself. Even I have stated earlier to show all canvas in the pre-block trigger. when I keep on press the enter to jump to the next stacked canvas, this stacked canvas is being shown again. My tab canvas was not appear if I am press the enter key. However, if I press the arrow key down the tab canvas is appear. This I wasn't do any code to call the tab canvas.
    When I keep on press enter and reach the end of the stacked canvas again the tab canvas is disappear, unless I have press the arrow key down to display the tab canvas.
    Trying to use show_view( tab canvas ) in many trigger but still does not show the effect.
    Anyone has this experience before ?
    Thanks.
    Lim

    Hi Lim
    Pls check this hope it helps u to recognize dealing with muti-canvas in 1 window...
    how to use stack canvas in tab canvas in oracle forms
    Regards,
    Amatu Allah.
    Edited by: Amatu Allah on Sep 22, 2011 2:23 AM

  • Tab canvas disappears at run time

    Hi,
    I have a Content canvas with a data block displaying fields in the top section of the canvas_main. Bottom half of the canvas_main has canvas_tab with three tab pages tab1, tab2, tab3 all have data block (child records fo above block) each.
    At run time I can see the canvas main with its items but cannot see the tab pages.
    since I execute a query in WHEN-NEW-FORM-INSTANCE which is supposed to populate fields in canvas_main as well as child records in tab pages. I have inlcuded debug messages to see if tab page does appear or not. So the tab pages do appear and also display child record but tab canvas does not stay on the scree.
    Did try to use SHOW_VIEW('tab_canvas') without any luck.
    Any advice is greatly appreciated.
    Thanks

    Hi,
    a tab canvas is like a stacked canvas.
    Both canvas types disappear, when they lie over an item, with input focus. When you press next block / next item (when the items on the tab canvas belong to the same block) should display the canvas again. When this is true, I am probably right.
    Regards
    Hans

  • Question about stacked canvas disappearing

    Hi,
    I have a block which has some database items and non-database items. Since
    there are many items in the block, I use a stacked canvas with horizontal bar
    to display the less important items.
    In the trigger of new-block-instance, show_view('stacked_canvas')
    But I face one problem. When I click on a non-database item and then move
    the cursor away from the item, the stacked canvas suddenly disappears.
    Any idea ?
    Many thanks in advance

    Imagine each canvas as a piece of paper stacked on a desk. Each piece of paper possibly has a different size and the top left corner of each piece is possible oriented in a different spot. When you say show_view('stacked_canvas') its like reaching to the bottom of the pile and putting that canvas top. When you click on an item not on the stacked canvas that items canvas is placed on top. Your problem is that your non-database item content canvas is covering up the stacked canvas. I think...
    Your issue could be solved by simply rearranging the canvas order by putting the stacked canvas last (I think) in the object navigator.
    Raise on Entry could also be causing your issue. Go to the help. Click the search tab. Type "raise on entry". Read "Working with the Raise on Entry Canvas Property". There is a good explanation in there on how stacked canvases get covered up by content canvases and when.

  • Page content disappears as applet is loaded....

    Hello All,
    Question 1:
    I have a webpage where I have a form. I ask user to input a few things in there, and as user press the submit button I pass this information to the embedded applet.
    However as soon as he presses the submit button, the form disappears, quite strangely. I dont know why ??
    Can some one tell me whats the solution for this .??
    Question 2:
    Also after I call the applet, it takes the necessary action, but even after taking the necessary action it keeps on running in the backgrnd for nothing. I tried giving the stop command, but in console i can read that applet stops and starts again.
    I dont want applet to comsume memory resources for no reason. Please tell a solution to this also.
    Question 3:
    Also I dont know why browser cache the applet, i.e if I make some changes in the applet at the backend, they doesnt seems to reflect in the browser, until it is closed and started again.
    How can I remove this bug from my application??

    Once in edit mode, are you able to view the page's source and do a "Find" on a certain keyword that should normally appear in your page's content? Is it there?
    I'm trying to determine if its a server side issue with your master page's code that's causing the content not to be sent back across the wire to the user or if the content is there but just not properly presented. Thanks
    Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com

  • PS CS4 canvas disappears

    I've been experiencing this weird bug with CS4 where the canvas somehow gets minimized or just somehow disappears while all the tools and even layer . This becomes an issue when you are trying to close out photoshop and you are asked to save the document. You are unable to verify whether changes have been made or if anything has shifted since you last viewed the doc. Anyone else experience this or have a solution to prevent it from happening?

    It happens to me sometimes too. Like just now.
    Buko, when you are in Finder, say, and you want to shut down the computer and click onto Photoshop (i'm on an iMac 2.66GHz Intel Core Duo) with open docs minimized down in the dock you want to maybe save and quit, or don't save and quit, or undo a couple steps and quit, they just disappear.
    They are shown under the Window menu at the bottom like normal, but are nowhere to be seen onscreen. You go to Quit and a dialog comes up "Save changes to whatever.doc before quitting?", but you can't get to the document in order to know. So you have to save changes hoping to hell you didn't flatten an image you'll need layers for later or something. Or vice-versa. Infuriating. Is it some keyboard shortcut? If it helps, this happened when I cmd-tabbed to select Photoshop from my open apps.
    Apologies if this is addressed in another thread.

  • Forms canvas width vs applet width

    Wondering why it is that a form with canvas/window defined as width 560 (real/pixel coordinate system) only fills 75% of the width of the applet (set to 572 in formsweb.cfg and confirmed thru browser at run-time). Running in 1900x1200 resolution; can someone guess at an explanation ?
    Using forms 10.1.2 now; wasn't having any trouble under 9i in lower resolutions.
    Many thanks.

    Thanks Simon.
    The absence of early feedback suggested it was something to do with my setup; and turned out to be the DPI setting on the Windows PC under Advanced Display. The PC was morphing what it thought to be unreadable content by increasing it by 25%. This was interacting not only with the fonts but also the size of the applet. Design-time pixel settings on window/canvas items weren't lining up with applet configuration parameters etc.
    Updating the DPI setting under Windows back to normal was all I needed.
    Thanks for your support.

  • Canvas disappear on click out flex

    I know this is probably a dumb question, but I'm new to this and can't figure it out.
    I have a canvas that becomes visible when the user clicks a button. The canvas contains some elements (TextInput, ComboBox etc.). I want the canvas to disappear whenever the user clicks anywhere outside of the canvas (but of course NOT when the user clicks on elements within the canvas). I though this would accomplished with a focusOut event but I can't seem to get it working.
    Any help is greatly appreciated.
    Thanks,
    Jason

    hi,
    One thought is to monitor the click event for the app, if the event.target.parent or the event.target = thebox then leave visible true other wise make visible false.
    David.

  • Stacked canvas disappearing

    Hi All,
    Iam using forms 6i..its not working when Iam trying to call a canvas from a procedure but working if i write the code in a button (when-button-pressed)
    Iam using go_block('abc'); ---say abc is the block name in that canvas..
    If i use pause; after this go_block i can see the canvas. This canvas is having one text item and one button
    Thanks in advance
    Girish kotapati

    That sounds like a "Hack" to me. You shouldn't have to fail the form to make things work. What about the code that comes after the RAISE Form_Trigger_Failure? This code will never execute because you have halted execution. A better solution would be to trace through your form (either by turning runtime debug messages on or by using Forms Runtime Diagnostics [FRD]) to see why your form is not behaving as you are expecting.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Canvas disappear

    I'm rather puzzled with what happened to my Photoshop, i'm using Adobe Photoshop CS6 on a Windows 7 64 bit Notebook.
    when i'm in the office, it's docked at its station and connect to a larger monitor (via standard VGA plug on the dock) and i use both monitor (not closing the lid on the notebook)
    today, i had a spare monitor around that i can use, i plug it through the Display Port plug on the dock,
    it's all working fine, all three monitor display the desktop.
    but when i load up photoshop, making new files or opening existing files, there is nothing in the screen although the layer panel shows there is something there.
    when i unplug the new monitor,
    everything back to normal.
    what happened? is there a way to resolve this?

    Mm.. But if that is the case, shouldn't the whole screen be having a problem? The menu bar, etc the application or self are visible without any flickers, but only the canvas is missing. But other application such as office works across the screens.

  • Re: adding canvas to applet

    Hi
    I am trying to add a canvas to an applet. I am successful in doing so. There is a JMenuBar added to the applet. when I click on the file menu The contents are being displayed behind the canvas and as a result I am neither able to see the buttons nor select them. Could some one help me with this.
    Note: Once you compile the code you wouldn't be able to see the contents right away. Click on left top,immidiately below the applet menu. This will repaint the contentpane. This is some thing I am working on.
    applet class
    package aple;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Shape;
    import java.awt.geom.AffineTransform;
    import java.util.ArrayList;
    import javax.swing.JApplet;
    public class NewJApplet extends JApplet{
        public Graphics2D g2;
        AffineTransform atf = new AffineTransform();
        sketch sk = new sketch();   
            @Override
        public void init() {      
            getContentPane().add(sk);
           Gui gui = new Gui();
            // menubar
            this.setJMenuBar(gui.Gui());     
        @Override
    gui class
    package aple;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JMenuItem;
    public class Gui {
        JMenuBar menuBar;
        JMenu file,edit,insert,view,draw,circle;
        JMenuItem nu,close,saveAs,open,centreandradius,line,rectangle,point,arc;
        public JMenuBar Gui(){
            //Menubar
            menuBar = new JMenuBar();
            //Menus
            file = new JMenu("File");
            menuBar.add(file);
            edit = new JMenu("Edit");
            menuBar.add(edit);
            view = new JMenu("View");
            menuBar.add(view);
            insert = new JMenu("Insert");       
            draw = new JMenu("Draw");
            circle = new JMenu("Circle");
            draw.add(circle);
            insert.add(draw);       
            menuBar.add(insert);
            //MenuItems
            nu = new JMenuItem("New");
            file.add(nu);
            open = new JMenuItem("Open");
            file.add(open);
            saveAs = new JMenuItem("SaveAs");
            file.add(saveAs);
            close = new JMenuItem("Close");
            file.add(close);
            line = new JMenuItem("Line");
            draw.add(line);
            centreandradius = new JMenuItem("Centre and Radius");
            circle.add(centreandradius);
            rectangle = new JMenuItem("Rectangle");
            draw.add(rectangle);
            point = new JMenuItem("Point");
            draw.add(point);
            arc = new JMenuItem("arc");
            draw.add("Arc");
            return(menuBar);
    sketch class
    package aple;
    import java.awt.Canvas;
    import java.awt.Color;
    import java.awt.Graphics;
    public class sketch extends Canvas{
        public void sketch(){
            this.setBackground(Color.green);
        @Override
        public void paint(Graphics g){
         // g.fillRect(50,50, 50, 50); 
    }

    When you were using JPanel, your "setBackground" didn't work because you were overriding its paint(Graphics) method without calling "super.paint(g);". If you don't do this, the panel won't paint its background.
    You should also override "protected void paintComponent(Graphics g)" in any JComponent, such as JPanel, instead of just "paint(Graphics)". (And don't forget to call super.paintComponent(g) FIRST in your subclass's overridden method, if you want the background painted):
    class MyJPanelSubclass extends JPanel {
       protected void paintComponent(Graphics g) {
          super.paintComponent(g); // Paints background and any other stuff normally painted.
          // Do your custom painting here.
    }

  • Stacked canvas

    Hi
    I have a screen where part of the block is in a 'fixed' content canvas and part is in a stacked canvas which is scrollable. Initially, both canvases are displayed and I can scroll backwards and forwards in the stacked canvas. However, when I select one of the fields that is outside the stacked canvas the stacked canvas disappears. Is there anyway of pinning the stacked canvas so that it is visible all the time.
    Thanks

    Hi
    What i understand when your naviagation is on contact canvas item then stack canvas disappear.
    it is so simple just click on the border of stack canvas and drag the stack canvas away from the items of contant canvas. it may possible your stack canvas is over the any item of contant canvas
    Regards

  • Disappearing Canvases Any Ideas?

    On my form the screen is split into two canvases, one contains system information (basically two text fields) this canvas (stacked) is displayed on every form in the system.
    The main part of the screen is a content canvas which holds the tree view and other items. When I click on the tree view (and only when I click on the tree view) the stacked canvas disappears for no apparent reason. Any ideas why this could be happening?
    I can click anywhere else on the content canvas and nothing happens but as soon as my mouse is clicked within the tree view my stacked canvas disappears. Any ideas?

    I have placed a trigger - WHEN-MOUSE-CLICK - on the
    tree within it has the code:
    -- Heading canvas disappears - currently
    unexplainable
    DECLARE
         v_id ViewPort;
    BEGIN     
    --     v_id := Find_View('Heading');
    --     Set_View_Property(v_id, VISIBLE, PROPERTY_TRUE);
    --     Show_View(v_id);
         show_view('heading');
    END;
    I tried both methods hence the commented out code.
    This trigger was added to try and solve the problem
    of the canvas disappearing, hence doesn't affect it
    being displayed.
    Even if I remove the trigger the canvas still
    disappears.
    Any further ideas?Remove all codes with show_view, hide_view in your form.
    Set raise-on-entry property to N of both canvases.
    Add
    show_view('name of content canvas');
    show_view('name of stack canvas');
    in when-new-form-instance trigger.

Maybe you are looking for

  • Problems moving IMAP store to a new drive in 10.4 Server

    Hi, I'm having some problems with IMAP mail in 10.4 Server. I'm trying to move my mail store over to a different volume and have been having problems. Here are the locations: Database location: /Volumes/vol-old/Mail/Database Mail store location: /Vol

  • Screen sharing to windows xp

    hi i was looking on the system preferences and i found out that i can screen share on my local network but i am not sure exactly how to. if anyone knows how to please help me. thanks

  • Count number of elements

    Dear All, probably there is somethin wrong in how I use the xmlsequence... I have a table called XML_WORD with a fiels with XML Docs called XML_CONTENT As you see what I want to try is to count the number of elements into a certain node... What is wr

  • DB polling adapters for just insert

    hi, I have the following requirement that when a row is inserted into a table a new BPEL instance should be created.. it should fetch the data process it and update the table back with the processed data.. once the row gets updated by someother servi

  • ICloud sync fail

    I'm having severe problems with a reasonable important spreadsheet in numbers. It was syncing via the cloud earlier (updated iPhone, sync to ipPad) but now won't open on any device, nor will it download on my mac. Just seems bricked? Any tips?