Helloo...

can anyone explain me how to create a web services in netBeans??? and to configure tomcat in netBeans....

Go to Settings > General > Software Update.

Similar Messages

  • Helloo! I have super big problem with my Air.

    Helloo! I have super big problem with my Air,10.8.5 ,it asks every 10 sec to make some changes and asks me for password all the time!! I cant acces my documesnt,pics,music,NOTHING at all! Finder is not working,i cant open any folder,icons are missing also,i cant open any of them,mozzila,chrome..im really going crazy.. i updated tonight my phone on new IOS 7 through my comp,cant be that i messed up everything because of that..this comp.is like 10 days old.
    btw. i created new user,and everything is working ok.

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Helloo my name is jafthel i have problems with my ipod touch 4g. if you can help me how i can fix it or solution i will be very happy. the problem is: when i push some aplication my ipod is very slow i after 3 minutes it goback to the home screen.

    helloo my name is jafthel i have problems with my ipod touch 4g. if you can help me how i can fix it or solution i will be very happy. the problem is: when i push some aplication my ipod is very slow i after 3 minutes it goback to the home screen.

    Next try the remaining items of:
    Apps crashing
    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • Helloo,i buy a new pc and i want to syncronize my i phone and to get all  the things of i phone photos, musik and telephone numbers, to pc.how i can do it?

    helloo,i buy a new pc and i want to syncronize my i phone and to get all  the things of i phone photos, musik and telephone numbers, to pc.how i can do it?

    https://discussions.apple.com/docs/DOC-3141

  • Helloo i would like to To cancel my  an annual membership how can i do that please ?

    helloo i would like to To cancel my  an annual membership how can i
    @do that please ?

    You will probably have to pay a penalty or the balance of the one year subscription, but…
    …unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat
    There is also a phone option.
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • Helloo- Internet Explorer ISSUes 11 and contacted all avenues,

      Hello,
         I recently written that I am having a difficult time with my notebook 2000 H. I had to reset it becuase of malaware but that is fixed. the issue is with Internet explorer 11 which was installed when I bouht it. It seems to not work and I am not able to use this with my surfin the web, I m a blogger and need to look up information and etc. Please help me to get this restored. I also use google chrome. i have 8.1, tried out some of the tedcnical tools to fix it but no response.
      Thank You,
       Lori Enlish

    Hey @lori1234 ,
    Welcome to the HP Forums!
    I understand you're having issues with Internet Explorer on your HP 2000 notebook.
    It would help to know exactly which model you have as some 2000 series notebooks are commercial products and aren't my area of expertise. It would be hard to give exact information and the appropriate experts would be on our commercial forums. For information on finding your product and model numbers click here: How Do I Find My Model Number or Product Number?
    If you could provide some more info about what isn't working that would be awesome. Is it that IE will not open at all or crashes on startup? Does it open but you are unable to browse? If you cannot browse do you get error messages? Does it only crash on certain sites, viewing certain content, or performing certain tasks? The more information the better.
    I would suggest starting with this guide while we await each others responses: What to do when Internet Explorer isn't working.
    Let me know if that document helps or the updated information.
    Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    The Great Deku Tree
    I work on behalf of HP.

  • Helloo SUNIL BODDA stop hunting..every one watching you!!!!

    Another Points hunter.....check this!!!!
    Message was edited by:
            James Bond

    There are settings you can change or disable for some of the issues you mention. you should go into the menu's settings and explore. Turn off promotions, etc..

  • Triangle Intercept Theorem -

    import java.awt.BorderLayout;
    import java.awt.CardLayout;
    import java.awt.Dimension;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class G {
        CardLayout cards;
        JPanel panel;
        public G() {
            cards = new CardLayout();
            panel = new JPanel(cards);
            addCards();
            JFrame f = new JFrame("Geometry");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(panel);
            Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
            f.setSize(screenSize);
            f.setLocation(0,0);
            f.setVisible(true);
            f.addMouseMotionListener(
            new MouseMotionListener() { //anonymous inner class
                //handle mouse drag event
                public void mouseMoved(MouseEvent e) {
                    System.out.println("Mouse  " + e.getX() +","  + e.getY());
                public void mouseDragged(MouseEvent e) {
                    System.out.println("Draggg: x=" + e.getX() + "; y=" + e.getY());
        private void addCards() {
            // card THREE
            //{211,100},{124,150},{298,150}}, new int[][] {{422,200},{248,300},{596,300}
            InterceptModel trin1 = new InterceptModel(new int[][] {{300,100},{250,146},{594,146}}, new int[][] {{300,100},{138,300},{440,300}});
            InterceptView view1  = new InterceptView(trin1);
            JPanel panelThree = new JPanel(new BorderLayout());
            panelThree.add(view1.getUIPanel(), "North");
            // panelTwo.setBackground(Color.blue);
            panelThree.setName("Intercept Theorem");
            panelThree.add(view1);
            //panelThree.add(view1.getInterceptTablePanelA(), "East");
            //JPanel rightPanel1 = new JPanel();
            //rightPanel1.add(view1.getTxtPanel());
            //panelThree.add(rightPanel1, "South");
            panelThree.add(view1.getInterceptTablePanel(),"South");
            view1.addMouseMotionListener(
            new MouseMotionListener() { //anonymous inner class
                //handle mouse drag event
                public void mouseMoved(MouseEvent e) {
                    System.out.println("Mouse at " + e.getX() +","  + e.getY());
                public void mouseDragged(MouseEvent e) {
                    System.out.println("Dragging: x=" + e.getX() + "; y=" + e.getY());
            panel.add("Intercept Theorem", panelThree);
           private void ExitActionPerformed(java.awt.event.ActionEvent evt) {
            // TODO add your handling code here:
            System.exit(0);
        public static void main(String[] args) {
            new G();
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.text.NumberFormat;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.DefaultTableCellRenderer;
    * @author  Sharan Bhojwani
    public class InterceptModel {
                                                      //      |\
        static final int SIDES = 3;                //      | \
        private int cx, cy;                        //      |  \
        Polygon smallTriangle;
        Polygon bigTriangle;                       //      |_ _\ (x3, y3)
        int selectedIndex;                         //  (x2, y2)
        NumberFormat nf;
        Line2D[] medians;
        Point2D centroid;
        // The ratio of scaling, NOT size
        // i.e. the ratio of scaling can be 2 and yet the triangles the same size
        int ratio;
        /** Creates a new instance of InterceptModel */
        public InterceptModel(int[][] triangleOne, int[][] triangleTwo)
            // make first triangle
            int[] x = new int[] { triangleOne[0][0], triangleOne[1][0], triangleOne[2][0] };
            int[] y = new int[] {triangleOne[0][1], triangleOne[1][1], triangleOne[2][1] };
            smallTriangle = new Polygon(x, y, SIDES);
            // make second triangle
            int[] x2 = new int[] { triangleTwo[0][0], triangleTwo[1][0], triangleTwo[2][0] };
            int[] y2 = new int[] {triangleTwo[0][1], triangleTwo[1][1], triangleTwo[2][1] };
            bigTriangle = new Polygon(x2,y2,SIDES);
            nf = NumberFormat.getNumberInstance();
            nf.setMaximumFractionDigits(1);
            ratio=3;
        public void setRatio(int ratio) {
            this.ratio = ratio;
            sizeTriangles();
        public int getRatio() {
            return ratio;
        // this sets the size of the triangles once the ratio has been changed
        // ratio is side of smaller triangle AB in 100's of pixels
        void sizeTriangles() {
            //work out x & y ratios
            int xleftSmall = (int) (ratio*100 * Math.sin(30));
            int yleftSmall = (int) (ratio*100 * Math.cos(30));
            int yrightSmall = yleftSmall;
            int xrightSmall = (int) (yleftSmall * Math.tan(40));
            int xSmall[] = {300,300-xleftSmall,300+xrightSmall};
            int ySmall[] = {100,100+yleftSmall,100+yrightSmall};
            smallTriangle.xpoints = xSmall;
            smallTriangle.ypoints = ySmall;
            int bigRatio = ratio*100*2;
            //work out x & y ratios
            int xleftBig = (int) (bigRatio * Math.sin(30));
            int yleftBig = (int) (bigRatio * Math.cos(30));
            int yrightBig = yleftBig;
            int xrightBig = (int) (yleftBig * Math.tan(40));
            int xBig[] = {300,300-xleftBig,300+xrightBig};
            int yBig[] = {100,100+yleftBig,100+yrightBig};
            bigTriangle.xpoints = xBig;
            bigTriangle.ypoints = yBig;
            System.out.println("changed sizes");
           // take x0,y0 of big
           int[] x = (int[]) bigTriangle.xpoints.clone();
           int[] y = (int[]) bigTriangle.ypoints.clone();
           // bring bigTriangle points to 0,0 to make things easier
           for (int i=SIDES-1; i>-1; i--) {
               x[i] = x[i] - x[0];
               y[i] = y[i] - y[0];
           // resize to make small triangle points
           for (int i=0; i<SIDES; i++) {
               x[i] = x[i] / ratio;
               y[i] = y[i] / ratio;
           // translate to fit onto the pane
           for (int i=0; i<SIDES; i++) {
               x[i] = x[i] + 213;
               y[i] = y[i] + 125;
           smallTriangle.xpoints = x;
           smallTriangle.ypoints = y;
            public boolean contains(Point p, Polygon triangle)
            // Polygon.contains doesn't work well enough
            return (new Area(triangle)).contains(p);
        public boolean isLineSelected(Rectangle r)
            Line2D line = new Line2D.Double();
            for(int j = 0; j < SIDES; j++)
                int[] x = smallTriangle.xpoints;
                int[] y = smallTriangle.ypoints;
                int x1 = x[j];
                int y1 = y[j];
                int x2 = x[(j + 1) % SIDES];
                int y2 = y[(j + 1) % SIDES];
                line.setLine(x1, y1, x2, y2);
                if(line.intersects(r))
                    selectedIndex = j;
                    return true;
            selectedIndex = -1;
            return false;
        public void moveSide(int dx, int dy, Point p)
            int[] x = smallTriangle.xpoints;
            int[] y = smallTriangle.ypoints;
            int[] x1 = bigTriangle.xpoints;
            int[] y1 = bigTriangle.ypoints;
            switch(selectedIndex)
                case 0:
                    double length =  Math.sqrt((x[1]-x[0])*(x[1]-x[0]) + (y[1]-y[0])*(y[1]-y[0]));
                    int xpoint = x[1] + dx;
                    int ypoint = y[1] + dy;
                    double newlength = Math.sqrt((xpoint-x[0])*(xpoint-x[0]) + (ypoint-y[0])*(ypoint-y[0]));
                    double scale = length/newlength;
                    x[1] = new Double(p.x*scale).intValue();
                    y[1] = new Double(p.y*scale).intValue();
                    int px_forBig = ((p.x - x[0])*ratio) + x1[0];
                    int py_forBig = ((p.y - y[0])*ratio) + y1[0];
                    x1[1] = new Double( px_forBig  * scale).intValue();
                    y1[1] = new Double( py_forBig  * scale).intValue();
                    break;
                case 1:
                    length =  Math.sqrt((x[2]-x[1])*(x[2]-x[1]) + (y[2]-y[1])*(y[2]-y[1]));
                    xpoint = x[2] + dx;
                    ypoint = y[2] + dy;
                    newlength = Math.sqrt((xpoint-x[1])*(xpoint-x[1]) + (ypoint-y[1])*(ypoint-y[1]));
                    scale = length/newlength;
                    x[2] = new Double(p.x*scale).intValue();
                    y[2] = new Double(p.y*scale).intValue();
                    px_forBig = ((p.x - x[1])*ratio) + x1[1];
                    py_forBig = ((p.y - y[1])*ratio) + y1[1];
                    x1[2] = new Double( px_forBig  * scale).intValue();
                    y1[2] = new Double( py_forBig  * scale).intValue();
                    break;
                case 2:
      length =  Math.sqrt((x[0]-x[2])*(x[0]-x[2]) + (y[0]-y[2])*(y[0]-y[2]));
                    xpoint = x[0] + dx;
                    ypoint = y[0] + dy;
                    newlength = Math.sqrt((xpoint-x[2])*(xpoint-x[2]) + (ypoint-y[2])*(ypoint-y[2]));
                    scale = length/newlength;
                    x[0] = new Double(p.x*scale).intValue();
                    y[0] = new Double(p.y*scale).intValue();
                    px_forBig = ((p.x - x[2])*ratio) + x1[2];
                    py_forBig = ((p.y - y[2])*ratio) + y1[2];
                    x1[0] = new Double( px_forBig  * scale).intValue();
                    y1[0] = new Double( py_forBig  * scale).intValue();
        public void translate(int dx, int dy, Polygon triangle)
            triangle.translate(dx, dy);
        public Polygon getSmallTriangle()
            return smallTriangle;
        public Polygon getBigTriangle()
            return bigTriangle;
        public String findCentroid(Polygon triangle)
            int[] x = triangle.xpoints;
            int[] y = triangle.ypoints;
            // construct the medians defined as the line from
            // any vertex to the midpoint of the opposite line
            medians = new Line2D[x.length];
            for(int j = 0; j < x.length; j++)
                int next = (j + 1) % x.length;
                int last = (j + 2) % x.length;
                Point2D vertex = new Point2D.Double(x[j], y[j]);
                // get midpoint of line opposite vertex
                double dx = ((double)x[last] - x[next])/2;
                double dy = ((double)y[last] - y[next])/2;
                Point2D oppLineCenter = new Point2D.Double(x[next] + dx,
                                                           y[next] + dy);
                medians[j] = new Line2D.Double(vertex, oppLineCenter);
            // centroid is located on any median 2/3 the way from the
            // vertex (P1) to the midpoint (P2) on the opposite side
            double[] lengths = getSideLengths(triangle);
            double dx = (medians[0].getX2() - medians[0].getX1())*2/3;
            double dy = (medians[0].getY2() - medians[0].getY1())*2/3;
            double px = medians[0].getX1() + dx;
            double py = medians[0].getY1() + dy;
            //System.out.println("px = " + nf.format(px) +
            //                 "\tpy = " + nf.format(py));
            centroid = new Point2D.Double(px, py);
            return "(" + nf.format(px) + ",  " + nf.format(py) + ")";
        public String[] getAngles(Polygon triangle)
            double[] lengths = getSideLengths(triangle);
            String[] vertices = new String[lengths.length];
            for(int j = 0; j < lengths.length; j++)
                int opp  = (j + 1) % lengths.length;
                int last = (j + 2) % lengths.length;
                double top = lengths[j] * lengths[j] +
                             lengths[last] * lengths[last] -
                             lengths[opp] * lengths[opp];
                double divisor = 2 * lengths[j] * lengths[last];
                double vertex = Math.acos(top / divisor);
                vertices[j] = nf.format(Math.toDegrees(vertex));
            return vertices;
        public String[] getLengths(Polygon triangle)
            double[] lengths = getSideLengths(triangle);
            String[] lengthStrs = new String[lengths.length];
            for(int j = 0; j < lengthStrs.length; j++){
                lengthStrs[j] = nf.format(lengths[j]);
            return lengthStrs;
        public double[] getSideLengths(Polygon triangle)
            int[] x = triangle.xpoints;
            int[] y = triangle.ypoints;
            double[] lengths = new double[SIDES];
            for(int j = 0; j < SIDES; j++)
                int next = (j + 1) % SIDES;
                lengths[j] = Point.distance(x[j], y[j], x[next], y[next]);
            return lengths;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.font.FontRenderContext;
    import java.awt.font.LineMetrics;
    import java.awt.geom.*;
    import java.text.NumberFormat;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.DefaultTableCellRenderer;
    * @author  Sharan Bhojwani
    public class InterceptView extends JPanel {
        public InterceptModel model;
        public Polygon smallTriangle;
        public Polygon bigTriangle;
        private JTable intercepttable;
        private JTable interceptTableA;
        private JTable interceptTableB;
        public JLabel centroidLabel;
        Font sideFont, vertexFont, areaFont;
        private boolean showConstruction;
        private InterceptControl interceptcontrol;
        private NumberFormat nf;
        JLabel ratLabel;
        JSlider ratSlider;
        final int ABCLABELS = 0;
        final int DEFLABELS = 1;
        JTextArea tarea2;
        final int abclabels = 0;
        final int deflabels = 1;
        final String notes[] = {
            // note 0
            "HELLOO "  ,
        public InterceptView(InterceptModel model) {
            this.model = model;
            smallTriangle = model.getSmallTriangle();
            bigTriangle = model.getBigTriangle();
            showConstruction = false;
            interceptcontrol= new InterceptControl(this);
            addMouseListener(interceptcontrol);
            addMouseMotionListener(interceptcontrol);
            sideFont = new Font("times new roman", Font.PLAIN, 14);
            vertexFont = new Font("lucida sans demibold", Font.PLAIN, 18);
            areaFont = vertexFont.deriveFont(12f);
            nf = NumberFormat.getNumberInstance();
            nf.setMaximumFractionDigits(1);
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
            RenderingHints.VALUE_ANTIALIAS_ON);
            g2.draw(smallTriangle);
            g2.draw(bigTriangle);
            labelTriangle(g2, smallTriangle, this.ABCLABELS);
            labelTriangle(g2, bigTriangle, this.DEFLABELS);
            //if(model.medians == null)
            //    centroidLabel.setText("centroid location: " + model.findCentroid(smallTriangle));
            // draw medians and centroid point
            if(showConstruction && !interceptcontrol.dragging) {
                g2.setPaint(Color.red);
                for(int j = 0; j < 3; j++)
                    //                g2.draw(model.medians[j]);
                    g2.setPaint(Color.blue);
                //            g2.fill(new Ellipse2D.Double(model.centroid.getX() - 2,
                //                                         model.centroid.getY() - 2, 4, 4));
        private void labelTriangle(Graphics2D g2, Polygon triangle, int labelSet) {
            // sides
            // adjacent - c
            int PAD = 10;
            g2.setFont(sideFont);
            FontRenderContext frc = g2.getFontRenderContext();
            int[] x = triangle.xpoints;
            int[] y = triangle.ypoints;
            double[] lengths = model.getSideLengths(triangle);
            double theta = -computeAngle(lengths[0], lengths[1], lengths[2]);
            // vertices
            g2.setFont(vertexFont);
            frc = g2.getFontRenderContext();
            // A
            theta = -Math.PI/2 - computeAngle(lengths[0], lengths[1], lengths[2])/2;
            int cx = x[0] + (int)((2 * PAD) * Math.cos(theta));
            int cy = y[0] + (int)((2 * PAD) * Math.sin(theta));
            float w = (float)vertexFont.getStringBounds("A", frc).getWidth();
            LineMetrics lm = vertexFont.getLineMetrics("A", frc);
            float h = lm.getAscent();
            float sx = cx - w/2 +15 ;
            float sy = cy + h/2;
            if (labelSet == 0) {
                g2.drawString("A", sx, sy); }
            //        else if (labelSet == 1) {
            //            g2.drawString("D", sx, sy); }
            // C
            theta = Math.PI*3/4;
            cx = x[1] + (int)((2 * PAD) * Math.cos(theta));
            cy = y[1] + (int)((2 * PAD) * Math.sin(theta));
            w = (float)vertexFont.getStringBounds("C", frc).getWidth();
            lm = vertexFont.getLineMetrics("C", frc);
            h = lm.getAscent();
            sx = cx - w/2 + 2;///2;
            sy = cy - h/2 -4 ;
            if (labelSet == 0) {
                g2.drawString("C", sx, sy); }
    //        else if (labelSet == 1) {
    //            g2.drawString("E", sx, sy); }
            // C//E
            theta = computeAngle(lengths[2], lengths[0], lengths[1])/2;
            cx = x[2] + (int)((2 * PAD) * Math.cos(theta));
            cy = y[2] + (int)((2 * PAD) * Math.sin(theta));
            w = (float)vertexFont.getStringBounds("B", frc).getWidth();
            lm = vertexFont.getLineMetrics("B", frc);
            h = lm.getAscent();
            sx = cx - w   ;
            sy = cy - h/2  ;
            if (labelSet == 0) {
                g2.drawString("B", sx, sy); }
    //        else  if (labelSet == 1) {
    //            g2.drawString("D", sx, sy);
        private double computeAngle(double side, double opp, double last) {
            double top = side * side + last * last - opp * opp;
            double divisor = 2 * side * last;
            return Math.acos(top / divisor);
        public InterceptModel getModel() {
            return model;
        public JTable getInterceptTableA() {
            return interceptTableA;
        public JTable getInterceptTable(){
        return intercepttable;
        public JTable getInterceptTableB() {
            return interceptTableB;
        public JLabel getCentroidLabel() {
            return centroidLabel;
        public JPanel getUIPanel() {
            ratSlider = new JSlider(0,5,4);
            ratSlider.setPaintTicks(true);
            ratLabel = new JLabel("AB = BD = " + (5 * ratSlider.getValue()));
            ratSlider.addChangeListener(new ChangeListener() {
                public void stateChanged(ChangeEvent e) {
                    ratLabel.setText("AB = BD = " + (5* ratSlider.getValue()));
                    interceptcontrol.setRatio(ratSlider.getValue());
                    //boolean state = ((JCheckBox)e.getSource()).isSelected();
                    //showConstruction = state;
                    repaint();
            JPanel panel = new JPanel();
            panel.add(ratSlider);
            panel.add(ratLabel);
            return panel;
        public JPanel getInterceptTablePanel(){
          String[] headers = new String[] { "", "", "", "" ,"",""};
            String[] rowHeaders = {
                "Sides","Lengths","Ratio","RatioValues",""
            String[] sidesRow = new String[]{"AB","AC","BC","BD","CE","DE"};
            //String[] anglesRow = { "^BAC", "^DBC", "^BCE","^BDE", "^DEC" };
            String[] sidesRatio = new String[] {"AB/BD", "", "AC/CE","","BC/CE"};
            //String[] angles  = model.getAngles(smallTriangle);
            String[] lengthsSmallTriangle = model.getLengths(smallTriangle);
            double[] doLengthsBigTri = model.getSideLengths(bigTriangle);
            double[] doLengthsSmaTri = model.getSideLengths(smallTriangle);
            int BD = (int) (doLengthsBigTri[0] - doLengthsSmaTri[0]);
            int CE = (int) (doLengthsBigTri[2] - doLengthsSmaTri[2]);
            String[] lengths = {lengthsSmallTriangle[0],lengthsSmallTriangle[2],lengthsSmallTriangle[1],
                nf.format(BD), nf.format(CE), nf.format(doLengthsBigTri[1])};
            String[] ratios = {nf.format(doLengthsSmaTri[0]/BD),"", nf.format(doLengthsSmaTri[2]/CE), "", nf.format(doLengthsSmaTri[1]/doLengthsBigTri[1])};
            String[][] allData = { sidesRow, lengths, sidesRatio, ratios };
            int rows = 4;
            int cols = 6;
            Object[][] data = new Object[rows][cols];
            for(int row = 0; row < rows; row++) {
                data[row][0] = rowHeaders[row];
                for(int col = 1; col < cols; col++)
                    data[row][col] = allData[row][col - 1];
             intercepttable = new JTable(data, headers) {
                public boolean isCellEditable(int row, int col) {
                    return false;
            DefaultTableCellRenderer renderer =
            (DefaultTableCellRenderer)intercepttable.getDefaultRenderer(String.class);
            renderer.setHorizontalAlignment(JLabel.CENTER);
            JPanel panel = new JPanel();
            panel.add(intercepttable);
            return panel;
        public JPanel getInterceptTablePanelB() {
            String[] headers = new String[] { "", "", "", "" };
            // row and column data labels
            String[] rowHeaders = {
                "sides", "lengths", "angles", "degrees"
            String[] sidesRow = { "D-E", "E-F", "F-D" };
            String[] anglesRow = { "Angle D", "Angle E", "Angle F" };
            // collect data from model
            String[] angles  = model.getAngles(smallTriangle);
            String[] lengths = model.getLengths(smallTriangle);
            String[][] allData = { sidesRow, lengths, anglesRow, angles };
            int rows = 4;
            int cols = 3;
            Object[][] data = new Object[rows][cols+1];
            for(int i = 0; i < rows; i++) {
                data[0] = rowHeaders[i];
    for(int j = 1; j <= cols; j++)
    data[i][j] = allData[i][j-1];
    interceptTableB = new JTable(data, headers) {
    public boolean isCellEditable(int row, int col) {
    return false;
    DefaultTableCellRenderer renderer =
    (DefaultTableCellRenderer)interceptTableB.getDefaultRenderer(String.class);
    renderer.setHorizontalAlignment(JLabel.CENTER);
    JPanel panel = new JPanel(new BorderLayout());
    panel.setBorder(BorderFactory.createTitledBorder("triangle DEF"));
    panel.add(interceptTableB);
    return panel;
    public JTextArea getJtextArea(){
    tarea2 = new JTextArea();
    tarea2.setText(notes[0]);
    tarea2.setSize(400,0);
    tarea2.setWrapStyleWord(true);
    tarea2.setLineWrap(true);
    return tarea2;
    public JPanel getTxtPanel(){
    JPanel panel = new JPanel(new GridLayout());
    panel.setSize(600,600);
    panel.add(getInterceptTablePanelB(), "South");
    panel.add(getJtextArea(),"East");
    return panel;
    import java.awt.Point;
    import java.awt.Rectangle;
    import java.awt.event.MouseEvent;
    import javax.swing.JTable;
    import javax.swing.event.MouseInputAdapter;
    * @author Sharan Bhojwani
    public class InterceptControl extends MouseInputAdapter{
    InterceptView view;
    InterceptModel model;
    Point start;
    boolean dragging, altering;
    Rectangle lineLens;
    /** Creates a new instance of InterceptControl */
    public InterceptControl(InterceptView tv) {
    view = tv;
    model = view.getModel();
    dragging = altering = false;
    lineLens = new Rectangle(0, 0, 6, 6);
    public void mousePressed(MouseEvent e) {
    * Point p = e.getPoint();
    * lineLens.setLocation(p.x - 3, p.y - 3);
    * // are we over a line
    * if(model.isLineSelected(lineLens))
    * start = p;
    * altering = true;
    * // or are we within the triangle
    * else if(model.contains(p,model.getSmallTriangle()))
    * start = p;
    * dragging = true;
    void setRatio(int ratio) {
    model.setRatio(ratio);
    updateInterceptTable();
    //updateInterceptTableA();
    // updateInterceptTableB();
    public void mouseReleased(MouseEvent e) {
    altering = false;
    dragging = false;
    //view.getCentroidLabel().setText("centroid location: " +
    // model.findCentroid(model.getSmallTriangle()));
    view.repaint(); // for the construction lines
    public void mouseDragged(MouseEvent e) {
    Point p = e.getPoint();
    if(altering) {
    int x = p.x - start.x;
    int y = p.y - start.y;
    model.moveSide(x, y, p);
    updateInterceptTable();
    //updateInterceptTableA();
    // updateInterceptTableB();
    view.repaint();
    start = p;
    else if(dragging)
    int x = p.x - start.x;
    int y = p.y - start.y;
    model.translate(x, y, model.getSmallTriangle());
    //model.translate(x, y, model.getBigTriangle());
    view.repaint();
    start = p;
    //TABLE FOR FIRST TRIANLGE ABC
    private void updateInterceptTable(){
    String[] lengths = model.getLengths(model.getSmallTriangle());
    // String[] squares = model.getSquares();
    String[] angles = model.getAngles(model.getSmallTriangle());
    JTable table = view.getInterceptTable();
    for(int j = 0; j < angles.length; j++) {
    table.setValueAt(lengths[j], 1, j + 1);
    // table.setValueAt(squares[j], 2, j + 1);
    table.setValueAt(angles[j], 3, j + 1);
    //view.getCentroidLabel().setText("centroid location: " +
    Now if you compile and run these classes - u will c two triangles on screen
    ONE IS ABC AND THE OTHER WTIH VERTEX A an dsides D E -
    now D and E are not labeled coz I was having problems with the labels coz everytime i incremented the JSLIDer the triangle changed shape and the lables interchanged
    Now what I am trying to demonstrate here is the Triangle Intercept theorem which states that when BC is Parallel to DE - no matter what the size of the triangle the ratios of AB/BD = AC/AE ----
    and in my triangle i got BC as the line parallelt o DE - so i have got 2 triangles one ABC (SMALLER TRIANGLE)_ and
    ADE - Bigger triangle
    with BC appearing as the line passing through the midpoint of SIDES AD AND AE -
    I need to get the values of the ratios of the sides and i cant figure out how to calculate the values of sides AC and CE and AE - that should be updated automatically...
    Can Any one help me with this - thanks

    Hi again - The post before this is got the code for the problem at hand but the requirements have changed slightly -
    So far I have managed to draw a 2Triangles on screen -
    both are controlled by the JSlider
    I need to have my triangles fixed in a certain position on screen -
    I just need the one triangle and I need the Jslider controlling the line passing through the triangle which is parallelt o its base.
    i.e. before i had two triangles witht he base of the smaller one acting as the parallel line through the midpoints...
    now i need a line passing through the triangle not necessarily thorugh its midpoints but it should be parallel to its base..
    and the Jslider should control this line such that as it increments the line moves down and decrements it moves up
    and then the ratios can be calculated to show that AB:BD = AC:CE no matter where BC is the parallel line where the parallel line is within the triangles sides
    secondly.. the user should be able to Drag any side of the triangle by its vertex and manipulate its lengths i.e . increase or decrease the size of the triangle using is vertex
    can any one help me with his
    Thanks...

  • Report Painter Performance Issue

    Helloo experts,
    I have a report painter report which is pulling the data from a custom table (which has 32million records). Its taking a lot of time .
    Is there any method to improve its performance ?

    Hi,
    Please check report painter selecting records using primary key or secondary index. If not please create secondary index for custom table (after consultation with basis, due to creating the secondary index will increase the load on server of custom table with 32 millions records)
    If not possible. extract the resultset from custom table into another table and make query for report painter on that. and update the new table on daily basis or hourly basis.
    aRs

  • Spry Menu Bar Horizontal Problem in Internet Explorer

    I'm having a problem with a spry menu bar. It works fine in Firefox and Google Chrome, but in Internet Explorer the submenus shift to the right.
    And here's the code:
    @charset "UTF-8";/* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 *//* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. *//******************************************************************************* LAYOUT INFORMATION: describes box model, positioning, z-order *******************************************************************************//* The outermost container of the Menu Bar, an auto width box with no margin or padding */ul.MenuBarHorizontal{     margin: 0 auto;     padding: 0;     list-style-type: none;     font-size: 100%;     cursor: default;     width: 54em;     border-top-width: thick;     border-right-width: thick;     border-bottom-width: thick;     border-left-width: thick;     border-top-color: #00F;     border-right-color: #099;     border-bottom-color: #093;     border-left-color: #0F9;     top: auto;}/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */ul.MenuBarActive{     z-index: 1000;}/* Menu item containers, position children relative to this container and are a fixed width */ul.MenuBarHorizontal li{     margin: 0;     padding: 0;     list-style-type: none;     font-size: 100%;     position: relative;     text-align: center;     cursor: pointer;     width: 18em;     float: left;     color: #F00;     background-color: #0000FF;}/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */ul.MenuBarHorizontal ul{     margin: 0;     padding: 0;     list-style-type: none;     font-size: 100%;     z-index: 1020;     cursor: default;     width: 18em;     position: absolute;     left: -1000em;}/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */ul.MenuBarHorizontal ul.MenuBarSubmenuVisible{     left: auto;}/* Menu item containers are same fixed width as parent */ul.MenuBarHorizontal ul li{     width: 18em;}/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */ul.MenuBarHorizontal ul ul{     position: absolute;     margin: -5% 0 0 95%;}/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible{     left: auto;     top: 0;}/******************************************************************************* DESIGN INFORMATION: describes color scheme, borders, fonts *******************************************************************************//* Submenu containers have borders on all sides */ul.MenuBarHorizontal ul{     border: 1px solid #CCC;}/* Menu items are a light gray block with padding and no text decoration */ul.MenuBarHorizontal a{     display: block;     cursor: pointer;     background-color: #000;     padding: 0.5em 0.75em;     color: #C96;     text-decoration: none;     border: black;}/* Menu items that have mouse over or focus have a blue background and white text */ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus{     background-color: #900;     color: #009;     text-align: center;}/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible{     background-color: #900;     color: #FFF;     text-decoration: underline;}/***************************************************************************** ** SUBMENU INDICATION: styles if there is a submenu under a given menu item *******************************************************************************//* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */ul.MenuBarHorizontal a.MenuBarItemSubmenu{     background-image: url(SpryMenuBarDown.gif);     background-repeat: no-repeat;     background-position: 95% 50%;     text-align: center;     font-family: "Lucida Console", Monaco, monospace;     font-weight: bold;     color: #FF0;     border: 3px solid #039;}/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */ul.MenuBarHorizontal ul a.MenuBarItemSubmenu{     background-image: url(SpryMenuBarRight.gif);     background-repeat: no-repeat;     background-position: 95% 50%;}/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ul.MenuBarHorizontal a.MenuBarItemSubmenuHover{     background-image: url(SpryMenuBarDownHover.gif);     background-repeat: no-repeat;     background-position: 95% 50%;}/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover{     background-image: url(SpryMenuBarRightHover.gif);     background-repeat: no-repeat;     background-position: 95% 50%;}/******************************************************************************* BROWSER HACKS: the hacks below should not be changed unless you are an expert *******************************************************************************//* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */ul.MenuBarHorizontal iframe{     position: fixed;     z-index: 1010;     filter:alpha(opacity:0.1);}/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */@media screen, projection{     ul.MenuBarHorizontal li.MenuBarItemIE     {          display: inline;          f\loat: left;               }}
    WHAT DO I DO? HELP ME, THANKS.
    Ummmmmmm HELLOO.
    SOMEONE HELP ME.
    ....boy you guys are reallllly helping

    Ohhhh noooo now it looks like this.
    I don't know what to do!!!!
    Here, let me give you the css code and the html code.
    <style type="text/css">
    <!--
    #apDiv1 {
        position:absolute;
        width:160px;
        height:126px;
        z-index:1;
        left: 205px;
        top: 424px;
        margin: 0 auto;
    -->
    </style>
    <style type="text/css">
    #apDiv3 {
        position:absolute;
        width:254px;
        height:206px;
        z-index:2;
        left: 123px;
        top: 1529px;
    #apDiv4 {
        position:absolute;
        width:250px;
        height:194px;
        z-index:3;
        left: 381px;
        top: 1528px;
    #apDiv5 {
        position:absolute;
        width:256px;
        height:200px;
        z-index:4;
        left: 636px;
        top: 1529px;
    #apDiv6 {
        position:absolute;
        width:349px;
        height:205px;
        z-index:5;
        left: 889px;
        top: 1530px;
    </style>
    <style type="text/css">
    #apDiv7 {
        position:absolute;
        width:887px;
        height:204px;
        z-index:6;
        left: 324px;
        top: 905px;
    #apDiv8 {
        position:absolute;
        width:1295px;
        height:74px;
        z-index:1;
        left: 212px;
        top: 668px;
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <style type="text/css">
    #apDiv2 {
        position:absolute;
        width:209px;
        height:197px;
        z-index:2;
        top: 1220px;
        left: 171px;
    #apDiv9 {
        position:absolute;
        width:331px;
        height:97px;
        z-index:3;
        left: 385px;
        top: 1218px;
    #apDiv10 {
        position:absolute;
        width:292px;
        height:199px;
        z-index:4;
        left: 724px;
        top: 1218px;
    #apDiv11 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:1;
    body {
        background-color: #000;
        background-image: url();
        text-align: center;
        color: #F00;
    .none {
        font-size: 80px;
        font-family: "Times New Roman", Times, serif;
        font-weight: bold;
    #apDiv12 {
        position:absolute;
        width:991px;
        height:60px;
        z-index:5;
        left: 198px;
        top: 192px;
    #apDiv13 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:1;
        left: 588px;
        top: 322px;
    </style>
    <body onLoad="MM_preloadImages('images/WebConfroll.png','images/youthfootballroll.png','images/ statefbsweatshirt.png')">
    <p align="center" class="none"><img src="images/footballtitle.png" width="941" height="183"></p>
    <ul id="MenuBar2" class="MenuBarHorizontal">
      <li><a class="MenuBarItemSubmenu" href="#">[Placeholder]</a>
        <ul>
          <li><a href="#">[Placeholder]</a></li>
          <li><a href="#">[Placeholder]</a></li>
          <li><a href="#">[Placeholder]</a></li>
        </ul>
      </li>
      <li><a href="#" class="MenuBarItemSubmenu">[Placeholder]</a>
        <ul>
          <li><a href="#">[Placeholder]</a></li>
          <li><a href="#">[Placeholder]</a></li>
          <li><a href="#">[Placeholder]</a></li>
        </ul>
      </li>
      <li><a class="MenuBarItemSubmenu" href="#">Videos</a>
        <ul>
          <li><a class="MenuBarItemSubmenu" href="#">2008 Videos</a>
            <ul>
              <li><a href="videos/2009 videos/Glenbard part one/partone.html">Glenbard South Game</a></li>
              <li><a href="#">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&# 160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;[Placeholder]</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">2009 Videos</a>
            <ul>
              <li><a href="#">[Placeholder]</a></li>
              <li><a href="#">[Placeholder]</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">2010 Videos</a>
            <ul>
              <li><a href="#">[Placeholder]</a></li>
              <li><a href="#">[Placeholder]</a></li>
            </ul>
          </li>
        </ul>
      </li>
    </ul>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"><span class="cent"><img src="images/bulldoghelmit.png" width="150" height="99" /></span></p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p class="cent"> </p>
    <div align="center">
      <ul id="MenuBar1" class="MenuBarHorizontal">
        <li> <a class="MenuBarItemSubmenu" href="#">Football Season 2008</a>
          <ul>
            <li><a href="http://page.bps101.net/web/t1350/Football2009/2008%20Defense%20Stats.pdf">Defense Stats</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football2009/2008%20Offense%20Stats.pdf">Offense and Records</a></li>
            <li><a href="http://page.bps101.net/web/t1350/BHS%20All%20Time%20Stats.pdf">AllTime Data</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football2009/Western%20Sun%202009.pdf">Western Sun Final Standings</a></li>
          </ul>
        </li>
        <li> <a href="#" class="MenuBarItemSubmenu">Football Season 2009</a>
          <ul>
            <li><a href="http://page.bps101.net/web/t1350/Football%202010/2009%20Banquet%20Record%20and%20Stats.pdf">Defense Stats</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football%202010/2009%20Banquet%20Record%20and%20Stats.pdf">Record Book and Offense</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football%202010/All-Time%20Data%202009.pdf">Alltime Data</a></li>
          </ul>
        </li>
        <li> <a class="MenuBarItemSubmenu" href="#">Football Season 2010</a>
          <ul>
            <li><a href="http://page.bps101.net/web/t1350/Football%202011/2011%20Checklist.pdf">2010-2011 Offseason Checklist</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football%202011/2010%20Defense%20Stats%20Final.pdf">Defense Stats</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football%202011/2010%20Stats%20Packet.pdf">Record Book and Offense</a></li>
            <li><a href="http://page.bps101.net/web/t1350/Football%202011/2010%20ALL%20TIME.pdf">Alltime Data</a></li>
          </ul>
        </li>
      </ul>
    </div>
    <p align="center"> </p>
    <p align="center"> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"><img src="images/Batavia Youth football.png" alt="" width="869" height="200" /></p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','images/WebConfroll.png',1)"></a></p>
    <div align="center">
      <div align="center"></div>
      <div align="center"><a href="http://www.athletics2000.com/upstate8/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','images/WebConfroll.png',1)"><img src="images/WebConf.png" name="Image7" width="206" height="194" border="0" id="Image7" /></a><a href="http://www.bataviayouthfootball.org/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','images/statefbsweatshirt.png',1)"><img src="images/statefbsweatshirt.jpg" name="Image6" width="375" height="199" border="0" id="Image6" /></a><a href="http://www.bataviayouthfootball.org/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','images/youthfootballroll.png',1)"><img src="images/youth football.png" name="Image8" width="329" height="197" border="0" id="Image8" /></a></div>
    </div>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','images/youthfootballroll.png',1)"></a></p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"> </p>
    <p align="center"><img src="images/Logos.png" width="1167" height="199" /></p>
    <script type="text/javascript">
    var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: auto 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: 54em;
        border-top: thick solid #00F;
        border-left: thick solid #00F;
        border-right: thick solid #00F;
        border-bottom: thick solid #00F;
        height: 2.2em;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        cursor: pointer;
        width: 18em;
        float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 18em;
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 18em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: #000;
        padding: 0.5em 0.75em;
        color: #C96;
        text-decoration: none;
        text-align: center;
        height: 1.2em;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: #900;
        color: #009;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #900;
        color: #FFF;
        text-decoration: underline;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
        color: #FF0;
        font-family: "Lucida Console", Monaco, monospace;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;
    DON'T GIVE UP ON ME. PLEASE.

  • Order status is coming "Being Processed" after return delivery

    Helloo Experts,
    We have a current situation here, Where order type (OR) with item cat (TAN) creates SO then delievry (LF) happened and PGI..
    Due to some reasons the order needs to be void.Then the SO has been changed (VA02) by adding item cat YREN with same quantity, then delivery (LF) ,PGR and billing (F2).
    Now after final billing the order status coming as "Being processed" instead of "Closed" at the document flow.
    Does SAP standard practice supports this process flow OR it should be Return order (RE),Delivery (LR) and return of credit (RE)  to make the Order status  "Completed".
    Is there any other ways to make these order's status changed from "Being Processed" to "Completed"
    Waiting for some valuable inputs.
    Thanks
    SM

    Then the SO has been changed (VA02) by adding item cat YREN
        with same quantity, then delivery (LF) ,PGR and billing (F2).
    This process is wrong.  You have to create a new return sale order with reference to the parent billing document.  If billing has not been generated, then you have to reverse the delivery via VL09.
    G. Lakshmipathi

  • Sales Orders from Handheld

    Helloo
    Can any one recomend an addon for taking the sales order with handheld for example a sales person visiting clients. Any suggestions ? Experiencies ?

    Hello Hector,
    If you are talking about entering sales orders using a mobile device there are a few solutions.  One such is http://b1desktop.com
    Check it out.
    Best
    Suda Sampath

  • Data capturing in background job scheduling

    HI,
    I hava a specific requirement in background job scheduling.
    in my layout i have to show <b>pagenumber / total number of page numbers.</b>
    for that iam useing a variable with value '$$$' and iam replacing this variable with total number of pages..
    when we run in foreground it is working fine. but in background the variable is not being replaced..
    how can i modify the data in spool..

    REPORT ztest no STANDARD PAGE HEADING
                                     MESSAGE-ID zfi
                                     LINE-COUNT 65(1)
                                     LINE-SIZE 165.
    DATA:        v_sum(3)  TYPE c VALUE'$$$'.
    CONSTANTS:  c_slash    TYPE c VALUE '/'.        "Stores /
    parameters : p_1 type c.
    START-OF-SELECTION.
      WRITE : 'Hi'.
      SKIP 80.
      WRITE : 'Helloo'.
    END-OF-SELECTION.
    *To print the total no. of pages in report heading.
      PERFORM f_replace_totpage.
      TOP-OF-PAGE
    TOP-OF-PAGE.
    Display Standard Report Header
      PERFORM f_report_header.
    *&      Form  f_replace_totpage
         To print the total no. of pages in report heading.
    FORM f_replace_totpage .
      DATA: l_tot_page(3) TYPE c,
            l_pgcnt TYPE i,
            l_licnt TYPE i VALUE '3'.
    Assign value of total number of pages into l_tot_page.
      l_tot_page = sy-pagno.
    To replace the value of v_sum ($$$) by total number of pages after
    reading the content of fourth line of each page.
      WHILE l_pgcnt LE l_tot_page.
        l_pgcnt = l_pgcnt + 1.
        READ LINE l_licnt OF PAGE l_pgcnt.
        REPLACE v_sum WITH l_tot_page INTO sy-lisel.
        MODIFY LINE l_licnt OF PAGE l_pgcnt.
      ENDWHILE.
      CLEAR: l_tot_page,
             l_pgcnt,
             l_licnt.
    ENDFORM.                    " f_replace_totpage
    *&      Form  f_report_header
          Report Header display
    FORM f_report_header.
      FORMAT COLOR 1 INTENSIFIED ON.
    Text-246 - Page:
    WRITE:/1 text-247, 45 text-241, 110 text-242, 150 space.
    WRITE:/1 text-243, sy-repid, 110 text-244, sy-datum, c_slash, sy-uzeit,
             150 space.
      WRITE:/1 text-245, sy-uname, 110 text-246, sy-pagno,c_slash,v_sum,
             150 space.
      FORMAT COLOR OFF.
      ULINE.
    ENDFORM.                    " f_report_header

  • HP Color Laserjet 2500 colors problem

    Helloo! 
    I have a problem with my HP Color Laserjet 2500. I use Windows 7 proffesional 32-bit computer. Installed driver from hp support, because the CD that came with the printer, is only for XP/ 2000 /ME etc. I tried both, the PC5 and PC6 driver, always the same problem.
    I can print, but i have one problem, and few questions.
    Problem: Sometimes it prints only yellow color, sometimes only magneta. Sometimes it combines blue and magneta, and leaves black and yellow out. And sometimes, it prints all the colors. I could say, that almoust 50% of the times, it prints normally. When it does not, it prints like i desicribed above, in all different possibilities, sometimes doesn't print yellow, magneta, blue or black. Sometimes it doesn't print two colors, rearly prints only 1 color, and even more rearly (happened about 2-3 times) it doesn't print anything. It has been a problem for years since i attached it to the Win7 computer, but at first it worked great. Then sometimes it messed up 1 document in a while, then 2, then 3 in a week. But now it's bit more than 50% of the documents that it messes up.
    Quesion 1: It appears, that when i choose Printing Preferences in the computer, it displays some different language, i think it's arabic!? Written from right to left. How can i change that?
    Qouestion 2: I can't find my products serial number. When i print out the configuration page, it says Printer Serial Number: CNHDD06356, but when i post it in the HP Chat Support, it gives me error. What am i supposed to do? 
    If you solve my problem, i will buy you a beer when we meet!
    PS. What i've tried:
    Cold reset.
    Different drivers.
    New USB wire from printer to computer.
    All cartridges have over 40% ink in them. Black 44, cyan 97, magneta 76 and yellow 97%.
    Imaging drum is practically new, shows 93%.
    Cleaned the printer inside.
    Added a bit WD40 to moving parts.
    Now i'm hoping you can help me..
    This question was solved.
    View Solution.

    Hello again!
    I SOLVED IT !
    Who ever, when ever will have the same issue, here's how i fixed it (sorry for my not so correct english):
    I googeled around a bit more, and found a topic in some forum:
    http://www.fixyourownprinter.com/forums/printer/68382
    http://www.fixyourownprinter.com/forums/printer/63372#1
    And then i saw a video in here:
    https://www.youtube.com/watch?v=9BoxmagIjhg
    What i did:
    Took the printer apart. All the plastic covers. I think i only had to take 2 screws out, to cet the covers. I only didn't take down the cover where you can put paper in, i didn't need to.
    The cover where you put colors inside was tricki. The lid communicates with other pinions, so you'll have to remove it. To remove it, there is this little black pinion inside the printer. In the center of the pinion, there is a buttonish thing, you'll have to push it to the side ways, from center to edge to remove the pinion and then you'll be able to remove the top plastic cover.
    Then i did as it's shown in the video:
    https://www.youtube.com/watch?v=9BoxmagIjhg
    You'll have to clean this "solenoid" thing. I used a little knife to scratch off the clue from both pieces. There was supposed to be a felt, but mine didn't have it anymore, and THAT was wat was caousing it. 
    IMPORTANT: My felt from the solenoid was cone, so i replaced it with masking tape. I  cut a little strips out off of a masking tape and clued/wrapped it around the solenoid. It is recommended though, that you clue a little felt back in there, but i didn't have it, so i used masking tape.
    Then i put all the pieces back together and it worked ! 
    You cant believe my happiness, when it started to print every paper correctly. I had this problem for a while,  and unbelievably this worked. 
    If you have the same problem, i hope this trick will solve yours too.

  • Subcontracting through scheduling Agreement

    hi ..
    helloo..i want to knw the steps by step procedure for the subcontracting using scheduling agreement..
    thanks..
    Rgrds,
    AVS

    Hi
    Steps are the same as how you create for  a SC PO and the creation of shedule lines is the same standard way. Only the item category will be L - Subcontracting.
    To enter several delivery dates for a subcontract order item, proceed as follows:
    Display the scheduling screen for the item.
    Enter the quantities and dates.
    If the ordered material has a bill of material, the components are copied from the bill of material.
    If you do not use bills of material, you must either enter the components manually or refer to an existing purchase requisition. You have to enter the components for every delivery schedule.
    Position the cursor on a schedule line and choose Item ® Component ® Overview to display the screen for processing components. You can enter or change the individual components in the same way as an order item.
    To make entering the schedule lines easier, copy the components for other delivery schedule items. To do this, select Edit ® Repeat components ® Activate.
    When you enter the next delivery schedule for the material, the components will be copied from the selected delivery schedule. The quantity and the date required are redetermined.
    Save the delivery schedule.
    When you print the scheduling agreement, the quantity required per component and date required are reprinted.
    Thanks & Regards
    Kishore

Maybe you are looking for