Calling a canvas

hi guys, i currently have a form consisting of 2 cavas's (or pages if you wish) from my first canvas when a button is pressed i would like to call my second canvas but cannot figure the appropriate method to do so. I tried typing:
go_item(PAGE_2'); <-page 2 is my canvas name
into the when button pressed trigger but it didnt seem to work, anyone any suggestions? thanks.

Hi,
You can use GO_ITEM built-in for that. You have to give an item name which resides in the second canvas not the canvas name.
GO_ITEM('<block_name>.<item_name>');Or you can use SHOW_VIEW built-in. In this you can use the canvas name.
SHOW_VIEW('<canvas_name>');Regards,
Manu.
If my response or the response of another was helpful or Correct, please mark it accordingly

Similar Messages

  • Calling content canvas with stacked canvas

    Hi.
    i have a content canvas in that i have a linked stacked canvas...
    from some other screen if i call content canvas by show_view('Content canvas') i am only getting the content canvas. but i am not getting the linked stacked canvas. weather it is correct ,or not . if i want to see the stacked canvas on content canvas ,i nee to call the stacked canvas too?.
    please clearify me..
    thanks in advance.
    vijay.

    Normally, it is not required to explicitely call a show_view on a stacked canvas.
    In Object Navigator, assure that the stacked canvas (in terms of a sequence) is below the content canvas.
    If the stacked canvas is still not shown issue a GO_BLOCK() and / or GO_ITEM() e.g. in the WHEN-NEW-FORM-INSTANCE Trigger
    to the block having at least on item on the stacked canvas to be displayed.
    In doing so, you must assure that at least one item on the block (having the stacked canvas assigned) is able to receive
    the focus (is enabled and it might be required to set the keyboard navigable property (not sure about that)).
    Due to the internal navigation of oracle forms, the canvas should get displayed when an item on the canvas receives the focus

  • Can't find this referred to Addon: Recommendation for similar option? "It's a Firefox add-on called Web Canvas (by Methodologie).?

    Dear Support team for Add-ons:
    I am trying to locate this referred to addon for a Web Canvas.
    Location of Referral Source:
    http://www.artistcareertraining.com/storage/ACT-WebBanner2011-1.jpg
    This is a paragraph from the article:
    It's a Firefox add-on called Web Canvas (by Methodologie). When you add it to your Firefox web browser it superimposes a transparent grid over whatever website you're looking at that maps out the browser sizes of different kinds of users. That way you can clearly see, for example, what part of your website 50% of the users will be able to see, what part 92% of the web users will see, etc.
    This is graphic given:
    (sorry, the graphic doesn't paste)
    QUESTION: Is this available???
    If not... Do you have something similar that I could addon? Any other recommendations?
    Thank you for your consideration in the matter.
    Sara Horrocks [email protected]

    This hit the spot on answer! Thanks especially the "edmeister" and "Tony" for responding. I will forward this information to my source of information that didn't have it right... Sara

  • Calling stacked canvas

    hi everyone,
    currently i am working in oracle forms ( 6i ). how to call the stacked canvas through coding when the radio button is clicked.

    Show_View is not allways a good workaround.
    As i said, the displayed canvas is the one that include item which have the focus.
    Show_View will do nothing if you want to display a stacked canvas which is behind another one that get item focus.
    Francois

  • Help needed:Synchronizing calls to canvas

    Hello,
    I am trying to make sequential calls to a canvas object from my midlet, and I do not know how can I make the second call wait until the first is finished. Any help?
    Here is a piece of my code. The problem that I find is that the second call to method "pinta" (which in turn calls repaint) overrides the first one, so this first call is not executed. If I use threads and write sleep(time) between calls to "pinta", I experience problems if "time" is shorter that the time to process the repaint. How should I write it properly? Thanks
    public class MiTest extends MIDlet {
    private Display display;
    public MiTest()
    display=Display.getDisplay(this);
    public void startApp() {
    CanvasTest test=new CanvasTest(display);
    test.pinta(1);
    test.pinta(2);
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    class CanvasTest extends Canvas {  
    private int x;
    private Display display;
    private int vNum;
    public CanvasTest(Display d)
    x=0;
    vNum=0;
    display=d;
    display.setCurrent(this);
    protected void paint(Graphics g) {
    x=0;
    for (int i=1;i<1000;i++) {x++;System.out.println("Call No.="+vNum+",x="+x);}
    public void pinta(int num)
    vNum=num;
    repaint();

    after your first repaint() call
    add the command, so it will look something like this...
    repaint(); //<< this is your repaint call
    serviceRepaints();//causes all pending paint calls to be processed immediatlysome implementations don't properly implement the serviceRepaints() method.
    If this is the case and serviceRepaints does not work, andd the following instead(or as well as if you want)
    repaint();//<< this is your repaint call
    painting=true;
    while(painting){ Thread.yield(); }and now, at the end of your paint(...) method...
    painting=false;both of these methods will cause the current thread to pause until the repaint has been fully processed.
    hope this helps..
    rob.

  • Calling values to a Stacked Canvas

    Is there a way to pull information from different tables onto a stacked canvas? I want to be able to call this canvas from an Order form to check on the payment history of customers. I would like to grey out (disable) the text items I create on the stacked canvas so that it appears like text are directly written on the stacked canvas.

    Here's another option...
    Instead of the Control block that duplicates the items that you want to show on the stacked canvas, you can just duplicate the item in whatever block it is in. Give the item a different name, set the "Synchronize With Item" property to the actual item, make the new item a non-database item, and set the new item's canvas to your stacked canvas. Then you do need any code to copy the values. It will always be synchronized with the original item.
    It isn't that much different, but you don't have the side effect of changing blocks when you navigate to the item on the stacked canvas.

  • Overlay Images and Shapes on the same canvas

    The example copde below was taken from: http://math.hws.edu/eck/cs124/javanotes3/source/
    Is it possible to update the code so that images (jpg,gif) can be added as well as shapes?
    Any help with this is much appreciated.
        The ShapeDraw applet lets the user add small colored shapes to
        a drawing area and then drag them around.  The shapes are rectangles,
        ovals, and roundrects.  The user adds a shape to the canvas by
        clicking on a button.  The shape is added at the upper left corner
        of the canvas.  The color of the shape is given by the current
        setting of a pop-up menu.  The user can drag the shapes with the
        mouse.  Ordinarily, the shapes maintain a given back-to-front order.
        However, if the user shift-clicks on a shape, that shape will be
        brought to the front.
        A menu can be popped up on a shape (by right-clicking or performing
        some othe platform-dependent action).  This menu allows the user
        to change the size and color of a shape.  It is also possible to
        delete the shape and to bring it to the front.
        This file defines the applet class plus several other classes used
        by the applet, namely:  ShapeCanvas, Shape, RectShape, OvalShape,
        and RoundRectShape.
        David Eck
        July 28,  1998
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    import java.util.Vector;
    public class ShapeDrawWithMenu extends Applet {
       public void init() { 
            // Set up the applet's GUI.  It consists of a canvas, or drawing area,
            // plus a row of controls below the canvas.  The controls include three
            // buttons which are used to add shapes to the canvas and a Choice menu
            // that is used to select the color used for a shape when it is created.
            // The canvas is set as the "listener" for these controls so that it can
            // respond to the user's actions.  (The pop-up menu is created by the canvas.)
          setBackground(Color.lightGray);
          ShapeCanvas canvas = new ShapeCanvas();  // create the canvas
          Choice colorChoice = new Choice();  // color choice menu
          colorChoice.add("Red");
          colorChoice.add("Green");
          colorChoice.add("Blue");
          colorChoice.add("Cyan");
          colorChoice.add("Magenta");
          colorChoice.add("Yellow");
          colorChoice.add("Black");
          colorChoice.add("White");
          colorChoice.addItemListener(canvas);
          Button rectButton = new Button("Rect");    // buttons for adding shapes
          rectButton.addActionListener(canvas);
          Button ovalButton = new Button("Oval");
          ovalButton.addActionListener(canvas);
          Button roundRectButton = new Button("RoundRect");
          roundRectButton.addActionListener(canvas);
          Panel bottom = new Panel();   // a Panel to hold the control buttons
          bottom.setLayout(new GridLayout(1,4,3,3));
          bottom.add(rectButton);
          bottom.add(ovalButton);
          bottom.add(roundRectButton);
          bottom.add(colorChoice);
          setLayout(new BorderLayout(3,3));
          add("Center",canvas);              // add canvas and controls to the applet
          add("South",bottom);
       public Insets getInsets() {
            // Says how much space to leave between the edges of the applet and the
            // components in the applet.
          return new Insets(3,3,3,3);
    }  // end class ShapeDraw
    class ShapeCanvas extends Canvas implements ActionListener, ItemListener,
                                                MouseListener, MouseMotionListener {
          // This class represents a canvas that can display colored shapes and
          // let the user drag them around.  It uses an off-screen images to
          // make the dragging look as smooth as possible.  A pop-up menu is
          // added to the canvas that can be used to performa certain actions
          // on the shapes;
       Image offScreenCanvas = null;   // off-screen image used for double buffering
       Graphics offScreenGraphics;     // graphics context for drawing to offScreenCanvas
       Vector shapes = new Vector();   // holds a list of the shapes that are displayed on the canvas
       Color currentColor = Color.red; // current color; when a shape is created, this is its color
       ShapeCanvas() {
            // Constructor: set background color to white, set up listeners to respond to mouse actions,
            //              and set up the pop-up menu
          setBackground(Color.white);
          addMouseListener(this);
          addMouseMotionListener(this);
          popup = new PopupMenu();
          popup.add("Red");
          popup.add("Green");
          popup.add("Blue");
          popup.add("Cyan");
          popup.add("Magenta");
          popup.add("Yellow");
          popup.add("Black");
          popup.add("White");
          popup.addSeparator();
          popup.add("Big");
          popup.add("Medium");
          popup.add("Small");
          popup.addSeparator();
          popup.add("Delete");
          popup.add("Bring To Front");
          add(popup);
          popup.addActionListener(this);
       } // end construtor
       synchronized public void paint(Graphics g) {
            // In the paint method, everything is drawn to an off-screen canvas, and then
            // that canvas is copied onto the screen.
          makeOffScreenCanvas();
          g.drawImage(offScreenCanvas,0,0,this);
       public void update(Graphics g) {
            // Update method is called when canvas is to be redrawn.
            // Just call the paint method.
          paint(g);
       void makeOffScreenCanvas() {
             // Erase the off-screen canvas and redraw all the shapes in the list.
             // (First, if canvas has not yet been created, then create it.)
          if (offScreenCanvas == null) {
             offScreenCanvas = createImage(getSize().width,getSize().height);
             offScreenGraphics = offScreenCanvas.getGraphics();
          offScreenGraphics.setColor(getBackground());
          offScreenGraphics.fillRect(0,0,getSize().width,getSize().height);
          int top = shapes.size();
          for (int i = 0; i < top; i++) {
             Shape s = (Shape)shapes.elementAt(i);
             s.draw(offScreenGraphics);
       public void itemStateChanged(ItemEvent evt) {
              // This is called to respond to item events.  Such events
              // can only be sent by the color choice menu,
              // so respond by setting the current color according to
              // the selected item in that menu.
          Choice colorChoice = (Choice)evt.getItemSelectable();
          switch (colorChoice.getSelectedIndex()) {
             case 0: currentColor = Color.red;     break;
             case 1: currentColor = Color.green;   break;
             case 2: currentColor = Color.blue;    break;
             case 3: currentColor = Color.cyan;    break;
             case 4: currentColor = Color.magenta; break;
             case 5: currentColor = Color.yellow;  break;
             case 6: currentColor = Color.black;   break;
             case 7: currentColor = Color.white;   break;
       public void actionPerformed(ActionEvent evt) {
              // Called to respond to action events.  The three shape-adding
              // buttons have been set up to send action events to this canvas.
              // Respond by adding the appropriate shape to the canvas.  This
              // also be a command from a pop-up menu.
          String command = evt.getActionCommand();
          if (command.equals("Rect"))
             addShape(new RectShape());
          else if (command.equals("Oval"))
             addShape(new OvalShape());
          else if (command.equals("RoundRect"))
             addShape(new RoundRectShape());
          else
             doPopupMenuCommand(command);
       synchronized void addShape(Shape shape) {
              // Add the shape to the canvas, and set its size/position and color.
              // The shape is added at the top-left corner, with size 50-by-30.
              // Then redraw the canvas to show the newly added shape.
          shape.setColor(currentColor);
          shape.reshape(3,3,50,30);
          shapes.addElement(shape);
          repaint();
       // ------------ This rest of the class implements dragging and the pop-up menu ---------------------
       PopupMenu popup;
       Shape selectedShape = null;     // This is null unless a menu has been popped up on this shape.
       Shape draggedShape = null;      // This is null unless a shape has been selected for dragging.
       int prevDragX;  // During dragging, these record the x and y coordinates of the
       int prevDragY;  //    previous position of the mouse.
       Shape clickedShape(int x, int y) {
             // Find the frontmost shape at coordinates (x,y); return null if there is none.
          for ( int i = shapes.size() - 1; i >= 0; i-- ) {  // check shapes from front to back
             Shape s = (Shape)shapes.elementAt(i);
             if (s.containsPoint(x,y))
                return s;
          return null;
       void doPopupMenuCommand(String command) {
             // Handle a command from the pop-up menu.
          if (selectedShape == null)  // should be impossible
             return;
          if (command.equals("Red"))
             selectedShape.setColor(Color.red);
          else if (command.equals("Green"))
             selectedShape.setColor(Color.green);
          else if (command.equals("Blue"))
             selectedShape.setColor(Color.blue);
          else if (command.equals("Cyan"))
             selectedShape.setColor(Color.cyan);
          else if (command.equals("Magenta"))
             selectedShape.setColor(Color.magenta);
          else if (command.equals("Yellow"))
             selectedShape.setColor(Color.yellow);
          else if (command.equals("Black"))
             selectedShape.setColor(Color.black);
          else if (command.equals("White"))
             selectedShape.setColor(Color.white);
          else if (command.equals("Big"))
             selectedShape.resize(75,45);
          else if (command.equals("Medium"))
             selectedShape.resize(50,30);
          else if (command.equals("Small"))
             selectedShape.resize(25,15);
          else if (command.equals("Delete"))
             shapes.removeElement(selectedShape);
          else if (command.equals("Bring To Front")) {
             shapes.removeElement(selectedShape);
             shapes.addElement(selectedShape);
          repaint();
       synchronized public void mousePressed(MouseEvent evt) {
             // User has pressed the mouse.  Find the shape that the user has clicked on, if
             // any.  If there is a shape at the position when the mouse was clicked, then
             // start dragging it.  If the user was holding down the shift key, then bring
             // the dragged shape to the front, in front of all the other shapes.
          int x = evt.getX();  // x-coordinate of point where mouse was clicked
          int y = evt.getY();  // y-coordinate of point
          if (evt.isPopupTrigger()) {            // If this is a pop-up menu event that
             selectedShape = clickedShape(x,y);  // occurred over a shape, record which shape
             if (selectedShape != null)          // it is and show the menu.
                popup.show(this,x,y);
          else {
             draggedShape = clickedShape(x,y);
             if (draggedShape != null) {
                prevDragX = x;
                prevDragY = y;
                if (evt.isShiftDown()) {                 // Bring the shape to the front by moving it to
                   shapes.removeElement(draggedShape);  //       the end of the list of shapes.
                   shapes.addElement(draggedShape);
                   repaint();  // repaint canvas to show shape in front of other shapes
       synchronized public void mouseDragged(MouseEvent evt) {
              // User has moved the mouse.  Move the dragged shape by the same amount.
          if (draggedShape != null) {
             int x = evt.getX();
             int y = evt.getY();
             draggedShape.moveBy(x - prevDragX, y - prevDragY);
             prevDragX = x;
             prevDragY = y;
             repaint();      // redraw canvas to show shape in new position
       synchronized public void mouseReleased(MouseEvent evt) {
              // User has released the mouse.  Move the dragged shape, then set
              // shapeBeingDragged to null to indicate that dragging is over.
              // If the shape lies completely outside the canvas, remove it
              // from the list of shapes (since there is no way to ever move
              // it back onscreen).
          int x = evt.getX();
          int y = evt.getY();
          if (draggedShape != null) {
             draggedShape.moveBy(x - prevDragX, y - prevDragY);
             if ( draggedShape.left >= getSize().width || draggedShape.top >= getSize().height ||
                     draggedShape.left + draggedShape.width < 0 ||
                     draggedShape.top + draggedShape.height < 0 ) {  // shape is off-screen
                shapes.removeElement(draggedShape);  // remove shape from list of shapes
             draggedShape = null;
             repaint();
          else if (evt.isPopupTrigger()) {        // If this is a pop-up menu event that
             selectedShape = clickedShape(x,y);   // occurred over a shape, record the
             if (selectedShape != null)           // shape and show the menu.
                popup.show(this,x,y);
       public void mouseEntered(MouseEvent evt) { }   // Other methods required for MouseListener and
       public void mouseExited(MouseEvent evt) { }    //              MouseMotionListener interfaces.
       public void mouseMoved(MouseEvent evt) { }
       public void mouseClicked(MouseEvent evt) { }
    }  // end class ShapeCanvas
    abstract class Shape {
          // A class representing shapes that can be displayed on a ShapeCanvas.
          // The subclasses of this class represent particular types of shapes.
          // When a shape is first constucted, it has height and width zero
          // and a default color of white.
       int left, top;      // Position of top left corner of rectangle that bounds this shape.
       int width, height;  // Size of the bounding rectangle.
       Color color = Color.white;  // Color of this shape.
       void reshape(int left, int top, int width, int height) {
             // Set the position and size of this shape.
          this.left = left;
          this.top = top;
          this.width = width;
          this.height = height;
       void resize(int width,int height) {
             // Set the size without changing the position
          this.width = width;
          this.height = height;
       void moveTo(int x, int y) {
              // Move upper left corner to the point (x,y)
          this.left = x;
          this.top = y;
       void moveBy(int dx, int dy) {
              // Move the shape by dx pixels horizontally and dy pixels veritcally
              // (by changing the position of the top-left corner of the shape).
          left += dx;
          top += dy;
       void setColor(Color color) {
              // Set the color of this shape
          this.color = color;
       boolean containsPoint(int x, int y) {
             // Check whether the shape contains the point (x,y).
             // By default, this just checks whether (x,y) is inside the
             // rectangle that bounds the shape.  This method should be
             // overridden by a subclass if the default behaviour is not
             // appropriate for the subclass.
          if (x >= left && x < left+width && y >= top && y < top+height)
             return true;
          else
             return false;
       abstract void draw(Graphics g); 
             // Draw the shape in the graphics context g.
             // This must be overriden in any concrete subclass.
    }  // end of class Shape
    class RectShape extends Shape {
          // This class represents rectangle shapes.
       void draw(Graphics g) {
          g.setColor(color);
          g.fillRect(left,top,width,height);
          g.setColor(Color.black);
          g.drawRect(left,top,width,height);
    class OvalShape extends Shape {
           // This class represents oval shapes.
       void draw(Graphics g) {
          g.setColor(color);
          g.fillOval(left,top,width,height);
          g.setColor(Color.black);
          g.drawOval(left,top,width,height);
       boolean containsPoint(int x, int y) {
             // Check whether (x,y) is inside this oval, using the
             // mathematical equation of an ellipse.
          double rx = width/2.0;   // horizontal radius of ellipse
          double ry = height/2.0;  // vertical radius of ellipse
          double cx = left + rx;   // x-coord of center of ellipse
          double cy = top + ry;    // y-coord of center of ellipse
          if ( (ry*(x-cx))*(ry*(x-cx)) + (rx*(y-cy))*(rx*(y-cy)) <= rx*rx*ry*ry )
             return true;
          else
            return false;
    class RoundRectShape extends Shape {
           // This class represents rectangle shapes with rounded corners.
           // (Note that it uses the inherited version of the
           // containsPoint(x,y) method, even though that is not perfectly
           // accurate when (x,y) is near one of the corners.)
       void draw(Graphics g) {
          g.setColor(color);
          g.fillRoundRect(left,top,width,height,width/3,height/3);
          g.setColor(Color.black);
          g.drawRoundRect(left,top,width,height,width/3,height/3);
    }

    Manveer-Singh
    Please don't post in old threads that are long dead. When you have a question, please start a topic of your own. Feel free to provide a link to an old thread if relevant.
    I'm locking this 3 year old thread now.
    db
    edit You have earlier been advised not to post in old dead threads.
    [http://forums.sun.com/thread.jspa?threadID=354443]
    Continuing to ignore this advice will render your account liable to be blocked.
    Edited by: Darryl.Burke

  • 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.

  • Static canvas

    Hi,
    How do you make a canvas class static, I have an applet which contains a canvas 'can', when I try and call this canvas from another class - can.repaint() in a mouselistener, I keep getting can't reference a static method from a non static context.
    can anyone help please!
    NTK1

    Hope this helps://
    //  Applet1.java
    import java.awt.*;
    import java.awt.Graphics2D.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.applet.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    import java.lang.*;
    //this is the class with the canvas to be repainted
    public class Applet1 extends JApplet implements ActionListener{
        Applet1Canvas can = new Applet1Canvas();
        Button SurveyButton;
        public final static TextArea appletTextArea = new TextArea("no value yet");
        //Global drawing canvas object
        //Initialize the applet
        public void init() {
            try {
                jbInit();
            }catch(Exception e) {
                e.printStackTrace();
        private void jbInit() {
            SurveyButton = new Button("Survey");
            SurveyButton.addActionListener(this);
            can.add(appletTextArea, BorderLayout.NORTH);
            can.add(SurveyButton, BorderLayout.CENTER);
            setContentPane(can);
        public void actionPerformed(ActionEvent e) {
            if ( e.getSource() == SurveyButton ) {
                MyFrame SurveyFrame = new MyFrame(can);
                //trying to pass canvas object to frame class
        static class Applet1Canvas extends JPanel {
            // Define paint() method for 2D graphical output
            public void paint(Graphics screen) {
                Graphics2D screen2D = (Graphics2D)screen;
                super.paint(screen2D);
            public void setText(String txt) {
                appletTextArea.setText(txt);
    //  MyFrame.java
    import java.awt.*;
    import java.awt.Graphics2D.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.applet.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    //frame class with mouse events
    public class MyFrame extends JFrame implements MouseListener, MouseMotionListener{
        MyFrameCanvas SurveyCan = new MyFrameCanvas();
        Applet1.Applet1Canvas m_canvas;
        public MyFrame(Applet1.Applet1Canvas c) {
            m_canvas = c;
            addMouseListener(this);
            addMouseMotionListener(this);
            SurveyCan.setBackground(Color.white);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                    dispose();
            try {
                jbInit();
            }catch(Exception e) {
                e.printStackTrace();
            setBounds(200,200,200,390);
            show();
        static class MyFrameCanvas extends JPanel {
            // Define paint() method for 2D graphical output
            public void paint(Graphics screen) {
                Graphics2D screen2D = (Graphics2D)screen;
                super.paint(screen2D);
        public void mouseMoved(MouseEvent e) {
        public void mouseDragged (MouseEvent e) {
            System.out.println(e.getX() + " " + e.getY());
            SurveyCan.repaint();
            m_canvas.setText("mouse dragged at "+e.getX() + " " + e.getY());
            m_canvas.repaint();
        public void mousePressed(MouseEvent e) {
        public void mouseReleased(MouseEvent e) {
        public void mouseEntered(MouseEvent e) {
        public void mouseExited(MouseEvent e) {
        public void mouseClicked(MouseEvent e) {
        private void jbInit() throws Exception {
            JLabel instructionLabel
                = new JLabel(
                    "<html><center><font face=\"Arial\"><b><br><br>"+
                    "drag mouse here<br>to change applet value"+
                    "</b></font></center></html>");
            SurveyCan.add(instructionLabel, BorderLayout.CENTER);
            setContentPane(SurveyCan);
    }

  • Programatically Change Canvas?

    I'll try to word this question as best as possible. Lets say
    I want to display an RSS feed within my application. How can I
    dynamically add items to my canvas, based on how many items I have
    in my RSS feed?
    Basically, I want to create a template canvas that has the
    feed Name, site, link, description. And then, have that canvas
    display as many times as it needs to.
    Any advice or tutorials, or google searches would be great!
    Thanks.

    The so called Template Canvas of yours would be "Custom
    Component" in flex speak. So search on that team in flex builder
    and you'll find plenty of stuff.
    One you've your custom component. You can use it as a "Custom
    Renderer" for, let's just say, a List control. So there you have
    another concept to dig into.
    If you are not interested in lists, you can look into
    Repeater component or VBox.
    I hope this helps you get started!
    ATTA

  • How can i show multiple windows on start?

    Hi everybody:
    I have an application that need to show 5 windows at the same
    time when the application is started. The 5 windows are seen but
    the canvas is not shown, so, i see 5 windows with no elements. I
    have tried with SHOW_WINDOW built in, but it only shows the
    window, not the canvas. If i use the GO_ITEM built in, in one
    item from each block i can only see the last block visited.
    Is there any property that i must change in canvases? (the
    raise on entry is in "yes"); i have to do anything else?
    Thanks.

    Windows have a property called "Primary Canvas". This sets what
    canvas should be shown in a window by default.
    Typically Forms knows what to display because the cursor is in
    an item, the item is on a canvas, the canvas is required to set
    its Window...you see the window with everything in it.
    The window property primary canvas for when you do a show_window
    and do not navigate to anything in the window.
    Thanks,
    Candace Stover
    Forms Product Management

  • How do I keep just the round union logo?

    For quite a while I tried to include my union logo in my writings, advertising but the copy I have is surrounded by a square I think you call it canvas. I can't figure out how to get rid of that in Elements. I made it invisible but it is still there taking up a big space. in my text. (Sorry I am new at this). Thank you for your time and patience.
                                                                                                                                   W.W.

    I tried to insert 1. the .tif logo 2. a screen shot of it. After choosing either the insert button is grayed out. Help
                               Walter

  • Ask the Expert Live Discussion – YouView from BT

    Hi All
    I’m pleased to announce our next live discussion with some BT experts! It's about our latest new product, YouView from BT, and we thought this would be a great chance to get our YouView experts onto the community to tell you a bit more about that and answer any YouView from BT-related questions you may have.
    Our experts Sam, Rob and Francesca will be chatting with you on Thursday 06/12 at 7pm.
    For anyone who wasn't able to join us for the chat, we have included the chat transcript below
    6:58
    Nigel Elliott: 
    Hi Everyone, let’s get this chat started! Welcome to our live discussion with our experts about YouView from BT
    6:58
    Nigel Elliott: 
    Today we are joined by Rob, Sam, Francesca and Gary. Welcome everyone! Today’s chat is tech focused on YouView from BT, so if you have any individual service queries we can’t answer them during the chat, but do raise them in the forum as normal.
    6:58
    Nigel Elliott: 
    This chat is about the YouView from BT service itself, all comments will be moderated and the usual forum terms apply.
    7:03
    Comment From Phil 
    Hi guys I'm interested in getting this but wondered what the connection options are - does the box support HDMI, Scart and Component?
    7:03
    Nigel Elliott: 
    Hi Phil, good question our experts are typing up a reply right now
    7:07
    Gary: 
    Hi Phil, the box supports HDMI and SCART but not Component.
    7:08
    Comment From Guilbo 
    Hi folks. We have heard much about live channels launching on Vision at some point. Will these be available on YouView Vision player at the same time and will they be recordable?
    7:10
    Nigel Elliott: 
    Thanks for the question Guilbo - keep them coming guys!
    7:11
    Gary: 
    Hi, we are launching live channels on our Vision+ box soon and are also working on live channels on the YouView box. These will be available later in 2013
    7:12
    Gary: 
    You will be able to record them when they become available
    7:13
    Comment From Guilbo 
    Thanks, Gary. Will Sky Sports become available on YouView when you launch the linear channels?
    7:14
    Comment From Dee 
    Hi guys, will YouView usage count towards my broadband usage?
    7:16
    Gary: 
    We will release the full channel line up next year
    7:16
    Nigel Elliott: 
    Thanks Gary, does that answer your questions Guilbo?
    7:18
    Comment From Guilbo 
    Yes, mostly.
    7:21
    Comment From Dee 
    OK thanks. If I have BT Vision can I still have YouView?
    7:21
    Sam: 
    Hi Dee, Yes, with a BT Vision subscription, all your on-demand viewing (including all Vision on-demand, all catch-up as well as players such as NowTV) is exempt from any broadband usage allowance. So you don't need to worry how much you watch.
    7:22
    Francesca Mahoney: 
    Hi Dee, thanks for your question. If you have had your BT Vision+ box for more than 12 months then you can get YouView for £49.
    7:24
    Comment From b-1 
    Any word on when manual padding will become available on YouView?
    7:25
    Francesca Mahoney: 
    Hi Dee again - just to add - when you take YouView for £49 you will recontract your TV and broadband subscriptions. Thanks!
    7:27
    Comment From Guilbo 
    Some people have been experimenting with running a Vision and a YouView box simultaneously. Can they coexist? Also are their any plans for multiroom with YouView.
    7:28
    Nigel Elliott: 
    Thanks for the questions b-1 and Guilbo, your replies are on their way shortly.
    7:30
    Sam: 
    Hi Guilbo The use of two or more YouView/ Vision boxes on the same broadband line is not supported. If you plug in a YouView box from BT, your old BT Vision+ box may stop working and so you should watch the recordings on your old box before plugging in your new one. We hope to introduce a multiroom offering in 2013
    7:31
    Nigel Elliott: 
    Out of interest, do the people watching this chat already have YouView or are you thinking about signing up?
    7:33
    Sam: 
    also see FAQ's www.bt.com/help/youview
    7:34
    Comment From Dee 
    Hi me again OK so, if I sign up to YouView with BT, what happens when my contract with BT ends? Will the box still work?
    7:35
    Rob: 
    Hi b-1, Are you having problems with clipped recordings? YouView are looking at why this is sometimes happens and are working with broadcasters to improve the accuracy of their recording signals but they are not planning to add padding at the moment.
    7:37
    Comment From Guilbo 
    Thanks, Sam, that's interesting stuff. I don't have YouView (yet) but it is something that I will most likely move on to at some point. To follow on from a previous question, if I am in contract for Broadband, but out of contract for Vision, can I still get YouView for 49 squids by taking out a contract to Vision Player?
    7:38
    Nigel Elliott: 
    Just typing up your replies now guys
    7:39
    Sam: 
    Hi Guilbo, yes you can get the Box for £49 if you are in contract on your BB but out of contract on your Vision, taking the Youview box for £49 will recontract your Vision for another 12 months.
    7:39
    Francesca Mahoney: 
    Hi Dee again
    At the end of your contract the YouView box will still function but we hope you'll want to stay with your BT Vision subscription so you'll have access to all of our On Demand content and none of your YouView usage will count towards your broadband allowance.
    7:42
    Comment From Guilbo 
    Thanks folks. This is really helping to firm up on some things which up to now have been sketchy.
    7:42
    Francesca Mahoney: 
    No probs Guilbo
    7:44
    Nigel Elliott: 
    No problem Guilbo, if you have any other questions keep them coming!
    7:44
    Rob: 
    Hi All, Did you hear that YouView have just launched a free iPhone app to let you set a recording on your box while you're on the move? It's not yet available for Android phones. If you have an iPhone 3GS or later, an iPod touch or iPad, it's well worth downloading.
    7:47
    Comment From Steph 
    Hi Rob, if I have YouView from BT will I still be able to get BT Player programs via the app?
    7:47
    Comment From MikeC 
    Are there any plans to offer boxes with large hard-drives and can I get 3D content via BT Vision on YouView?
    7:48
    Comment From Guilbo 
    Interesting about the app. Will the services on it ever be able to stream to mobile devices, I wonder?
    7:49
    Nigel Elliott: 
    Thanks folks, you'll get your replies very soon
    7:53
    Rob: 
    Hi Steph & Guilbo, The YouView app is just for setting recordings at the moment. It will get better over time I'm sure, but streaming to mobile devices won't be possible for a while I expect.
    7:56
    Nigel Elliott: 
    Just a couple of minutes left guys, if you have any other questions now's the time to submit them!
    7:56
    Sam: 
    Hi Mike, we are looking into the possibility of bringing 3D content on Youview from BT in the future. The Youview Box from BT is 500GB but the High Street Retailers have both 500GB and 1TB.
    7:57
    Comment From Linz 
    Just purchased bt freestyle 750 duo and one of the handsets constantly says searching please help
    7:58
    Nigel Elliott: 
    Hi Linz, have a look over at the Phones board - one of our community members will be able to offer advice with this
    7:59
    Comment From James 
    On the mobile app - any plans to support windows phones?
    8:00
    Comment From MikeC 
    ok cheers thx guys
    8:00
    Comment From Guilbo 
    You were originally going to use a Pace box. Is the Humax a stopgap or is this now the permanent offering. Will there ever be a choice of boxes from BT?
    8:00
    Sam: 
    Hi James, sorry no not at the moment but it may be something Youview do in the future
    8:01
    Nigel Elliott: 
    No problem Mike
    8:03
    Nigel Elliott: 
    Thanks Guilbo, the experts are typing up your answer.
    8:05
    Rob: 
    Hi Guilbo, The YouView from BT box is a Humax box and as soon as any other other box types are announced we will let you know.
    8:06
    Comment From Guilbo 
    Cheers, Rob. Think that's me out of questions now, so thanks very much for your time. It has been useful.
    8:07
    Nigel Elliott: 
    Cheers Guilbo, glad you found it useful.
    8:07
    Nigel Elliott: 
    Hi folks, thank you very much, that was our last question.
    8:07
    Nigel Elliott: 
    Big thanks to Rob, Francesca, Sam and Gary for joining the chat and all you guys for posting some very interesting questions. It’s been a great session, I hope you’ve found it useful. I will close the chat now, but it will be available on the replay if you want to re-read any of the comments.
    8:07
    Nigel Elliott: 
    If anyone has got any further YouView from BT queries do raise them on the forum as normal.
    See you all on the next chat
    Here's some info on our experts:
    Francesca
    Francesca has been working in telecommunications for over 8 years and joined the BT TV team this summer. In her previous job, she was responsible for leading all commercial and P&L activities. Francesca is Head of Acquisition for BT TV and is responsible for delivering all TV sales, and most recently delivered the go to market strategy for the launch of YouView from BT.
    Rob
    Rob joined BT about 6 years ago and has been working on YouView almost since it was conceived around 4 years ago. Initially seconded to YouView when it was called Project Canvas, Rob came back to BT to work in BT Vision operations. Rob is currently the Product Manager for YouView from BT within BT Retail’s consumer division.
    Sam
    Sam has worked in telecommunications for 16 years and joined the BT TV Customer Service team 3 years ago. Sam is responsible for ensuring New Products and Service deliver the best possible customer experience and works closely with the operational units to improve customer satisfaction.
    We do ask that this chat is not used to bring up BT service or YouView service queries – this is an information chat to help learn about YouView from BT and any individual billing/order/service issues and complaints will not be included in the chat. These should be raised in the forum as normal.
    Check out our FAQs for taking part in a Live event
    Chat to you soon!
    Stephanie
    Stephanie
    BTCare Community Manager
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

    Hi everyone,
    The chat is now available on replay, so you can now check out the transcript by clicking on the “play” button in my post above
    Stephanie
    Stephanie
    BTCare Community Manager
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Is it possible to export as HTML5?

    Firstly, my apologies, i'm in no way a flash expert and this will probably make the majority of you cringe. I am fine at the design side of things, however when it comes to the coding etc I haven't the foggiest.
    Basically I have created flash banners for my website to be displayed on various ad networks. These are designed in flash and exported as .swf which is fine. Obviously the majority of mobiles however don't display this but would display html5 or gif? Want to try and really stay away from gifs if possible. I have noticed on Flash CC there is a canvas at the start called html canvas?! Is this something that basically makes your banner in html5 or am i really jumping the gun on this one?
    If no to all of the above, where or what would you suggest I used to create HTML5 banners?
    Thanks so much in advance, Tom

    Yes, if you create a new HTML5 Canvas document or convert an ActionScript document to one, it will publish for HTML and Canvas. You will need to use JavaScript in place of ActionScript for Canvas but all the workflow and tooling is identical across document types.

  • Dialog Box as "Do you want to save the changes?" in Forms.

    Hi,
    I have 4 datablocks in my forms that corresponds View.
    In the form design, I have a canvas(multiple inserting design) with two buttons that calls the other two blocks.
    Am inserting the records in the following way,
    In first record,
    am entering the value in one block, then a button-press event and so it opens another canvas where I enter some values then return to my main canvas. This is one row.
    But while I try to insert in the second row, there arises the dialog box as "Do you want to save the changes"?
    I should not get that dialog box.
    Please suggest me with the solution.
    Regards,
    Mini

    Thanks for the response,
    Let me clearly explain.
    I have 3 blocks created from view not table.
    I have a canvas in the multiple display layout i.e Number of items displayed is 10.
    In that canvas, I have set the two buttons. the button event is calling another canvas.
    Am inserting a record in the first row in the following sequence.
    Inserting the values for some fields in the main canvas, then entering the button, it opens another canvas that responds to another block, there am entering some values and closing the button event canvas, then returning to my main canvas, then entering the remaining fields with the values, thus my first row ends.
    Now I want to enter the values in the second row, while I navigate from the first Row to the Second row, there arises the dialog box as to save the changes or not?
    I should not get the dialog box.
    Am inserting the values in the database using Insert statements in all the blocks.
    Hope U understand the issue.
    Suggest me with the solution.
    Regards,
    Mini.

Maybe you are looking for

  • How to run ADF command-line test-client on standalone weblogic host

    I have followed the steps to create a test client for the ADF application. In used the following link: http://download.oracle.com/docs/cd/B31017_01/web.1013/b25947/bcquerying007.htm The above link does not talk about how to setup the environment wher

  • Copy more lines in the Table Control

    Hi , I have created a table control in one of my mod pool programs, I have to paste lines from Excel (for instance) to this table control, but it copies only to the lines in the table control which I see in the screen. if I have more lines to copy th

  • Changing Radio button location

    Hi, http://apex.oracle.com/pls/otn/f?p=50508:6: On the page above, i would like to change the location of radio button from "top left" to "center bottom". Is it possible? I am using a static LOV for the generation of radio buttons STATIC2:<div class=

  • Where are audiobooks stored on my computer?, where are audiobooks stored on my computer?

    Any one know where audio books are stored on the computer? I recently downloaded one and its fine on my iphone, but i cannot find it anywhere on my computer???

  • DCR error message in Cisco Works

    get error message:Error in communicating with DCR server. Went in an restart server but still getttin message. DCR log is attached.