JSpinner problem when extending AbstractSpinnerModel

Hi,
I have a problem with a class that extends AbstractSpinnerModel.
My class is
  class MaxSpinnerModel extends AbstractSpinnerModel {
    Double value;
    public Object getNextValue() {
      // deltaSP is a JSpinner from wich I want to get the value (see rules below)
      value = new Double(value.doubleValue() + ((Double)deltaSP.getValue()).doubleValue());
      return value;
    public Object getPreviousValue() {
      // deltaSP is a JSpinner from wich I want to get the value (see rules below)
      value = new Double(value.doubleValue() - ((Double)deltaSP.getValue()).doubleValue());
      return value;
    public Object getValue() {
      if (value == null) {
        value = new Double(MAX_INI);
      return value;
    public void setValue(Object value) {
      if ((value == null) || !(value instanceof Double)) {
        throw new IllegalArgumentException("illegal value");
      if (!value.equals(this.value)) {
        this.value = (Double)value;
        fireStateChanged();
  }I have two problems:
-1 the editor is not editable ( when trying to put an Editor like a JFormattedTextField,
values are not visible)
-2 the most important so far, pressing the up or down button of the JSpinner do not
change the value on the screen while the method getNext or PreviousValue are
called.
What should I do to fix these two bugs?
I need to implement my spinner model because I would like to
bind dynamically the increment and decrement of the different spinner.
I must have the following rules for next and previous values:
-1 min
increment/decrement of min is delta and incrmenting min, should mofiy
middle (middle = min+max/2), and delta (delta = max -min), mas does not
change
-2 max same as min
-3 delta quit complicated let's say, increment/decrement is *2.0 and *0.5,
middle does not change, min and max change with the rules
min = middle - delta/2, max = middle + delta/2
-4 middle increment/decrement is delta, min and max are simply shited of delta

Hello,
I managed to solve the second question on my own.
I created another InfoSource and another Update rule to the InfoObject with flexible updating. It doesn’t erase the old data anymore.
Although I still have problems with the time characteristics.
Thank you,
Best regards

Similar Messages

  • Problem when I extend an oracle rac 10g on new node

    Hi everyone
    I need to extend an oracle RAC but i have problems when I add a new node. My actual enviroment is:
    1) Oracle Grid Infraestructure 11gR2 - 11.2.0.3 (Upgraded from Clusterware 10gR2 + ASM 10gR2)
    2) Oracle Rac Database - 10.2.0.5
    (all on one only node)
    The first problem was when I executed the script "root.sh" on the new node because this script called the old Clusterware home (/oracle/product/10.2.0/crshome). I edited the file and I changed this path for /oracle/gridbase/product/11.2.0/gridhome (current home for GI). Finally, I execute the script.
    Now, I tried to extend the rac through of DBCA, but when, I choose the new node and I clic on "next" button then appears the following error:
    "The nodes "[rstatbdbpm02]" are not part of the cluster. Make sure clusterware is active on these nodes before proceeding"
    However, when I execute the "crsctl" command to view the status of cluster the result is correct:
    [oracle@rstatbdbpm01] /home/oracle > crsctl status res -t
    NAME TARGET STATE SERVER STATE_DETAILS
    Local Resources
    ora.DATA.dg
    ONLINE ONLINE rstatbdbpm01
    ONLINE ONLINE rstatbdbpm02
    ora.LISTENER.lsnr
    ONLINE ONLINE rstatbdbpm01
    ONLINE ONLINE rstatbdbpm02
    ora.asm
    ONLINE ONLINE rstatbdbpm01 Started
    ONLINE ONLINE rstatbdbpm02 Started
    ora.gsd
    OFFLINE OFFLINE rstatbdbpm01
    OFFLINE OFFLINE rstatbdbpm02
    ora.net1.network
    ONLINE ONLINE rstatbdbpm01
    ONLINE ONLINE rstatbdbpm02
    ora.ons
    ONLINE ONLINE rstatbdbpm01
    ONLINE ONLINE rstatbdbpm02
    ora.registry.acfs
    ONLINE ONLINE rstatbdbpm01
    ONLINE ONLINE rstatbdbpm02
    Cluster Resources
    ora.BDBPM.BDBPM1.inst
    1 ONLINE ONLINE rstatbdbpm01
    ora.BDBPM.BPMVEH.BDBPM1.srv
    1 ONLINE ONLINE rstatbdbpm01
    ora.BDBPM.BPMVEH.cs
    1 ONLINE ONLINE rstatbdbpm01
    ora.BDBPM.db
    1 ONLINE ONLINE rstatbdbpm01
    ora.LISTENER_SCAN1.lsnr
    1 ONLINE ONLINE rstatbdbpm02
    ora.LISTENER_SCAN2.lsnr
    1 ONLINE ONLINE rstatbdbpm02
    ora.LISTENER_SCAN3.lsnr
    1 ONLINE ONLINE rstatbdbpm01
    ora.cvu
    1 ONLINE ONLINE rstatbdbpm01
    ora.oc4j
    1 ONLINE ONLINE rstatbdbpm01
    ora.rstatbdbpm01.vip
    1 ONLINE ONLINE rstatbdbpm01
    ora.rstatbdbpm02.vip
    1 ONLINE ONLINE rstatbdbpm02
    ora.scan1.vip
    1 ONLINE ONLINE rstatbdbpm02
    ora.scan2.vip
    1 ONLINE ONLINE rstatbdbpm02
    ora.scan3.vip
    1 ONLINE ONLINE rstatbdbpm01
    [oracle@rstatbdbpm01] /home/oracle >
    Please, Any idea with that problem?
    Thanks,
    Luis

    Hi,
    Please check dbca trace logs for further checks, it will give an idea what command is being run to check status of cluster.
    Generally first checks should be on inventory for rdbms home, grid home and making sure no ORACLE related parameter is set in environment.
    Regards,
    Sharma

  • Workbench problem when interface extends interface

    Hi,
    I have a problem when importing an existing class into Toplink Workbench. This class has a getter/setter on a property, say getAccountType() where AccountType is an interface. This property is not persistent, only a string representation of its value stored in a private field. So as far as Toplink is concerned, the interface AccountType is not persistent.
    When I try to import, I get an ExternalClassNotFoundException. We found that the interface AccountType extends another interface and this seems to be the problem. If we remove the inheritance, the import goes fine.
    I don't know if this is related, but AccountType is in my project and the super-interface is in a dependency jar file (this jar file is specified in workbench's CLASSPATH).
    workbench = 9.0.4.2
    jdk = 1.4.2_07
    Thanks for your help
    Jean-Christian Gagne

    Unfortunately in 9.0.4, the error message you are receiving is not very helpful or accurate. My guess is that something the super-interface is referencing is not on your classpath and that is why you are getting the exception. In 10.1.3 this will not be a problem because we have changed how we load classes. Your super-interface would not actually be loaded in to the workbench.
    Karen

  • JTable sorting - problem when adding elements (complete code inside)

    I�m writing this email with reference to a recent posting here but this time with the code example. (I apologize for the duplicated posting � this time it will be with the code)
    Problem: when adding more elements to the JTable (sorted) the exception: ArrayIndexOutOfBoundsException is thrown.
    Example: If the elements in the table are 10 and then the user requests for 8 � the table will produce the correct result. However, if the user will ask for 11 items (>10) the exception will be thrown.
    The program: The program below (compiles and running). A JTable is constructed with 3 items, when you click the button - the return result should be 4 items - this will generate the error, WHY?
    I would highly appreciate your thoughts why this is happening and most importantly � how to fix it.
    Thanks a lot
    3 files:
    (1) TableSorterDemo
    (2) Traveler
    (3)TableSorter
    //TableSorterDemo:
    package sorter;
    import javax.swing.DefaultListModel;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.AbstractTableModel;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    * TableSorterDemo is like TableDemo, except that it
    * inserts a custom model -- a sorter -- between the table
    * and its data model.  It also has column tool tips.
    public class TableSorterDemo implements ActionListener
         private JPanel superPanel;
         private JButton clickMe = new JButton("click me to get diff data");
         private boolean DEBUG = false;
         private DefaultListModel defaultListModel;
         private JTable table;
        public TableSorterDemo()
             superPanel = new JPanel(new BorderLayout());
             defaultListModel = new DefaultListModel();
             init1();
            TableSorter sorter = new TableSorter(new MyTableModel(defaultListModel)); //ADDED THIS     
            table = new JTable(sorter);             //NEW
            sorter.setTableHeader(table.getTableHeader()); //ADDED THIS
            table.setPreferredScrollableViewportSize(new Dimension(500, 70));
            //Set up tool tips for column headers.
            table.getTableHeader().setToolTipText(
                    "Click to specify sorting; Control-Click to specify secondary sorting");
            //Create the scroll pane and add the table to it.
            JScrollPane scrollPane = new JScrollPane(table);
            //Add the scroll pane to this panel.
            superPanel.add("Center", scrollPane);
            superPanel.add("South",clickMe);
            clickMe.addActionListener(this);              
        public JPanel getPanel()
             return superPanel;
        public void init1()
             //in real life this will be done from the db
             Traveler a = new Traveler();
             Traveler b = new Traveler();
             Traveler c = new Traveler();
             a.setFirstName("Elvis");
             a.setLastName("Presley");
             a.setSprot("Ping Pong");
             a.setNumYears(3);
             a.setVegetarian(true);
             b.setFirstName("Elton");
             b.setLastName("John");
             b.setSprot("Soccer");
             b.setNumYears(2);
             b.setVegetarian(true);
             c.setFirstName("shaquille");
             c.setLastName("oneil");
             c.setSprot("Golf");
             c.setNumYears(22);
             c.setVegetarian(true);
             defaultListModel.addElement(a);
             defaultListModel.addElement(b);
             defaultListModel.addElement(c);
        public void init2()
             //in real life this will be done from the db
             Traveler d = new Traveler();
             Traveler e = new Traveler();
             Traveler f = new Traveler();
             Traveler g = new Traveler();
             d.setFirstName("John");
             d.setLastName("Smith");
             d.setSprot("Tennis");
             d.setNumYears(32);
             d.setVegetarian(true);
             e.setFirstName("Ron");
             e.setLastName("Cohen");
             e.setSprot("Baseball");
             e.setNumYears(12);
             e.setVegetarian(true);
             f.setFirstName("Donald");
             f.setLastName("Mac Novice");
             f.setSprot("Vallyball");
             f.setNumYears(1);
             f.setVegetarian(true);
             g.setFirstName("Eithan");
             g.setLastName("Superstar");
             g.setSprot("Vallyball");
             g.setNumYears(21);
             g.setVegetarian(true);
             defaultListModel.addElement(d);
             defaultListModel.addElement(e);
             defaultListModel.addElement(f);
             defaultListModel.addElement(g);            
        class MyTableModel extends AbstractTableModel
             private DefaultListModel myModel;
             public MyTableModel(DefaultListModel m)
                  myModel=m;
            private String[] columnNames = {"First Name",
                                            "Last Name",
                                            "Sport",
                                            "# of Years",
                                            "Vegetarian"};
            public int getColumnCount()
                return columnNames.length;
            public int getRowCount()
                return myModel.size();
            public String getColumnName(int column)
                 return getNames()[column];             
             public String[] getNames()
                  String[] names = {"First Name", "Last Name", "Sport", "# of Years", "Vegetarian"};
                  return names;
            public Object getValueAt(int row, int col)
                 return distributeObjectsInTable(row, col, (Traveler) myModel.elementAt(row));
            public Object distributeObjectsInTable(int row, int col, Traveler tr)
               switch(col)
                         case 0:
                              return tr.getFirstName();
                         case 1:
                           return tr.getLastName();
                      case 2:
                           return tr.getSprot();
                      case 3:
                           return new Integer(tr.getNumYears());
                      case 4:
                           return new Boolean (tr.isVegetarian());
                     default:
                         return "Error";
            public Class getColumnClass(int c)
                return getValueAt(0, c).getClass();
        private static void createAndShowGUI()
            //Make sure we have nice window decorations.
            JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
            JFrame frame = new JFrame("TableSorterDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            TableSorterDemo newContentPane = new TableSorterDemo();
            newContentPane.getPanel().setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane.getPanel());
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args)
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable()                   
                public void run()
                    createAndShowGUI();
         public void actionPerformed(ActionEvent ae)
              if (ae.getSource()==clickMe)
                   defaultListModel.removeAllElements();
                   init2(); //if the size of the model was less than 2 items - the result will be ok.
                              //in other words, if you commens the last 2 rows of this method (addElement(f) & g)
                             // the result will be fine.
                   table.updateUI();          
    }//(2) Traveler
    package sorter;
    public class Traveler
         private String firstName;
         private String lastName;
         private String sprot;
         private int numYears;
         private boolean vegetarian;
         public String getFirstName()
              return firstName;
         public String getLastName()
              return lastName;
         public int getNumYears()
              return numYears;
         public String getSprot()
              return sprot;
         public boolean isVegetarian()
              return vegetarian;
         public void setFirstName(String firstName)
              this.firstName = firstName;
         public void setLastName(String lastName)
              this.lastName = lastName;
         public void setNumYears(int numYears)
              this.numYears = numYears;
         public void setSprot(String sprot)
              this.sprot = sprot;
         public void setVegetarian(boolean vegetarian)
              this.vegetarian = vegetarian;
    }//(3)TableSorter
    package sorter;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.util.List;
    import javax.swing.*;
    import javax.swing.event.TableModelEvent;
    import javax.swing.event.TableModelListener;
    import javax.swing.table.*;
    public class TableSorter extends AbstractTableModel {
        protected TableModel tableModel;
        public static final int DESCENDING = -1;
        public static final int NOT_SORTED = 0;
        public static final int ASCENDING = 1;
        private static Directive EMPTY_DIRECTIVE = new Directive(-1, NOT_SORTED);
        public static final Comparator COMPARABLE_COMAPRATOR = new Comparator() {
            public int compare(Object o1, Object o2) {
                return ((Comparable) o1).compareTo(o2);
        public static final Comparator LEXICAL_COMPARATOR = new Comparator() {
            public int compare(Object o1, Object o2) {
                return o1.toString().compareTo(o2.toString());
        private Row[] viewToModel;
        private int[] modelToView;
        private JTableHeader tableHeader;
        private MouseListener mouseListener;
        private TableModelListener tableModelListener;
        private Map columnComparators = new HashMap();
        private List sortingColumns = new ArrayList();
        public TableSorter() {
            this.mouseListener = new MouseHandler();
            this.tableModelListener = new TableModelHandler();
        public TableSorter(TableModel tableModel) {
            this();
            setTableModel(tableModel);
        public TableSorter(TableModel tableModel, JTableHeader tableHeader) {
            this();
            setTableHeader(tableHeader);
            setTableModel(tableModel);
        private void clearSortingState() {
            viewToModel = null;
            modelToView = null;
        public TableModel getTableModel() {
            return tableModel;
        public void setTableModel(TableModel tableModel) {
            if (this.tableModel != null) {
                this.tableModel.removeTableModelListener(tableModelListener);
            this.tableModel = tableModel;
            if (this.tableModel != null) {
                this.tableModel.addTableModelListener(tableModelListener);
            clearSortingState();
            fireTableStructureChanged();
        public JTableHeader getTableHeader() {
            return tableHeader;
        public void setTableHeader(JTableHeader tableHeader) {
            if (this.tableHeader != null) {
                this.tableHeader.removeMouseListener(mouseListener);
                TableCellRenderer defaultRenderer = this.tableHeader.getDefaultRenderer();
                if (defaultRenderer instanceof SortableHeaderRenderer) {
                    this.tableHeader.setDefaultRenderer(((SortableHeaderRenderer) defaultRenderer).tableCellRenderer);
            this.tableHeader = tableHeader;
            if (this.tableHeader != null) {
                this.tableHeader.addMouseListener(mouseListener);
                this.tableHeader.setDefaultRenderer(
                        new SortableHeaderRenderer(this.tableHeader.getDefaultRenderer()));
        public boolean isSorting() {
            return sortingColumns.size() != 0;
        private Directive getDirective(int column) {
            for (int i = 0; i < sortingColumns.size(); i++) {
                Directive directive = (Directive)sortingColumns.get(i);
                if (directive.column == column) {
                    return directive;
            return EMPTY_DIRECTIVE;
        public int getSortingStatus(int column) {
            return getDirective(column).direction;
        private void sortingStatusChanged() {
            clearSortingState();
            fireTableDataChanged();
            if (tableHeader != null) {
                tableHeader.repaint();
        public void setSortingStatus(int column, int status) {
            Directive directive = getDirective(column);
            if (directive != EMPTY_DIRECTIVE) {
                sortingColumns.remove(directive);
            if (status != NOT_SORTED) {
                sortingColumns.add(new Directive(column, status));
            sortingStatusChanged();
        protected Icon getHeaderRendererIcon(int column, int size) {
            Directive directive = getDirective(column);
            if (directive == EMPTY_DIRECTIVE) {
                return null;
            return new Arrow(directive.direction == DESCENDING, size, sortingColumns.indexOf(directive));
        private void cancelSorting() {
            sortingColumns.clear();
            sortingStatusChanged();
        public void setColumnComparator(Class type, Comparator comparator) {
            if (comparator == null) {
                columnComparators.remove(type);
            } else {
                columnComparators.put(type, comparator);
        protected Comparator getComparator(int column) {
            Class columnType = tableModel.getColumnClass(column);
            Comparator comparator = (Comparator) columnComparators.get(columnType);
            if (comparator != null) {
                return comparator;
            if (Comparable.class.isAssignableFrom(columnType)) {
                return COMPARABLE_COMAPRATOR;
            return LEXICAL_COMPARATOR;
        private Row[] getViewToModel() {
            if (viewToModel == null) {
                int tableModelRowCount = tableModel.getRowCount();
                viewToModel = new Row[tableModelRowCount];
                for (int row = 0; row < tableModelRowCount; row++) {
                    viewToModel[row] = new Row(row);
                if (isSorting()) {
                    Arrays.sort(viewToModel);
            return viewToModel;
        public int modelIndex(int viewIndex)
            return getViewToModel()[viewIndex].modelIndex;
        private int[] getModelToView()
            if (modelToView == null) {
                int n = getViewToModel().length;
                modelToView = new int[n];
                for (int i = 0; i < n; i++) {
                    modelToView[modelIndex(i)] = i;
            return modelToView;
        // TableModel interface methods
        public int getRowCount() {
            return (tableModel == null) ? 0 : tableModel.getRowCount();
        public int getColumnCount() {
            return (tableModel == null) ? 0 : tableModel.getColumnCount();
        public String getColumnName(int column) {
            return tableModel.getColumnName(column);
        public Class getColumnClass(int column) {
            return tableModel.getColumnClass(column);
        public boolean isCellEditable(int row, int column) {
            return tableModel.isCellEditable(modelIndex(row), column);
        public Object getValueAt(int row, int column) {
            return tableModel.getValueAt(modelIndex(row), column);
        public void setValueAt(Object aValue, int row, int column) {
            tableModel.setValueAt(aValue, modelIndex(row), column);
        // Helper classes
        private class Row implements Comparable {
            private int modelIndex;
            public Row(int index) {
                this.modelIndex = index;
            public int compareTo(Object o) {
                int row1 = modelIndex;
                int row2 = ((Row) o).modelIndex;
                for (Iterator it = sortingColumns.iterator(); it.hasNext();) {
                    Directive directive = (Directive) it.next();
                    int column = directive.column;
                    Object o1 = tableModel.getValueAt(row1, column);
                    Object o2 = tableModel.getValueAt(row2, column);
                    int comparison = 0;
                    // Define null less than everything, except null.
                    if (o1 == null && o2 == null) {
                        comparison = 0;
                    } else if (o1 == null) {
                        comparison = -1;
                    } else if (o2 == null) {
                        comparison = 1;
                    } else {
                        comparison = getComparator(column).compare(o1, o2);
                    if (comparison != 0) {
                        return directive.direction == DESCENDING ? -comparison : comparison;
                return 0;
        private class TableModelHandler implements TableModelListener {
            public void tableChanged(TableModelEvent e) {
                // If we're not sorting by anything, just pass the event along.            
                if (!isSorting()) {
                    clearSortingState();
                    fireTableChanged(e);
                    return;
                // If the table structure has changed, cancel the sorting; the            
                // sorting columns may have been either moved or deleted from            
                // the model.
                if (e.getFirstRow() == TableModelEvent.HEADER_ROW) {
                    cancelSorting();
                    fireTableChanged(e);
                    return;
                // We can map a cell event through to the view without widening            
                // when the following conditions apply:
                // a) all the changes are on one row (e.getFirstRow() == e.getLastRow()) and,
                // b) all the changes are in one column (column != TableModelEvent.ALL_COLUMNS) and,
                // c) we are not sorting on that column (getSortingStatus(column) == NOT_SORTED) and,
                // d) a reverse lookup will not trigger a sort (modelToView != null)
                // Note: INSERT and DELETE events fail this test as they have column == ALL_COLUMNS.
                // The last check, for (modelToView != null) is to see if modelToView
                // is already allocated. If we don't do this check; sorting can become
                // a performance bottleneck for applications where cells 
                // change rapidly in different parts of the table. If cells
                // change alternately in the sorting column and then outside of            
                // it this class can end up re-sorting on alternate cell updates -
                // which can be a performance problem for large tables. The last
                // clause avoids this problem.
                int column = e.getColumn();
                if (e.getFirstRow() == e.getLastRow()
                        && column != TableModelEvent.ALL_COLUMNS
                        && getSortingStatus(column) == NOT_SORTED
                        && modelToView != null) {
                    int viewIndex = getModelToView()[e.getFirstRow()];
                    fireTableChanged(new TableModelEvent(TableSorter.this,
                                                         viewIndex, viewIndex,
                                                         column, e.getType()));
                    return;
                // Something has happened to the data that may have invalidated the row order.
                clearSortingState();
                fireTableDataChanged();
                return;
        private class MouseHandler extends MouseAdapter {
            public void mouseClicked(MouseEvent e) {
                JTableHeader h = (JTableHeader) e.getSource();
                TableColumnModel columnModel = h.getColumnModel();
                int viewColumn = columnModel.getColumnIndexAtX(e.getX());
                int column = columnModel.getColumn(viewColumn).getModelIndex();
                if (column != -1) {
                    int status = getSortingStatus(column);
                    if (!e.isControlDown()) {
                        cancelSorting();
                    // Cycle the sorting states through {NOT_SORTED, ASCENDING, DESCENDING} or
                    // {NOT_SORTED, DESCENDING, ASCENDING} depending on whether shift is pressed.
                    status = status + (e.isShiftDown() ? -1 : 1);
                    status = (status + 4) % 3 - 1; // signed mod, returning {-1, 0, 1}
                    setSortingStatus(column, status);
        private static class Arrow implements Icon {
            private boolean descending;
            private int size;
            private int priority;
            public Arrow(boolean descending, int size, int priority) {
                this.descending = descending;
                this.size = size;
                this.priority = priority;
            public void paintIcon(Component c, Graphics g, int x, int y) {
                Color color = c == null ? Color.GRAY : c.getBackground();            
                // In a compound sort, make each succesive triangle 20%
                // smaller than the previous one.
                int dx = (int)(size/2*Math.pow(0.8, priority));
                int dy = descending ? dx : -dx;
                // Align icon (roughly) with font baseline.
                y = y + 5*size/6 + (descending ? -dy : 0);
                int shift = descending ? 1 : -1;
                g.translate(x, y);
                // Right diagonal.
                g.setColor(color.darker());
                g.drawLine(dx / 2, dy, 0, 0);
                g.drawLine(dx / 2, dy + shift, 0, shift);
                // Left diagonal.
                g.setColor(color.brighter());
                g.drawLine(dx / 2, dy, dx, 0);
                g.drawLine(dx / 2, dy + shift, dx, shift);
                // Horizontal line.
                if (descending) {
                    g.setColor(color.darker().darker());
                } else {
                    g.setColor(color.brighter().brighter());
                g.drawLine(dx, 0, 0, 0);
                g.setColor(color);
                g.translate(-x, -y);
            public int getIconWidth() {
                return size;
            public int getIconHeight() {
                return size;
        private class SortableHeaderRenderer implements TableCellRenderer {
            private TableCellRenderer tableCellRenderer;
            public SortableHeaderRenderer(TableCellRenderer tableCellRenderer) {
                this.tableCellRenderer = tableCellRenderer;
            public Component getTableCellRendererComponent(JTable table,
                                                           Object value,
                                                           boolean isSelected,
                                                           boolean hasFocus,
                                                           int row,
                                                           int column) {
                Component c = tableCellRenderer.getTableCellRendererComponent(table,
                        value, isSelected, hasFocus, row, column);
                if (c instanceof JLabel) {
                    JLabel l = (JLabel) c;
                    l.setHorizontalTextPosition(JLabel.LEFT);
                    int modelColumn = table.convertColumnIndexToModel(column);
                    l.setIcon(getHeaderRendererIcon(modelColumn, l.getFont().getSize()));
                return c;
        private static class Directive {
            private int column;
            private int direction;
            public Directive(int column, int direction) {
                this.column = column;
                this.direction = direction;
    }

    The table listens to the TableModel for changes. Changing the table by adding/removing
    rows or columns has no affect on its table model. If you make changes to the table model
    the table will be notified by its TableModelListener and change its view. So tell
    MyTableModel about the change of data:
    public class TableSorterDemo implements ActionListener
        MyTableModel tableModel;
        public TableSorterDemo()
            defaultListModel = new DefaultListModel();
            init1();
            tableModel = new MyTableModel(defaultListModel);
            TableSorter sorter = new TableSorter(tableModel);
        public void actionPerformed(ActionEvent ae)
            if (ae.getSource()==clickMe)
                defaultListModel.removeAllElements();
                init2();
                tableModel.fireTableStructureChanged();
    }

  • Registry problems when installing Flash Player

    Hi, first of all, sorry for any misspelling, I'm Argentinian . I'm writing here because I've tried a LOT of ways and solutions to install Flash Player for IE, here some facts:
    I mostly use Google Chrome, that has the FP already installed, but i have a problem with the ActiveX control, I can install Flash player 11 for windows but Not ActiveX... i read that that's a tool for IE, so i thought i wouldn't be needing it, but when i tried to execute a program (Game Ranger) it said that i needed ActiveX control and that i didn't have it in my computer.. So i started to check for solutions, etc etc. and finally give it up because i just couldn't do it, but well now I started again because I want to know if it's something important to have..
    The problem when installing is this: It starts to download Flash Player.. then install it and when it's in 51% it stops and a message appears saying: registry error. this is what happens when I try to install ActiveX, not Flash Player itself because as I said earlier I can install it...
    All I want to know is if there's some way to allow Flash Player installation to change registry values.. because i think that's the main problem.. i think. Thank you for reading.
    Edit: Forgot to tell information about my system.
    OS: Windows 7 32-bits

    Tried it. Same error, which is the last one in this page: http://kb2.adobe.com/es/cps/191/tn_19166.html#main_CommonErrors
    As Pat said, here's the list all files there are in C:\Windows\system32\Macromed\Flash (after following Carl's instructions)
    Flash32_11_2_202_228.ocx
    FlashInstall.log
    FlashPlayerUpdateService.exe
    FlashUtil32_11_2_202_228_ActiveX.dll
    FlashUtil32_11_2_202_228_ActiveX.exe
    And here are the contents in the FlashInstall.log
    =O====== M/11.1.102.62 2012-04-10+00-36-47.662 ========
    0000 [I] 00000010 "C:\Users\User\Downloads\install_flash_player_ax_32bit (2).exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0004 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0005 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash11f.ocx
    0006 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil11f_ActiveX.exe
    0007 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil11f_ActiveX.dll
    0008 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0009 [W] 00001032 C:\Windows\system32\Macromed\Flash\Flash11f.ocx 80070005
    0010 [I] 00000018
    0011 [E] 00001032 C:\Windows\system32\Macromed\Flash\Flash11f.ocx 80070005
    =X====== M/11.1.102.62 2012-04-10+00-36-59.750 ========
    =O====== M/11.1.102.62 2012-04-10+00-37-02.198 ========
    0000 [I] 00000010 "C:\Users\User\Downloads\install_flash_player_ax_32bit (2).exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0004 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0005 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash11f.ocx
    0006 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil11f_ActiveX.exe
    0007 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil11f_ActiveX.dll
    0008 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0009 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    0010 [W] 00001032 C:\Windows\system32\Macromed\Flash\Flash11f.ocx 80070005
    0011 [I] 00000018
    0012 [E] 00001032 C:\Windows\system32\Macromed\Flash\Flash11f.ocx 80070005
    =X====== M/11.1.102.62 2012-04-10+00-37-07.486 ========
    =O====== M/11.0.1.152 2012-04-10+00-37-09.663 ========
    0000 [I] 00000010 "C:\Users\User\Downloads\InstallFlashPlayer[11.0.1.152].exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0004 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0005 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0006 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0007 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0008 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0009 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0010 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0011 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0012 [W] 00001036 Software\Opera Software/Plugin Path 2
    0013 [W] 00001036 Software\Opera Software/Plugin Path 2
    0014 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0015 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil11c_Plugin.exe
    0016 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0017 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0018 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    =X====== M/11.0.1.152 2012-04-10+00-37-16.433 ========
    =O====== M/11.1.102.62 2012-04-10+00-37-20.222 ========
    0000 [I] 00000010 "C:\Users\User\Downloads\uninstall_flash_player_32bit (2).exe" -force 
    0001 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [W] 00001018
    0004 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0005 [W] 00001019
    0006 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0007 [W] 00001037 Software\Macromedia\FlashPlayerActiveX/ 2
    0008 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0009 [W] 00001037 Software\Microsoft\Code Store Database\Distribution Units\{D27CDB6E-AE6D-11CF-96B8-444553540000}/ 2
    0010 [W] 00001021
    0011 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0012 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0013 [W] 00001037 Software\Macromedia\FlashPlayerPlugin/ 2
    0014 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0015 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0016 [W] 00001021
    0017 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0018 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0019 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0020 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0021 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0022 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0023 [W] 00001036 Software\Opera Software/Plugin Path 2
    0024 [W] 00001036 Software\Opera Software/Plugin Path 2
    =X====== M/11.1.102.62 2012-04-10+00-37-23.884 ========
    =O====== M/11.1.102.62 2012-04-10+00-37-24.761 ========
    0000 [I] 00000010 "C:\Users\User\Downloads\install_flash_player_ax_32bit (2).exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/11.0 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/11.0 2
    0004 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0005 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0006 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0007 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash11f.ocx
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil11f_ActiveX.exe
    0009 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil11f_ActiveX.dll
    0010 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0011 [W] 00001032 C:\Windows\system32\Macromed\Flash\Flash11f.ocx 80070005
    0012 [I] 00000018
    0013 [E] 00001032 C:\Windows\system32\Macromed\Flash\Flash11f.ocx 80070005
    =X====== M/11.1.102.62 2012-04-10+00-37-30.354 ========
    =O====== M/11.1.102.62 2012-04-10+00-45-07.183 ========
    0000 [I] 00000010 "C:\Users\User\Downloads\install_flash_player_ax_32bit (2).exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0004 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0005 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash11f.ocx
    0006 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil11f_ActiveX.exe
    0007 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil11f_ActiveX.dll
    0008 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0009 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    0010 [W] 00001032 C:\Windows\system32\Macromed\Flash\Flash11f.ocx 80070005
    0011 [I] 00000018
    0012 [E] 00001032 C:\Windows\system32\Macromed\Flash\Flash11f.ocx 80070005
    =X====== M/11.1.102.62 2012-04-10+00-45-13.035 ========
    =O====== M/11.0.1.152 2012-04-10+00-45-15.075 ========
    0000 [I] 00000010 "C:\Users\User\Downloads\InstallFlashPlayer[11.0.1.152].exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/Version 2
    0004 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0005 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0006 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
    0007 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
    0008 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0009 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0010 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0011 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0012 [W] 00001036 Software\Opera Software/Plugin Path 2
    0013 [W] 00001036 Software\Opera Software/Plugin Path 2
    0014 [I] 00000014 C:\Windows\system32\Macromed\Flash\NPSWF32.dll
    0015 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil11c_Plugin.exe
    0016 [I] 00000017 C:\Windows\system32\Macromed\Flash
    0017 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0018 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    =X====== M/11.0.1.152 2012-04-10+00-45-19.263 ========
    =O====== M/11.2.202.228 2012-04-10+00-59-30.619 ========
    0000 [I] 00000010 "C:\Windows\system32\Macromed\Flash\FlashUtil32_11_2_202_228_ActiveX.exe" -refreshIEElevationPolicies
    =X====== M/11.2.202.228 2012-04-10+00-59-30.937 ========
    =O====== M/11.2.202.228 2012-04-10+00-59-19.313 ========
    0000 [I] 00000010 "C:\Users\User\AppData\Local\Temp\install_flash_player_ax_32bit.exe" -iv 8 -install -au 0
    0001 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0004 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0005 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash32_11_2_202_228.ocx
    0006 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil32_11_2_202_228_ActiveX.exe
    0007 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil32_11_2_202_228_ActiveX.dll
    0008 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0009 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    0010 [I] 00000021 C:\Windows\system32\Macromed\Flash\FlashPlayerUpdateService.exe
    0011 [W] 00001102
    0012 [W] 00001106
    0013 [W] 00001032 C:\Windows\system32\Macromed\Flash\Flash32_11_2_202_228.ocx 80070005
    0014 [I] 00000018
    0015 [E] 00001032 C:\Windows\system32\Macromed\Flash\Flash32_11_2_202_228.ocx 80070005
    =X====== M/11.2.202.228 2012-04-10+00-59-31.574 ========
    =O====== M/11.0.1.152 2012-04-10+01-04-33.190 ========
    0000 [I] 00000010 "C:\Windows\System32\Macromed\Flash\FlashUtil11c_Plugin.exe"
    =X====== M/11.0.1.152 2012-04-10+01-04-36.613 ========
    =O====== M/11.2.202.228 2012-04-10+01-15-19.500 ========
    0000 [I] 00000010 "C:\Windows\system32\Macromed\Flash\FlashUtil32_11_2_202_228_ActiveX.exe" -refreshIEElevationPolicies
    =X====== M/11.2.202.228 2012-04-10+01-15-19.651 ========
    =O====== M/11.2.202.228 2012-04-10+01-15-20.228 ========
    0000 [I] 00000010 "C:\Windows\system32\Macromed\Flash\FlashUtil32_11_2_202_228_ActiveX.exe" -refreshIEElevationPolicies
    =X====== M/11.2.202.228 2012-04-10+01-15-20.322 ========
    =O====== M/11.2.202.228 2012-04-10+01-15-10.656 ========
    0000 [I] 00000010 "C:\Users\User\AppData\Local\Temp\install_flash_player_ax_32bit.exe" -iv 8 -install -au 0
    0001 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0004 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0005 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash32_11_2_202_228.ocx
    0006 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil32_11_2_202_228_ActiveX.exe
    0007 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil32_11_2_202_228_ActiveX.dll
    0008 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0009 [W] 00001024 C:\Windows\system32\FlashPlayerCPLApp.cpl 183
    0010 [W] 00001024 C:\Windows\system32\FlashPlayerApp.exe 183
    0011 [I] 00000021 C:\Windows\system32\Macromed\Flash\FlashPlayerUpdateService.exe
    0012 [W] 00001106
    0013 [W] 00001106
    0014 [W] 00001024 C:\Windows\system32\Macromed\Flash\FlashPlayerUpdateService.exe 183
    0015 [W] 00001032 C:\Windows\system32\Macromed\Flash\Flash32_11_2_202_228.ocx 80070005
    0016 [I] 00000018
    0017 [E] 00001032 C:\Windows\system32\Macromed\Flash\Flash32_11_2_202_228.ocx 80070005
    =X====== M/11.2.202.228 2012-04-10+01-15-20.875 ========
    =O====== M/11.2.202.228 2012-04-12+00-14-07.450 ========
    0000 [I] 00000010 "C:\Users\User\Downloads\uninstall_flash_player_32bit (4).exe" -force 
    0001 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [W] 00001018
    0004 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0005 [W] 00001019
    0006 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0007 [W] 00001037 Software\Macromedia\FlashPlayerActiveX/ 2
    0008 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0009 [W] 00001037 Software\Microsoft\Code Store Database\Distribution Units\{D27CDB6E-AE6D-11CF-96B8-444553540000}/ 2
    0010 [W] 00001021
    0011 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0012 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0013 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0014 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/isScriptDebugger 2
    0015 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
    0016 [W] 00001037 Software\Macromedia\FlashPlayerPlugin/ 2
    0017 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
    0018 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
    0019 [W] 00001021
    0020 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0021 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0022 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0023 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0024 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category/C:\Windows\system32\FlashPlayerCPLApp.cpl 2
    0025 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0026 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
    0027 [W] 00001106
    0028 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
    0029 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
    0030 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0031 [W] 00001036 Software\Opera Software/Last CommandLine 2
    0032 [W] 00001036 Software\Opera Software/Plugin Path 2
    0033 [W] 00001036 Software\Opera Software/Plugin Path 2
    =X====== M/11.2.202.228 2012-04-12+00-14-13.543 ========
    =O====== M/11.2.202.228 2012-04-12+00-20-50.182 ========
    0000 [I] 00000010 "C:\Users\User\Downloads\install_flash_player_ax_32bit (1).exe"
    0001 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/11.0 2
    0002 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0003 [W] 00001036 Software\Macromedia\FlashPlayer\SafeVersions/11.0 2
    0004 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
    0005 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0006 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
    0007 [I] 00000013 C:\Windows\system32\Macromed\Flash\Flash32_11_2_202_228.ocx
    0008 [I] 00000015 C:\Windows\system32\Macromed\Flash\FlashUtil32_11_2_202_228_ActiveX.exe
    0009 [I] 00000016 C:\Windows\system32\Macromed\Flash\FlashUtil32_11_2_202_228_ActiveX.dll
    0010 [I] 00000019 C:\Windows\system32\FlashPlayerCPLApp.cpl
    0011 [I] 00000021 C:\Windows\system32\Macromed\Flash\FlashPlayerUpdateService.exe
    0012 [W] 00001102
    0013 [W] 00001106
    0014 [W] 00001032 C:\Windows\system32\Macromed\Flash\Flash32_11_2_202_228.ocx 80070005
    0015 [I] 00000018
    0016 [E] 00001032 C:\Windows\system32\Macromed\Flash\Flash32_11_2_202_228.ocx 80070005
    =X====== M/11.2.202.228 2012-04-12+00-21-31.245 ========
    Chris: Thank you too. I will give that a try right now.

  • Problem while extending and modifying the ISA B2B app on SAP J2EE 6.4

    We are facing some problem with extending and modifying the ISA B2B 4.0 application.
    First Let me clarify you the whole scenario.
    Previously we had ISA B2B 4.0 SP03 deployed on SAP J2EE 6.20 Engine.
    We had used eclipse 3.0 to extend and modify the application as NWDS does not support SAP J2EE 6.20.
    We had used ant buildtool to build the modified application which comes along with the ISA Software Archive.
    We had successfully done all the modifications and application was running fine...
    Now we have upgraded the overall J2EE infrastructure and using J2EE 6.4 Engine which supports NWDS.
    We have successfully deployed the ISA B2B  application which comes along with the Support Package.
    We are using Support Package ISAWAC40SP11P_7-20000529.SAR E-Selling 640. The application is working fine after all
    the configuration done in XCM and SAP CRM 4.0 system.
    Now for modification and extension i have created another b2b enterprise archive with name "b2b_client.ear" using ant buildtool.
    I've done the modification and extension .. added some Z classes and JSP pages. Now when i try to deploy the application using
    SDM 6.40, I got an error message stating
    <b>"com.sap.sdm.util.sduread.IllFormattedSduFileException: The archive must be deployed with a 6.20 SDM, which has a SDM-SDA compatible version 1 or greater."</b>
    I think this error is due to the incompatible sda_build.xml used in the build process but we have used the same xml file bundled with the above mentioned ".sar" file..
    Please help or suggest someone who can help me out from this...
    Thanks & Regards.
    Sandeep Solanki

    Hi Alkis.
    First, you need to specify the fully qualified class name of your based-RequestProcessor class in the config.xml file like
    <controller  contentType="text/html;charset=UTF-8"  locale="true"  nocache="true"
      processorClass="com.mycompany.struts.framework.MyRequestProcessor"/>
    If you review the source code of the ActionServlet and RequestProcessor classes, you can see that overwritten methods (by you) are executed every time the client makes a request to the struts based application.
    I hope you can run your approach. And it will be excellent you can shared how you will do it.
    Kindest regards.

  • Problem when calling a method

    hello,
    I have a problem when Im trying to call the make method that in the Tree class.
    Im calling it from the main method like you can see and It writes:
    -Cannot make a static reference to the non-static method make() from the type Tree.
    Can anyone help me please and tell me what is the problem?
    Im using Eclipse 3.1.2
    Thank you.
    //import java.lang.Object;
    //import java.lang.reflect.Array;
    //structure of the node
    class mainClass extends Tree {
         public static void main(String args[]){
              Tree.make();
              //char temporary[]=new char[9];
              //Tic_Tac_Toe pointersToNodes[]=new Tic_Tac_Toe[9];
              //for(j=0;j<9;j++)
                   //temporary[j]='b';     
    public class Tic_Tac_Toe {
         char currentCaseVector[]=new char[9];
         Tic_Tac_Toe PointersToNodes[]=new Tic_Tac_Toe[9];
         int evaluation;
    //class that builds the game tree
    class Tree {
         public Tic_Tac_Toe T1=new Tic_Tac_Toe();
         //char currentCaseVector[]=new char[9];
         public char currentSign;
         Tree(){
             resetCurrentCaseArray(T1);
             //T1.currentCaseVector.setSize(9);
              //System.out.println(T1.currentCaseVector.elementAt(2));
         void make(){
              Tic_Tac_Toe T = new Tic_Tac_Toe();
              int howMuchCloser,i;
              Tree tree=new Tree();
              for(i=0;i<9;i++)
                   T.currentCaseVector='b';
              howMuchCloser=1;
              for(i=0;i<9;i++){
                   T.PointersToNodes[findAvailablePlaceOnPointersToNodes(T)]=tree.buildNewTree(1,'o',T.currentCaseVector,howMuchCloser);
                   howMuchCloser++;
         Tic_Tac_Toe buildNewTree(int i,char currentSign,char temp[],int howMuchCloser)throws ArrayIndexOutOfBoundsException{
              int j=0;
              //int howMuchCloser=1;
              //for(j=i;j<9;j++){
              Tic_Tac_Toe T1=new Tic_Tac_Toe();
              currentSign=changeSign(currentSign);
              resetCurrentCaseArray(T1);
              //try{
              setBoard(T1.currentCaseVector,temp,howMuchCloser,currentSign);
              //catch(ArrayIndexOutOfBoundsException e){
                   //System.out.print("ArrayIndexOutOfBoundsException");
                   //System.out.println(i);          
              printTest(T1);
              temp=T1.currentCaseVector;
              howMuchCloser=1;
              if((isFull(T1.currentCaseVector))==true)
                   return T1;
              if(checkWin(T1)){
                   return T1;
              //printTest(T1);
                   //break;
              for(j=i;j<9;j++){
                   T1.PointersToNodes[findAvailablePlaceOnPointersToNodes(T1)]=buildNewTree(i+1,currentSign,temp,howMuchCloser);                              
                   howMuchCloser++;
                        //if(checkIfBlankEqualOne(T1.currentCaseVector)==false)
                   //howMuchCloser++;
                   //T1.PointersToNodes[findAvailablePlaceOnPointersToNodes(T1)]=buildNewTree(i+1,currentSign,temp);
         return T1;
         int findCloser(char charArray[],int howMuchCloser){
              int i;
              for(i=0;i<9;i++){
                   if (charArray[i]=='b'){
                        howMuchCloser--;
                   else
                        continue;
                   if (howMuchCloser==0)
                        break;     
              return i;
         void setBoard(char current[],char previous[],int howMuchCloser,char iksOrCircle){
                   int i;
                   for(i=0;i<9;i++){
                        current[i]=previous[i];/******/
                   current[findCloser(current,howMuchCloser)]=iksOrCircle;
         char changeSign(char sign){
              if(sign=='x')
                   return 'o';
              else
                   return 'x';
         boolean isFull(char array[]){
              int i;
              for(i=0;i<9;i++){
                   if(array[i]=='b'){
                        return false;
              return true;
         void resetCurrentCaseArray(Tic_Tac_Toe T1){
              for(int i=0;i<9;i++)
                   T1.currentCaseVector[i]='b';
         boolean checkWin(Tic_Tac_Toe T1){
              int count1=0;
              int count2=0;
              //checking columns
              int i,j;
              for(i=0;i<3;i++){
                   for(j=i;j<(i+7);j+=3){
                        if(T1.currentCaseVector[j]=='x')
                             count1++;
                        if(T1.currentCaseVector[j]=='o')
                             count2++;
                   if(count1==3)
                        return true;
                   if(count2==3)
                        return true;
                   count1=0;
                   count2=0;
              //checking rows
              for(i=0;i<7;i+=3){
                   for(j=i;j<(i+3);j++){
                        if(T1.currentCaseVector[j]=='x')
                             count1++;
                        if(T1.currentCaseVector[j]=='o')
                             count2++;
                   if(count1==3)
                        return true;
                   if(count2==3)
                        return true;
                   count1=0;
                   count2=0;
              //checking diagonal
              for(i=0;i<9;i+=4){
                   if(T1.currentCaseVector[i]=='x')
                        count1++;
                   if(T1.currentCaseVector[i]=='o')
                        count2++;
              if(count1==3)
                   return true;
              if(count2==3)
                   return true;
              count1=0;
              count2=0;
              for(i=2;i<7;i+=2){
                   if(T1.currentCaseVector[i]=='x')
                        count1++;
                   if(T1.currentCaseVector[i]=='o')
                        count2++;
              if(count1==3)
                   return true;
              if(count2==3)
                   return true;
              return false;
         public int findAvailablePlaceOnPointersToNodes(Tic_Tac_Toe tic_tac_toe){
              int i;
              for(i=0;i<9;i++)
                   if(tic_tac_toe.PointersToNodes[i]==null)
                        return i;
              return -1;
         void printTest(Tic_Tac_Toe T1){
              for(int i=0;i<9;i++)
                   System.out.println(T1.currentCaseVector[i]);
         boolean checkIfBlankEqualOne(char array[]){
              for(int i=0;i<9;i++){
                   if(i<8)
                        if(array[i]=='b')
                             return false;
              if(array[8]=='b')
                   return true;
              return false;
         /*void makeFirst(char temporary[]){
              for(int i=0;i<9;i++)
                   temporary[i]='b';

    I have two things in mind:
    1. either modify the make() in class Tree as static
    static void make() {//caution u may have to worry about instance variables referenced under this method2.
    under your main static method, invoke it like this instead
    mainClass mc=new mainClass();
    mc.make();//not Tree.make();

  • Problem when renaming iPhoto Library

    I recently renamed two iPhoto Libraries. A day later I plugged in my external HDD to do a Time Machine (TM) backup and noticed that TM deleted ALL my previous backups except the last one, stating there was not enough space.
    My conclusion is that renaming these libraries caused TM to see them as NEW libraries and wanted to back them up all over again, meaning I needed 40GB of space rather than the 15GB available and let to the deletion of all my previous backups (without warning)!
    I have posted about this in the TM forum, but decided to mention it here as well to warn others of this potential problem.

    problem when copying iphoto library from ext hd to ext hd. stops after 2 gb saying there was data with same name on target hd. but that one is brandnew and freshly formatted.
    How are your external HDs formatted?  Both need to be formatted MacOS Extended (Journaled, not case sensitive) to work with iPhoto.
    If the file system differ, you may have problems with ambitious filenames, for example, if one drive is case sensitive and the other not.

  • Database connection problem when i try store the values in JTable

    Hi Sir,
    I have a database connection problem when i try to store the data's in a JTable.I think the problem is with in the database connection.I have used 3 vectors here.The database which i have used is
    Access.Where the program is compiling well.But when i run it only the first column heading is printed and error message showing that
    "Invalid Cursor State".I need to solve this problem.pls. do help me.
    I will provide u with the code.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.util.*;
    import java.sql.*;
    public class DataBaseVector extends JPanel
    //Container contentPane=getContentPane();
    JScrollBar jsb = new JScrollBar(JScrollBar.HORIZONTAL);
    JScrollBar jsb1 = new JScrollBar(JScrollBar.VERTICAL);
    Image i1;
    String url="jdbc:odbc:Ananth";
    Vector col=new Vector();
    Vector rows=new Vector();
    Vector rdata=new Vector();
    Connection conn;
    public DataBaseVector()
    //super("JTable With ScrollBars");
    this.setLayout(new BorderLayout());
    UIManager.put("ScrollBar.track",Color.red);
    UIManager.put("ScrollBar.thumb",Color.blue);
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conn=DriverManager.getConnection(url); // Is there any problem here?
    Statement st=conn.createStatement();
    ResultSet rs=st.executeQuery("Select * from AccountMaster");
    // rs is the result set obtained
    ResultSetMetaData rsmd=rs.getMetaData();
    int cols=rsmd.getColumnCount();
    for(int i=1;i<=cols;i++)
    col.addElement(rsmd.getColumnName(i));
    rdata.addElement(rs.getString(i));
    rows.addElement(rdata);
    }catch(Exception e)
         System.out.println("The Error Message was:"+e.getMessage());
    JTable jt=new JTable(rows,col);
    int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    JScrollPane jsp=new JScrollPane(jt,v,h);
    this.add(jsp,BorderLayout.CENTER);
    this.add(jsb, BorderLayout.SOUTH);
    this.add(jsb1, BorderLayout.EAST);
    public static void main(String args[])
    JFrame jf=new JFrame();
    JPanel frame=new DataBaseVector();
    jf.getContentPane().add(frame);
    jf.setSize(800,600);
    jf.setVisible(true);
    Thanx,
    m.ananthu

    The problem is ResultSet.next() is not called.
    Try this and modify the table creation as you need.
    ResultSetMetaData rsmd=rs.getMetaData();
    int cols=rsmd.getColumnCount();
         while(rs.next()) {
              for(int i=1;i<=cols;i++)
                        col.addElement(rsmd.getColumnName(i));
                        rdata.addElement(rs.getString(i));
              rows.addElement(rdata);
    Hope this helps

  • JDO object id problem when working with an appserver

    Hi,
    I'm running into a problem when passing a JDO object id as an argument to a
    bean. My client is finding a JDO object locally, then attempting to
    instantiate a bean which wraps the JDO object. Since the JDO object is not
    Serializable, I'm passing the object id to the bean constructor, so that the
    bean can look up the object again, this time in the appserver, and wrap it,
    without ever serializing the object.
    I'm guessing that the JDOId class for the JDO object is generated on the fly
    in the client, and therefore does not exist in the ClassLoader in the
    appserver. Any ideas how I can fix this?
    Thanks,
    Eric
    Exception in thread "main" java.lang.reflect.UndeclaredThrowableException:
    java.lang.ClassNotFoundException: test.TheTest$JDOId (no security manager:
    RMI class loader disabled)
    at
    sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
    all.java:245)
    at
    sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
    at
    org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
    wn Source)
    at
    org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:25
    8)
    at
    org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
    at $Proxy0.create(Unknown Source)
    at test.TheTestRemote.<init>(Unknown Source)
    at test.TheTest.getRemoteObject(TheTest.java:19)
    at
    com.hcm.tools.util.CollectionHelper.getFirst(CollectionHelper.java:23)
    at
    com.hcm.tools.jdo.JDOFactory.executeSingletonQuery(JDOFactory.java:234)
    at test.Test.print(Test.java:22)
    at test.Test.main(Test.java:11)

    Hi David,
    I'm trying to use JDO to completely replace Entity Beans. Of course, this
    leaves me with an important question: how do you make the JDO object
    available remotely? My answer is to wrap JDO objects with a stateful
    session bean, and pass through method calls made on the bean to the JDO
    object. Both the bean and the JDO object will implement some interface, so
    you can use an object in a client without any knowledge as to whether it is
    a bean or a JDO object. ( Important note: I can get away with this because
    of another cool Solarmetric product, the session bean creator, which
    enhances a simple java object into a session bean )
    Now, once I have some interface implementation, maybe a local persistent
    object, maybe a remote object, I will want to do something with it. There
    are a couple considerations here. First, if I want to edit the object, I
    need to make sure a transaction gets started. I do this by having my
    session beans take care of starting and committing transactions. Since I
    have written my own JDO Factory that takes care of synchronizing PM caches
    across transactions, this has the effect of keeping all my caches in the
    appserver up-to-date as well ( more on that if you're interested ). So, in
    order to call a 'set' method, I need to ensure that the object I have is in
    it's "remote" state, so-to-speak.
    So I created an interface called RemotePersistentObject, which all these
    other interfaces extend. It includes two methods, getRemoteObject (), and
    getObjectId (). The reason for getObjectId (), instead of
    getPersistentObject (), is that often times you don't want your JDO objects
    to be Serializable, especially if you have JDO objects that you want to
    guarantee remain unique ( say, no two Stock objects have the same ticker
    symbol ). Besides, you want the remote object to represent the same
    concept, and as soon as you serialize the persistent object, you have a copy
    of the original JDO object that will no longer do nice things you'd like it
    to do, like get updated when some transaction in a different thread modifies
    a field.
    So, to get around this serialization issue, I just pass the JDO object id to
    the bean, and have the bean lookup and wrap the appropriate JDO object on
    the server. I wrote a couple optional base classes that provide a lot of
    the functionality for this, since it turns out that wrapping a
    non-serializable JDO object is non-trivial. The problem there is that when
    the bean passivates, it serializes the state of the session bean... oops.
    So the base classes take care of keeping a transient reference to the actual
    object, while keeping a non-transient ref to the object id. All attempts to
    use the actual JDO object are filtered through a getObject () method, which,
    if the transient ref has disappeared due to bean passivation, looks up the
    object in a read-only PM again.
    Hmmmm. Lots of stuff here. I'll stop here and answer any questions (
    criticisms ) you may have.
    -Eric
    "David Ezzio" <[email protected]> wrote in message
    news:[email protected]...
    Eric,
    Curious minds want to know: what are you up to here? I found this to
    be a very interesting post, and I would like to know more about the
    architecture you are using and its motivation if you can share it.
    David Ezzio
    Eric Lindauer wrote:
    Hi,
    I'm running into a problem when passing a JDO object id as an argument
    to a
    bean. My client is finding a JDO object locally, then attempting to
    instantiate a bean which wraps the JDO object. Since the JDO object isnot
    Serializable, I'm passing the object id to the bean constructor, so thatthe
    bean can look up the object again, this time in the appserver, and wrapit,
    without ever serializing the object.
    I'm guessing that the JDOId class for the JDO object is generated on thefly
    in the client, and therefore does not exist in the ClassLoader in the
    appserver. Any ideas how I can fix this?
    Thanks,
    Eric
    Exception in thread "main"java.lang.reflect.UndeclaredThrowableException:
    java.lang.ClassNotFoundException: test.TheTest$JDOId (no securitymanager:
    RMI class loader disabled)
    at
    sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
    all.java:245)
    at
    sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
    at
    org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
    wn Source)
    at
    org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:25
    8)
    at
    org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
    at $Proxy0.create(Unknown Source)
    at test.TheTestRemote.<init>(Unknown Source)
    at test.TheTest.getRemoteObject(TheTest.java:19)
    at
    com.hcm.tools.util.CollectionHelper.getFirst(CollectionHelper.java:23)
    at
    com.hcm.tools.jdo.JDOFactory.executeSingletonQuery(JDOFactory.java:234)
    at test.Test.print(Test.java:22)
    at test.Test.main(Test.java:11)

  • JDeveloper error when extending VO

    I have had problems yesterday and today attempting to create an extending VO with the "mandated" RowImpl class. When I click on the Finish button in the wizard, I get the following error:
    Error in updating the java files for component: AbcMyReqsVO
    Exception: java.lang.NullPointerException
    Exception stack trace:
    java.lang.NullPointerException
         at oracle.jbo.dt.objects.JboAttribute.getSuperAttr(JboAttribute.java:1147)
         at oracle.jbo.dt.objects.JboView.doGenerateAttributeGetCode(JboView.java:2375)
         at oracle.jbo.dt.objects.JboView.generateCalculatedAttributeGetBody(JboView.java:2577)
         at oracle.jbo.dt.objects.JboView.generateAttributeMethods(JboView.java:2673)
         at oracle.jbo.dt.objects.JboView.createViewRowFile(JboView.java:1909)
         at oracle.jbo.dt.objects.JboView.saveToJavaFile(JboView.java:1813)
         at oracle.jbo.dt.objects.JboBaseObject.saveObject(JboBaseObject.java:2084)
         at oracle.jbo.dt.objects.JboView.saveObject(JboView.java:1719)
         at oracle.jbo.dt.ui.main.DtuSaveThread.doSaveObject(DtuUtil.java:1538)
         at oracle.jbo.dt.ui.main.DtuSaveThread.run(DtuUtil.java:1528)
    If I uncheck the "Generate Accessors" checkbox (as the stack talks about doGenerateAttributeGetCode), the error does not occur.
    Can anyone explain this and provide an alternative workaround that allows me to generate by accessor methods?

    The problem is in the AllReqsVO.xml. All of the view attributes have the following:
    <DesignTime>
    <Attr Name="_OverrideAttr" Value="true" />
    </DesignTime>
    This VO doesn’t extend another VO, therefore the _OverrideAttr shouldn’t be in the ViewAttribute definitions. If you manually edit the AllReqsVO.xml file and remove each of those references, then you will be able to Generate Accessors without getting the nullpointerexception. This will also fix the problem with the other VOs that extend this one, like MyReqsGlanceVO. You don’t have to change the MyReqsGlanceVO.xml, just fix AllReqsVO.xml and then you will be able to Generate Accessors when extending MyReqsGlanceVO.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem when trying to sync with Palm Centro phone and Palm m500

    I just purchased a Palm Centro phone and have had no problem when I try to sync the phone with the Palm software on the computer, however, my wife has an older Palm m500 and all her contacts are on her Palm, but they don't show up on the Palm Desktop software.  Is there something we're doing wrong?  All the dates show up on her desk top and everything in my phone shows up on my desktop, only her contacts are empty.
    Post relates to: Centro (Verizon)

    It is likely that your wife's older device (with Legacy two-word PIMs) is incompatible with the Access Desktop/Hotsync for Verizon Centros as I believe it has only the new Extended (one-word) PIM conduits. If you are running XP you might be able to use a download of 4.1.4e. Suggest you search the Hotsync forum to see if the Centro can use this version of Hotsync (I don't have a Centro).
    Post relates to: Palm TX

  • Hover problem on Extended Textbox

    Good Day
    Experts:
    We are having a problem with Extended TextBoxes and are nearing a deadline.
    When we 'hover' over an Extended Text box that contains multiple lines of text
    in "OK" mode (not in update mode) a long single line text box can appear with the 1st part of the data from the box. When this happens the data in the box will be 'hidden'. The text will reappear if you 'click' on the box.
    Is there a way to either :
    1 - Prevent the text from being 'hidden' when this occurs
    or
    2 - Prevent the ''long single line text box' overlay from appearing. This will
    probably prevent the data in the text box from being 'hidden'.
    Thanks,
    Ed

    It is a bug in the client... The bug was fixed in SBO2005A SP01 PL18 as far as i can remember

  • I have a problem when opening a profile on Facebook. when I open the main page and facebook all ok but when I try to open your Firefox profile my block! what the problem ????? before me it was happening but now when I installed Firefox 4

    I have a problem when opening a profile on Facebook. when I open the main page and facebook all ok but when I try to open your Firefox profile my block! what the problem ????? before me it was happening but now when I installed Firefox 4

    WiFi signals get stronger the closer the machine is to the router and the less interference/blocking of the signal like via walls with metal in them or of thick concrete.
    Since the signal emanates outwards in a sphere, your supposed to place the wireless router in a central location in the building so it covers all areas.
    The power of the router also has a affect, if your router is old or something not that powerful like a Airport Express, it doesn't have the ability to filter out other signals or enough punch to get through walls etc. or cover a large area as effectively.
    If you buy/have a powerful router of newer make and have issues where there is metal in the walls or thick concrete, then you can buy something like OpenMesh and by using Ethernet cables from the back of the router, extend the WiFi signal into other rooms and areas past the blockage.
    https://www.open-mesh.com/

  • NullPointerException and cannot be cast when extended CO!

    Hello!
    Forms develop in to Brazil and I am now entering the area of customization in Oa Framework, forgive my English strange ...
    I have the need to extend the controller ExpSearchCO to include a new filter field search. Just extending ExpSearchCO and without any additional logic error occurs in the super class !!!!
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException return the inside super class
    the line of code is the line informed :oaquerybean.setSimpleSearchInstructionTexts(null);
    trying to deal with this error message appeared
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean cannot be cast to oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    the snippet is:
    OAFormattedTextBean oaformattedtextbean = (OAFormattedTextBean)oawebbean.findIndexedChildRecursive("SearchInstruction");
    ((OAPageLayoutBean)oawebbean).prepareForRendering(oapagecontext);
    oaformattedtextbean.setText(oapagecontext.getMessage("ICX", s2, null));
    there is some initialization that should be within my custom control or dealings that errors do not occur in the super class?
    ================================================================================
    first error :
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequest(OAQueryHelper.java:673) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at
    ## java.lang.NullPointerException at oracle.apps.icx.por.reqmgmt.webui.ExpSearchCO.processRequest(ExpSearchCO.java:56) at xmtd.oracle.apps.icx.por.reqmgmt.webui.XxExpSearchCO.processRequest(XxExpSearchCO.java:54) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequest(OAQueryHelper.java:673) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at
    =====================================================================================
    second error
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean cannot be cast to oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at ...
    ## java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean cannot be cast to oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean at oracle.apps.icx.por.reqmgmt.webui.ExpSearchCO.processRequest(ExpSearchCO.java:79) at xmtd.oracle.apps.icx.por.reqmgmt.webui.XxExpSearchCO.processRequest(XxExpSearchCO.java:54) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequest(OAQueryHelper.java:673) at
    for details of the problem, link with Attach: http://www.4shared.com/file/132642195/f3340a3e/anexo.html
    Edited by: user2019065 on 14/09/2009 14:17

    The question is as follows:
    Within the page oracle /apps/icx/by/reqmgmt/webui/ExpSearchPG 115.27 in iproc.
    Is necessary to include a new filter for search.
    Analyzing the source code finds the need to extend the View Object AllReqsVO to include this new field.
    was necessary to extend the classes
    oracle.apps.icx.por.reqmgmt.webui.ExpSearchCO
    oracle.apps.icx.por.reqmgmt.ExpSearchCriteria
    oracle.apps.icx.por.reqmgmt.server.ExpSrchSvrCmd
    that perform the logic to filter the information.
    However, just extending the class oracle.apps.icx.por.reqmgmt.webui.ExpSearchCO , Not changed anything yet in this class ok !
    The application presents the errors mentioned above during the tests.
    the question is whether there is any procedure to follow when extending a control?
    ake two weeks since my first contact with OA Framework and Java ...
    think it is you are doing wrong, because it is a simple test. you have any tips or documentation about extending controls
    Edited by: EdgarOliveira on 15/09/2009 10:12

Maybe you are looking for

  • Error message comes up when i click gbookmarks in ff 11 so now use 12 n it still comes up...help???

    This comes up when i click gbookmarks in FF 11 and now FF12: [Javascript Application] Bad Request https://www.google.com/accounts/ServiceLoginAuth Error occurred while retrieving from the server! It has only happened in the last 2 days so decided to

  • Adding A Quit Button to the Last Slide

    Hi all, One of the most requested features on our first Breeze project was a "quit" button. The easiest way to do so in an HTML environment is to use the command javascript: window.close(); Type this into the address bar on your browser, and hit retu

  • Default settings for mail attachements

    I am using entourage as my primary mail account-how do I set Word, Excel, and Power Point as the as the default applications for their respective file attachments in mail?

  • DVI on one monitor

    Hello, is it possible to connect my MSI Geforce4 Ti4600 card with DVI out and my Philips (with DVI in) without the 'old' analoge 15pins cable ? When I try this, my monitor says 'no signal input'? thanks.

  • Sliding Nav InDesign CS6

    Hi, I have created a sliding navigation using the bottom margin and motion path tweening. I have  grouped bunches of buttons inside the sliding panel which takes the user to respective pages upon clicking the buttons. It does work but my sliding navi