How to change the direction of a moving object

I am trying to make a connect four program for class, and i am trying to make it so the red check piece move down. But instead it move left n right -.-, ive tried changing the coordinates but then the piece would just spin in circle or spins out of control. Here is the code i have right now, can someone help me please =D .
import java.awt.*;*
*public class Circle{*
*private int centerX, centerY, radius;*
*private Color color;*
*private int direction, velocity;*
*private boolean filled;*
*public Circle(int x, int y, int r, Color c){*
*centerX = x;*
*centerY = y;*
*radius = r;*
*color = c;*
*direction = 0;*
*velocity = 0;*
*filled = false;*
*public void draw(Graphics g){*
*Color oldColor = g.getColor();*
*g.setColor(color);*
*// Translates circle's center to rectangle's origin for drawing.*
*if (filled)*
*g.fillOval(centerX - radius, centerY - radius, radius*  2, radius  *2);*
*else*
*g.drawOval(centerX - radius, centerY - radius, radius*  2, radius  *2);*
*g.setColor(oldColor);*
*public void fill(Graphics g){*
*Color oldColor = g.getColor();*
*g.setColor(color);*
*// Translates circle's center to rectangle's origin for drawing.*
*g.fillOval(centerX - radius, centerY - radius, radius*  2, radius  *2);*
*g.setColor(oldColor);*
*public boolean containsPoint(int x, int y){*
*int xSquared = (x - centerX)*  (x - centerX);
int ySquared = (y - centerY)  *(y - centerY);*
*int radiusSquared = radius*  radius;
return xSquared  +ySquared - radiusSquared <= 0;+
+}+
+public void move(int xAmount, int yAmount){+
+centerX = centerX+  xAmount;
centerY = centerY  +yAmount;+
+}+
+public int getRadius(){+
+return radius;+
+}+
+public int getX(){+
+return centerX;+
+}+
+public int getY(){+
+return centerY;+
+}+
+public void setVelocity(int v){+
+velocity = v;+
+}+  
+public void setDirection(int d){+
+direction = d % 360;+
+}+
+public void turn(int degrees){+
+direction = (direction+  degrees) % 360;
// Moves the circle in the current direction using its
// current velocity
public void move(){
move((int)(velocity  *Math.cos(Math.toRadians(direction))),*
*(int)(velocity*  Math.sin(Math.toRadians(direction))));
public void setFilled(boolean b){
filled = b;
import javax.swing.*;*
*import java.awt.*;
import java.awt.event.*;
public class ColorPanel extends JPanel{
private Circle circle;
private javax.swing.Timer timer;
public ColorPanel(Color backColor, int width, int height){
setBackground(backColor);
setPreferredSize(new Dimension(width, height));
// Circle with center point (25, 100) and radius 25
circle = new Circle(25, height / 2, 25, Color.red);
circle.setFilled(true);
// Aim due west to hit left boundary first
circle.setDirection(90);
// Move 5 pixels per unit of time
circle.setVelocity(5);
// Move every 5 milliseconds
timer = new javax.swing.Timer(5, new MoveListener());
timer.start();
public void paintComponent(Graphics g){
super.paintComponent(g);
circle.fill(g);     
private class MoveListener implements ActionListener{
public void actionPerformed(ActionEvent e){
int x = circle.getX();
int radius = circle.getRadius();
int width = getWidth();
// Check for boundaries and reverse direction
// if necessary
if (x - radius <= 0 || x + radius >= width)
circle.turn(90);
circle.move();
repaint();
}with that code my circle just spins back n forth rapidly. How can i make it so it drop to a certain location everytime i click the mouse?

lilkenny1337 wrote:
I am trying to make a connect four program for class, and i am trying to make it so the red check piece move down.
How can i make it so it drop to a certain location everytime i click the mouse?Try this:
public class ColorPanel extends JPanel {
    private Circle circle;
    private Timer timer;
    private int stepX, stepY, xM, yM;
    public ColorPanel(final Color backColor, final int width, final int height) {
        setBackground(backColor);
        setPreferredSize(new Dimension(width, height));
        // Circle with center point (25, 100) and radius 25
        circle = new Circle(25, height / 2, 25, Color.red);
        circle.setFilled(true);
        // Aim due west to hit left boundary first
        circle.setDirection(90);
        // Move 5 pixels per unit of time
        circle.setVelocity(5);
        // Move every 5 milliseconds
        final MoveListener ml = new MoveListener();
        timer = new Timer(5, ml);
        addMouseListener(new MouseAdapter() {
            @Override
            public void mousePressed(final MouseEvent e) {
                if (timer.isRunning()) {
                    return;
                xM = e.getX();
                yM = e.getY();
                int xC = circle.getX();
                int yC = circle.getY();
                stepX = (xM - xC) / 10;
                stepY = (yM - yC) / 10;
                timer.start();
    @Override
    public void paintComponent(final Graphics g) {
        super.paintComponent(g);
        circle.fill(g);
    private class MoveListener implements ActionListener {
        public void actionPerformed(final ActionEvent e) {
            if ((stepX > 0 && circle.getX() >= xM)
                    || (stepX < 0 && circle.getX() <= xM)) {
                stepX = 0;
            if ((stepY > 0 && circle.getY() >= yM)
                    || (stepY < 0 && circle.getY() <= yM)) {
                stepY = 0;
            if (stepX == 0 && stepY == 0) {
                timer.stop();
                circle.setLocation(xM, yM);
/* add this method in the class "Circle":
    public void setLocation(int xM, int yM) {
        centerX = xM;
        centerY = yM;
            } else {
                circle.move(stepX, stepY);
            repaint();
}

Similar Messages

  • How to change the direction of my application ?

    apex 4.0 , db11gxe , firefox 24 ,
    hi all,
    how to change the direction of my application from left to right to right to left of vice versa ?

    newbi_egy wrote:
    sure i did , i found nothing ,
    provide me with a link if you have one
    thanks
    Hi,
    That's strange.
    Search works just fine for me
    https://forums.oracle.com/search.jspa?view=content&resultTypes=&dateRange=all&q=rtl&rankBy=relevance&contentType=all&con…
    Regards,
    Jari

  • How to change the direction text writen!

    i will write a notepad in pure java. but i will make it like this: item is top to bottom, and line is left to right. This is mongolian. but i dont know how can change the direction of text writen.
    please tell me!

    Here's what you should do:
    suppose your string is "abc" and you want to display that reversed:
    1. reverse the string
    2. find where your start point is (where you're going to draw 'a'
    3. Use FontMetrics to calculate the offset from the start point you need to make to print the string where it should be

  • How to change the size of a particular object in the picture?

    How to change the size of a particular object in the picture?

    You need to select it.  Copy that selection to a new layer, and use Free Transform to resize it.
    http://www.youtube.com/watch?v=qWpAGmwhllQ
    http://www.youtube.com/watch?v=Bi4jJnYLkUA

  • How to change the name of a Box Object in Crystal Reports 2008

    I am trying to change the name of a box object in a crystal report - 2008. This report was originally developed by consultants and requires that certain boxes be named according to a specific naming convention. I am making a change to the report and need to add a box with a name that matches the naming convention.  This is so some program functionality will work for the new box.  I can't contact the consultants because they don't work with our company anymore.
    Does anybody have any ideas? I've tried 'Format Box', but it won't let me change the name from there. I also tried it in the Report Explorer but to no avail.
    Thanks,
    Joanne

    Hi Joanne,
    Boxes do not actually have a 'name'. When you add a Box in a report, it will be called 'Box 1' by default. And the only place this name is visible is under the Report Explorer.
    Or do you mean to say 'Text Object'?
    -Abhilash

  • How to change the direction of movement in atable from left to right?

    As the title says i want to change the movement direction in the cells of a table in pages when i click tab key from "left to right" to "right to left", is that possible?

    It seams that we aren't using the same application.
    In mine, if the cell C3 is selected, pressing shift + tab select the cell B3 which is what you wanted in your original post (or I understood it wrongly).
    If what you want is the ability to insert a new row above the current one or at top of a table, you can't do that this way.
    Same response if you want to insert a new column to the left of the table.
    To do that, the soluce is to select the top row or the leftmost column.
    There is a funny bug in the menu items.
    If your table has a header row, entering the menu Format > Table, we get four items:
    Insert new header above
    Insert new header below
    if we are in the header row
    or
    Insert new row above
    Insert new row below
    Insert a column before
    Insert a column after
    These four menus items have shortcuts :
    option up arrow
    option down arrow
    option left arrow
    option right arrow
    If the table has no header, the menu items are :
    Insert new row above
    Insert new row below
    Insert a column before
    Insert a column after
    None of them display a shortcut *_but the shortcuts are active_*
    Yvan KOENIG (VALLAURIS, France) samedi 11 septembre 2010 23:52:27

  • How to change the direction of the Spry menu?

    Is there a way to change the SpryMenuBarVertical menu to fold
    out to the left? I am using this menu on the right side of the
    website and it now folds out to the right (standard). I have tried
    for hours to change the css (float left, etc) but must have
    overlooked something. Can somebody please help?
    This is what it looks like so far...
    http://www.norske.nl/zomer/tours/auto01.html
    (Click on the orange field: "50 Autotours")

    Is there a way to change the SpryMenuBarVertical menu to fold
    out to the left? I am using this menu on the right side of the
    website and it now folds out to the right (standard). I have tried
    for hours to change the css (float left, etc) but must have
    overlooked something. Can somebody please help?
    This is what it looks like so far...
    http://www.norske.nl/zomer/tours/auto01.html
    (Click on the orange field: "50 Autotours")

  • How to change the nodes open hub destination objects?

    Hi,
    How one can change the nodes of open hub destination objects?
    As there was a need to change the nodes for certain open hubs i wonder how this could be acheived?

    well,
    I have open hub destination object saved under one node ( Yes that is Infoarea only )
    but now i notice that i need to save this open hub under different info area..
    so how can i change the infoarea of an open hub with out deleting and recreating it?

  • How to change the value in an Integer object?

    Hi,
    Is it possible to change the value that is contained in an Integer object.
    I know Integer objects are immutable. So it might not be possible to chage to value in an integer object once its been initalized a value @ the time of construction.
    Also does autoboxing and unboxing feature of 1.5 help acheive this?
    Please let me know of any other alternative
    Thanks
    Deepak

    Tried the autoboxing and unboxing feature doesnt
    help.It doesn't help in general. But in this special case it doesn't help because it doesn't anything to do with it. Do you really know what you're doing?
    So across the function its not changing the value.
    As I have created an object of Integer class and
    passed a reference of that object into the chage()
    ,So any changes should have been reflected
    acrosss method calls.?Since you let the newly created parameter-reference a point to a new Integer object: no. Why? You have two references to I(31). Then you move one reference to I(33). Why should 31 get another value?
    Does the the java compiler creates a new Integer
    object each time it does autoboxing Not necessarily. Some values are pooled. Actualy, the JVM does it. The compiler never creates any object.
    so that the value
    is lost across method calls?That's not the compiler's or the JVM's fault. It's all a misconception of yours.
    Is there any means to achieve this?What for?
    int a = 0;
    a = change(a);
    int change (final int i) {
      return i + 12;
    }Does exactly what you want, without side-effects.

  • How to change the value of a Wrapper object?

    Is there any way to change the primitive value inside a wrapper class object like Boolean?
    Or else if its not possible any work arounds are available?
    Thanks

    No it is not possible to change the values, they are 'imutable'.If you want mutable versions then it is simple enough to write your own! You can use the source of Boolean etc as a starting point!

  • How to change the direction of play on an ipod playlist/podcast

    I play a lot of Podcasts on my Classic Ipod 160, and something that's bothered me for ages.
    If I have a particular podcast with more that 1 episode on it to play, I will usually want to play them in order from oldest to newest.
    However, the ipod only wants to play from the top of the list to the bottom, the top being the newest episode, the bottom being the oldest.
    So, I end up having to scroll down to the bottom, play the episodes one at a time, and manually move my choice of episode to the next newest after the episode I was listening to finished.
    When I got my first ipod, a looooonnnnnggggg time ago, you could start playing a particular podcast at the oldest episode, and the ipod would just move on to the next newest episode in a podcast automatically.
    Then, at some point, at some particular ipod software upgrade, or itunes upgrade, The ipod stopped functioning the way I wanted it to, and I had to go about playing them the awkward way. That was about 2 ipods ago.
    Now, my current Ipod, on 1 particular podcast, is allowing me to play the podcast episode list in the old way that I want, where I just select the oldest episode, and I can just let it play on its own, and the list will move on to the next newest episode on its own.
    This makes me think that there may be someway of controlling the directionality of play on a podcast episode list.

    Hi Frank,
    this is not easy to talk with words. First, since your antennas are articulated, you can achieve any coverage without moving the AP itself.
    The coverage patterns seen here :
    http://www.cisco.com/en/US/docs/wireless/antenna/installation/guide/5135dw.html
    can be identified like this :
    Place the ap on a desk. Cisco logo facing upwards (ceiling)
    Antennas are straight up (like they would be if they were not articulated). The antennas pointing like fingers to the ceilign.
    Then you have the coverage seen on the diagrams of the link I pasted.
    H-view is a top view (you are viewing the AP from the ceiling on your desk). You can see it's radiating in all horizontal direcitons.
    E-view is a side view (you are sitting on your chair looking at the AP at the same heigh as it) : You can see it's radiating left and right but not so much up and down of the AP.
    So this is a "floor" coverage.
    If you want a coverage "above and below" the AP then you should articulate the antennas to be parrallel to the AP (pointing the wall then). Direction will nto matter.
    I hope it's clear. I'm sorry I'm not using your diagrams as reference as I didn't really understand their significations as it's hard to view this kidn of stuff without 3d view :-)
    Nicolas
    ===
    Don't forget to rate answers that you find useful

  • How to change the direction of text writing: item is top to bottem

    hi, i will make a notepad. and i will make its text's direction: item is top to bottem and line is left to right.
    i cant do this, please help me!

    What you need is:
    http://www.macdevcenter.com/pub/a/mac/2002/03/22/vertical_text.html
    That gives you a very nice vertical text, with support for rotation
    control so Katakana and Arabic style writing can be done properly.
    James.

  • How to change the default behaviour of View Object in oracle adf

    Hi,
    I have created a view object from an entity object and placed it as a table with multiple lines on my page.
    When I run my page, by default, it loads all the rows based on the sql in the VO.
    My requirement is when I load my page, I don't want to return any data in that table.
    I am using JDeveloper 11.1.2.4.
    Please can you advise how can I achieve this functionality?
    thanks
    Muhammad

    Hi Shay,
    I've used  the refreshCondition #{bindings.Sku.inputValue ne null} as per your suggestion but getting below error
    <RichExceptionHandler> <_logUnhandledException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    java.lang.NullPointerException
        at oracle.adf.model.binding.DCExecutableBinding.refreshMasters(DCExecutableBinding.java:265)
        at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:340)
        at oracle.jbo.uicli.binding.JUCtrlHierBinding.getRootNodeBinding(JUCtrlHierBinding.java:90)
        at oracle.jbo.uicli.binding.JUCtrlHierBinding$1JUCtrlHierHintsMap.internalGet(JUCtrlHierBinding.java:210)
        at oracle.jbo.common.JboAbstractMap.get(JboAbstractMap.java:54)
        at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$1DecoratedHintsMap.internalGet(FacesCtrlHierBinding.java:305)
        at oracle.jbo.common.JboAbstractMap.get(JboAbstractMap.java:54)
        at javax.el.MapELResolver.getValue(MapELResolver.java:164)
        at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
        at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
        at com.sun.el.parser.AstValue.getValue(Unknown Source)
        at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
        at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
        at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.getProperty(BaseColumnRenderer.java:1195)
        at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.layoutHeader(BaseColumnRenderer.java:643)
        at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:152)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.layoutColumnHeader(BaseTableRenderer.java:1197)
        at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:636)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:617)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:447)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1500(PanelGroupLayoutRenderer.java:30)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:734)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:637)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
        at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:360)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1127)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:50)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1604)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1523)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
        at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:420)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:208)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:447)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1500(PanelGroupLayoutRenderer.java:30)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:734)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:637)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
        at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
        at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:360)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2194)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1599)
        at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:279)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
        at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
        at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
        at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
        at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
        at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1275)
        at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
        at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1677)
        at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
        at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:431)
        at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:233)
        at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
        at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
        at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
        at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1035)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:342)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:236)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    any ideas please?

  • How to change the storage destination of  Lob objects

    Hi All
    I've an existing table with a Lob entry.
    I'd like to redirect all Lob segments in a precific tablespace. I'd like to do this without reconstruct the table. Is it possible ?
    Thanks in advance,
    A.G.

    I think this should work:
    alter table <table_name> move lob (XML_DATA.XMLDATA) store as <lob> (tablespace <new_tablespace>);

  • How to change the status in emigall

    Hi All,
       Can any body please let me know how to change the blocking status of each object to '000' instead of the default '100'(Blocked) in emigall.
    Thanks

    Hi,
    a blocking status ending with 1, 2 or 3 does not allow further changes on object level. In order to 'unblock' the object you must execute the following steps (let's assume you change the blocking status of migration object PARTNER):
    (1) copy the migration object PARTNER either into the same migration company (with a new name) or into another migration company in order not to loose the customizing of the blocked migrationobject PARTNER. The name of the copied migration object might be PART_TEMP. A copy allways sets the blocking status of the copied migration object to 100. You can now continue working with the copied migration object for follow the steps (2) - (4) to have a migration object back with the original name.
    (2) Delete the migration object PARTNER with the blocking status 002. For this select Utilities -> Delete MigObjects and delete the migration object PARTNER
    (3) copy the copied migration object PART_TEMP back with the name of your original migration object PARTNER.
    (4) Delete the migration object PART_TEMP.
    Alternatively, if you changed the blocking status accidentially in the development system, you may change the field TEMOBS-SPERRSTATUS back to 000 with a direct update.
    Kind regards,
    Fritz
    PS: There will be a correction soon warning the user with a confirmation popup.

Maybe you are looking for

  • Transport & Management of XI Objects in diff Env.

    Hi Currently our System landscape is having ONE DEV SAP R/3 Server, ONE TEST SAP R/3 Server with 4 clients and ONE PROD SAP R/3 Server & ONE SAP XI DEV Server and ONE SAP XI PROD server. I integrated DEV & TEST ( 3 Clients ) SAP R/3 Servers with Non-

  • Airport Express ap appears on scans intermittently

    My wife uses an Airport Express with her Mac notebook to connect to my modem. I have a notebook with a wireless card. I use Linux on the notebook. My understanding was that I could use the Airport Express to connect to my modem in a similar fashion t

  • What is backing map in Java?

    What is backing map in Java? Thank you

  • Error in totals format when I export to excel

    Hi. I export a table report with totals to excel, when I open this file, the format of totals fields is text, not number.

  • Annoying problems with macbook.

    first off i only use my macbook still because i cant find anyone to buy it off me. i hate everything about it, i hate apple in general, etc. seriously, if anyone wants to buy a macbook with apple care thats all of 3 months old tops lmk! any ideas how