Need help .. JTable problem!!!!!

Is there any way to provide drag n drop feature within Jtable cells ....
What I want to do is that ... I shud be able to drag a JTable cell to another JTable cell and the values of those two cell should interchange ....
Is this even possible ??? Please help me as I m new to Java
Thanx alot....

Plus I have one more problem the column headers arnt appearing ..... So please help me ..... I need two things to be done ....
1) Populate the tables using vectors, so that only that no of rows appear which are in table of my database ..
2) Column headers shud show up...
Here's my code ...
* Drag.java
package test;
import javax.swing.*;
import java.awt.Dimension;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.table.*;
import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.dnd.*;
import java.awt.event.*;
import java.awt.image.*;
import java.io.*;
import java.util.*;
public class Drag extends javax.swing.JFrame {
     private String url = "jdbc:odbc:FAMS";
    private Connection con;
    private Statement stmt;
    private Map<String, Color> colormap = new HashMap<String, Color>();
    public void populate()
    try {
            Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
        } catch(java.lang.ClassNotFoundException e) {
            System.err.print("ClassNotFoundException: ");
            System.err.println(e.getMessage());
           String query = "SELECT * FROM SubAllot";
        /* First clear the JTable */
        clearTable();
        /* get a handle for the JTable */
        javax.swing.table.TableModel model = table.getModel();
        int r = 0;
        try {
            /* connect to the database */
            con = DriverManager.getConnection(url, "", "");
            stmt = con.createStatement();
            /* run the Query getting the results into rs */
               ResultSet rs = stmt.executeQuery(query);
               while ((rs.next()) ) {
                    /* for each row get the fields
                       note the use of Object - necessary
                       to put the values into the JTable */
                   Object nm = rs.getObject(1);
                   Object sup = rs.getObject(2);
                   Object pri = rs.getObject(3);
                   Object sal = rs.getObject(4);
                   Object tot = rs.getObject(5);
                   model.setValueAt(nm, r, 0);
                   model.setValueAt(sup, r, 1);
                   model.setValueAt(pri, r, 2);
                   model.setValueAt(sal, r, 3);
                   model.setValueAt(tot, r, 4);
                   r++;
            stmt.close();
            con.close();
        } catch(SQLException ex) {
            System.err.println("SQLException: " + ex.getMessage());
       private void clearTable(){
        int numRows = table.getRowCount();
        int numCols = table.getColumnCount();
        javax.swing.table.TableModel model = table.getModel();
        for (int i=0; i < numRows; i++) {
            for (int j=0; j < numCols; j++) {
                model.setValueAt(null, i, j);
          private void writeTable(){
         /* First clear the table */
         emptyTable();
         Statement insertRow;// = con.prepareStatement(
         String baseString = "INSERT INTO SubAllot " +
                                    "VALUES ('";
         String insertString;
        int numRows = table.getRowCount();
        javax.swing.table.TableModel model = table.getModel();
       /* Integer sup, sal, tot;
        Double pri;
        Object o;
        try {
            /* connect to the database */
            con = DriverManager.getConnection(url, "", "");
             for (int r=0; r < numRows; r++) {
                  if (model.getValueAt(r, 0) != null){
                       insertString = baseString + model.getValueAt(r, 0)+"','";
                       insertString = insertString + model.getValueAt(r, 1)+"','";
                       insertString = insertString + model.getValueAt(r, 2)+"','";
                       insertString = insertString + model.getValueAt(r, 3)+"','";
                       insertString = insertString + model.getValueAt(r, 4)+"');";
                       System.out.println(insertString);
                      insertRow = con.createStatement();
                       insertRow.executeUpdate(insertString);
                       System.out.println("Writing Row " + r);
            insertRow.close();
            con.close();
        } catch(SQLException ex) {
            System.err.println("SQLException: " + ex.getMessage());
       // clearTable();
       private void emptyTable(){
         /* Define the SQL Query to get all data from the database table */
        String query = "DELETE * FROM SubAllot";
        try {
            /* connect to the database */
            con = DriverManager.getConnection(url, "", "");
            stmt = con.createStatement();
            /* run the Query */
               stmt.executeUpdate(query);
            stmt.close();
            con.close();
        } catch(SQLException ex) {
            System.err.println("SQLException: " + ex.getMessage());
           abstract class StringTransferHandler extends TransferHandler {
        public int dropAction;
        protected abstract String exportString(final JComponent c);
        protected abstract void importString(final JComponent c, final String str);
        @Override
        protected Transferable createTransferable(final JComponent c) {
            return new StringSelection(exportString(c));
        @Override
        public int getSourceActions(final JComponent c) {
            return MOVE;
        @Override
        public boolean importData(final JComponent c, final Transferable t) {
            if (canImport(c, t.getTransferDataFlavors())) {
                try {
                    String str = (String) t.getTransferData(DataFlavor.stringFlavor);
                    importString(c, str);
                    return true;
                } catch (UnsupportedFlavorException ufe) {
                } catch (IOException ioe) {
            return false;
        @Override
        public boolean canImport(final JComponent c, final DataFlavor[] flavors) {
            for (int ndx = 0; ndx < flavors.length; ndx++) {
                if (DataFlavor.stringFlavor.equals(flavors[ndx])) {
                    return true;
            return false;
    class TableTransferHandler extends StringTransferHandler {
        private int dragRow;
        private int[] dragColumns;
        private BufferedImage[] image;
        private int row;
        private int[] columns;
        public JTable target;
        private Map<String, Color> colormap;
        private TableTransferHandler(final Map<String, Color> colormap) {
            this.colormap = colormap;
        @Override
        protected Transferable createTransferable(final JComponent c) {
            JTable table = (JTable) c;
            dragRow = table.getSelectedRow();
            dragColumns = table.getSelectedColumns();
            createDragImage(table);
            return new StringSelection(exportString(c));
        protected String exportString(final JComponent c) {
            JTable table = (JTable) c;
            row = table.getSelectedRow();
            columns = table.getSelectedColumns();
            StringBuffer buff = new StringBuffer();
            colormap.clear();
            for (int j = 0; j < columns.length; j++) {
                Object val = table.getValueAt(row, columns[j]);
                buff.append(val == null ? "" : val.toString());
                if (j != columns.length - 1) {
                    buff.append(",");
                colormap.put(row+","+columns[j], Color.LIGHT_GRAY);
            table.repaint();
            return buff.toString();
        protected void importString(final JComponent c, final String str) {
            target = (JTable) c;
            DefaultTableModel model = (DefaultTableModel) target.getModel();
            String[] values = str.split("\n");
            int colCount = target.getSelectedColumn();
            int max = target.getColumnCount();
            for (int ndx = 0; ndx < values.length; ndx++) {
                String[] data = values[ndx].split(",");
                for (int i = 0; i < data.length; i++) {
                    String string = data;
if(colCount < max){
String val = (String) model.getValueAt(target.getSelectedRow(), colCount);
model.setValueAt(string, target.getSelectedRow(), colCount);
model.setValueAt(val, dragRow, dragColumns[i]);
colCount++;
public BufferedImage[] getDragImage() {
return image;
private void createDragImage(final JTable table) {
if (dragColumns != null) {
try {
image = new BufferedImage[dragColumns.length];
for (int i = 0; i < dragColumns.length; i++) {
Rectangle cellBounds = table.getCellRect(dragRow, i, true);
TableCellRenderer r = table.getCellRenderer(dragRow, i);
DefaultTableModel m = (DefaultTableModel) table.getModel();
JComponent lbl = (JComponent) r.getTableCellRendererComponent(table,
table.getValueAt(dragRow, dragColumns[i]), false, false, dragRow, i);
lbl.setBounds(cellBounds);
BufferedImage img = new BufferedImage(lbl.getWidth(), lbl.getHeight(),
BufferedImage.TYPE_INT_ARGB_PRE);
Graphics2D graphics = img.createGraphics();
graphics.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.6f));
lbl.setBorder(BorderFactory.createLineBorder(Color.LIGHT_GRAY));
lbl.paint(graphics);
graphics.dispose();
image[i] = img;
} catch (RuntimeException re) {
class TableDropTarget extends DropTarget {
private Insets autoscrollInsets = new Insets(20, 20, 20, 20);
private Rectangle rect2D = new Rectangle();
private TableTransferHandler handler;
public TableDropTarget(final TableTransferHandler h) {
super();
this.handler = h;
@Override
public void dragOver(final DropTargetDragEvent dtde) {
handler.dropAction = dtde.getDropAction();
JTable table = (JTable) dtde.getDropTargetContext().getComponent();
Point location = dtde.getLocation();
int row = table.rowAtPoint(location);
int column = table.columnAtPoint(location);
table.changeSelection(row, column, false, false);
paintImage(table, location);
autoscroll(table, location);
super.dragOver(dtde);
public void dragExit(final DropTargetDragEvent dtde) {
clearImage((JTable) dtde.getDropTargetContext().getComponent());
super.dragExit(dtde);
@Override
public void drop(final DropTargetDropEvent dtde) {
Transferable data = dtde.getTransferable();
JTable table = (JTable) dtde.getDropTargetContext().getComponent();
clearImage(table);
handler.importData(table, data);
super.drop(dtde);
private final void paintImage(final JTable table, final Point location) {
Point pt = new Point(location);
BufferedImage[] image = handler.getDragImage();
if (image != null) {
table.paintImmediately(rect2D.getBounds());
rect2D.setLocation(pt.x - 15, pt.y - 15);
int wRect2D = 0;
int hRect2D = 0;
for (int i = 0; i < image.length; i++) {
table.getGraphics().drawImage(image[i], pt.x - 15, pt.y - 15, table);
pt.x += image[i].getWidth();
if (hRect2D < image[i].getHeight()) {
hRect2D = image[i].getHeight();
wRect2D += image[i].getWidth();
rect2D.setSize(wRect2D, hRect2D);
private final void clearImage(final JTable table) {
table.paintImmediately(rect2D.getBounds());
private Insets getAutoscrollInsets() {
return autoscrollInsets;
private void autoscroll(final JTable table, final Point cursorLocation) {
Insets insets = getAutoscrollInsets();
Rectangle outer = table.getVisibleRect();
Rectangle inner = new Rectangle(outer.x + insets.left,
outer.y + insets.top,
outer.width - (insets.left + insets.right),
outer.height - (insets.top + insets.bottom));
if (!inner.contains(cursorLocation)) {
Rectangle scrollRect = new Rectangle(cursorLocation.x - insets.left,
cursorLocation.y - insets.top,
insets.left + insets.right,
insets.top + insets.bottom);
table.scrollRectToVisible(scrollRect);
/** Creates new form Drag */
public Drag() {
initComponents();
populate();
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
jScrollPane1 = new javax.swing.JScrollPane();
table = new javax.swing.JTable();
jButton1 = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
table.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null},
{null, null, null, null, null}
new String [] {
"Title 1", "Title 2", "Title 3", "Title 4", "Title 5"
Class[] types = new Class [] {
java.lang.Integer.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class
public Class getColumnClass(int columnIndex) {
return types [columnIndex];
jScrollPane1.setViewportView(table);
table.getTableHeader().setReorderingAllowed(false);
table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
table.setCellSelectionEnabled(true);
table.setRowHeight(23);
table.setDragEnabled(true);
TableTransferHandler th = new TableTransferHandler(colormap);
table.setTransferHandler(th);
table.setDropTarget(new TableDropTarget(th));
table.setTableHeader(null);
jButton1.setText("UPDATE");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 452, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(jButton1)
.addContainerGap(15, Short.MAX_VALUE))
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 348, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addGap(80, 80, 80)
.addComponent(jButton1)))
.addContainerGap(14, Short.MAX_VALUE))
pack();
}// </editor-fold>
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
writeTable(); // TODO add your handling code here:
* @param args the command line arguments
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Drag().setVisible(true);
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable table;
// End of variables declaration
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

Similar Messages

  • NEED HELP APP PROBLEM PLWASE READ

    Ok so basically when I go to a free app I try to re install it says to confirm or verify and when I click on it it takes me to my credit card and when I type in the right info and I have money in my account it declined me and then tells me to try again later after I've tried like 10 times its really frustrating and confusing and I need help please reply on what im supposed to do please it even does this for when I try to update apps aswell

    I have created an apple id with a credit card.  When I download a free app, I am asked for my apple id password. I am not asked for a credit card.  There is a setting for login out of your apple id.  Perhaps you should log out. So things get reset.
    you can create an apple id without a credit card.
    Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method - Apple Suppor…
    Robert

  • Need Help Skype Problems

    Please HelpMy skype wont work anymore, it says that it wont work when I try to call someone and I need help thanks. (P.S I have reinstalled Skype with no luck)

    lalo-116 wrote:
    it works thx so much u are a lifesaver
    You are very welcome.
    For others:
    1. There is no need to uninstall first. It's wasted time and a wasted step that is NOT required.
    2. It is important to inform people that if they delete their Skype folder, that they will be deleting ALL their Skype history:
    For others:
    You do not need to uninstall, or delete anything, if you have this issue, simply install over, what you have, with this:
    At the moment the quickest method to fix this is to install the beta version from here: http://skype.com/go/getskype-beta
    Note: If you still have issues after doing the above, it's best to post back and get more instructions than to delete ALL your history.
    About Me You can also use a IP Camera as your camera for Skype video Example Instructions

  • URGENT HELP NEEDED FOR JTABLE PROBLEM!!!!!!!!!!!!!!!!!

    firstly i made a jtable to adds and deletes rows and passes the the data to the table model from some textfields. then i wanted to add a tablemoselistener method in order to change the value in the columns 1,2,3,4 and set the result of them in the column 5. when i added that portion of code the buttons that added and deleted rows had problems to function correctly..they dont work at all..can somebody have a look in my code and see wot is wrong..thanx in advance..
    below follows the code..sorry for the mesh of the code..you can use and run the code and notice the problem when you press the add button..also if you want delete the TableChanged method to see that the add button works perfect.
    * Created on 03-Aug-2005
    * TODO To change the template for this generated file go to
    * Window - Preferences - Java - Code Style - Code Templates
    * @author Administrator
    * TODO To change the template for this generated type comment go to
    * Window - Preferences - Java - Code Style - Code Templates
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Vector;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.event.TableModelEvent;
    import javax.swing.event.TableModelListener;
    import java.io.*;
    public class NodesTable extends JFrame implements TableModelListener, ActionListener {
    JTable jt;
    DefaultTableColumnModel dtcm;
    TableColumn column[] = new TableColumn[100];
    DefaultTableModel dtm;
    JLabel Name,m1,w1,m2,w2;
    JTextField NameTF,m1TF,w1TF,m2TF,w2TF;
    String c [] ={ "Name", "Assessment1", "Weight1" , "Assessment2","Weight2 ","TotalMark"};
    float x=0,y=0,tMark=0,z = 0;
    float j=0;
    int i;
         JButton DelButton;
         JButton AddButton;
         JScrollPane scrollPane;
         JPanel mainPanel,buttonPanel;
         JFrame frame;
         Object[][] data =
              {"tami", new Float(1), new Float(1.11), new Float(1.11),new Float(1),new Float(1)},
              {"tami", new Float(1), new Float(2.22), new Float(2.22),new Float(1),new Float(1)},
              {"petros", new Float(1), new Float(3.33), new Float(3.33),new Float(1),new Float(1)},
              {"petros", new Float(1), new Float(4.44), new Float(4.44),new Float(1),new Float(1)}
    public NodesTable() {
    super("Student Marking Spreadsheet");
    this.AddNodesintoTable();
    setSize(400,250);
    setVisible(true);
    public void AddNodesintoTable(){
    // Create a vector object and load them with the data
    // to be placed on each row of the table
    dtm = new DefaultTableModel(data,c);
    dtm.addTableModelListener( this );
    jt = new JTable(dtm){
         // Returning the Class of each column will allow different
              // renderers to be used based on Class
              public Class getColumnClass(int column)
                   return getValueAt(0, column).getClass();
              // The Cost is not editable
              public boolean isCellEditable(int row, int column)
                   int modelColumn = convertColumnIndexToModel( column );
                   return (modelColumn == 5) ? false : true;
    //****************************User Input**************************
    //Add another node
    //Creating and setting the properties
    //of the panel's component (panels and textfields)
    Name = new JLabel("Name");
    Name.setForeground(Color.black);
    m1 = new JLabel("Mark1");
    m1.setForeground(Color.black);
    w1 = new JLabel("Weigth1");
    w1.setForeground(Color.black);
    m2= new JLabel("Mark2");
    m2.setForeground(Color.black);
    w2 = new JLabel("Weight2");
    w2.setForeground(Color.black);
    NameTF = new JTextField(5);
    NameTF.setText("Node");
    m1TF = new JTextField(5);
    w1TF = new JTextField(5);
    m2TF=new JTextField(5);
    w2TF=new JTextField(5);
    //creating the buttons
    JPanel buttonPanel = new JPanel();
    AddButton=new JButton("Add Row");
    DelButton=new JButton("Delete") ;
    buttonPanel.add(AddButton);
    buttonPanel.add(DelButton);
    //adding the components to the panel
    JPanel inputpanel = new JPanel();
    inputpanel.add(Name);
    inputpanel.add(NameTF);
    inputpanel.add(m1);
    inputpanel.add(m1TF);
    inputpanel.add(w1);
    inputpanel.add(w1TF);
    inputpanel.add(m2);
    inputpanel.add(m2TF);
    inputpanel.add(w2TF);
    inputpanel.add(w2);
    inputpanel.add(AddButton);
    inputpanel.add(DelButton);
    //creating the panel and setting its properties
    JPanel tablepanel = new JPanel();
    tablepanel.add(new JScrollPane(jt, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED
    , JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS));
    getContentPane().add(tablepanel, BorderLayout.CENTER);
    getContentPane().add(inputpanel, BorderLayout.SOUTH);
    //Method to add row for each new entry
    public void addRow()
    Vector r=new Vector();
    r=createBlankElement();
    dtm.addRow(r);
    jt.addNotify();
    public Vector createBlankElement()
    Vector t = new Vector();
    t.addElement((String) " ");
    t.addElement((String) " ");
    t.addElement((String) " ");
    t.addElement((String) " ");
    t.addElement((String) " ");
    return t;
    // Method to delete a row from the spreadsheet
    void deleteRow(int index)
    if(index!=-1) //At least one Row in Table
    dtm.removeRow(index);
    jt.addNotify();
    // Method that adds and deletes rows
    // from the table by pressing the
    //corresponding buttons
    public void actionPerformed(ActionEvent ae){
         Float z=new Float (m2TF.getText());
    String Name= NameTF.getText();
    Float x= new Float(m1TF.getText());
    Float y= new Float(w1TF.getText());
    Float j=new Float (w2TF.getText());
    JFileChooser jfc2 = new JFileChooser();
    String newdata[]= {Name,String.valueOf(x),String.valueOf(y),
    String.valueOf(z),String.valueOf(j)};
    Object source = ae.getSource();
    if(ae.getSource() == (JButton)AddButton)
    addRow();
    if (ae.getSource() ==(JButton) DelButton)
    deleteRow(jt.getSelectedRow());
    //method to calculate the total mark in the TotalMark column
    //that updates the values in every other column
    //It takes the values from the column 1,2,3,4
    //and changes the value in the column 5
    public void tableChanged(TableModelEvent e) {
         System.out.println(e.getSource());
         if (e.getType() == TableModelEvent.UPDATE)
              int row = e.getFirstRow();
              int column = e.getColumn();
              if (column == 1 || column == 2 ||column == 3 ||column == 4)
                   TableModel model = jt.getModel();
              float     q= ((Float)model.getValueAt(row,1)).floatValue();
              float     w= ((Float)model.getValueAt(row,2)).floatValue();
              float     t= ((Float)model.getValueAt(row,3)).floatValue();
              float     r= ((Float)model.getValueAt(row,4)).floatValue();
                   Float tMark = new Float((q*w+t*r)/(w+r) );
                   model.setValueAt(tMark, row, 5);
    // Which cells are editable.
    // It is only necessary to implement this method
    // if the table is editable
    public boolean isCellEditable(int row, int col)
    { return true; //All cells are editable
    public static void main(String[] args) {
         NodesTable t=new NodesTable();
    }

    There are too many mistakes in your program. It looks like you are new to java.
    Your add and delete row buttons are not working because you haven't registered your action listener with these buttons.
    I have modifide your code and now it works fine. Just put some validation code for the textboxes becuase it throws exception when user presses add button without entering anything.
    Here is the updated code: Do the diff and u will know my changes
    * Created on 03-Aug-2005
    * TODO To change the template for this generated file go to
    * Window - Preferences - Java - Code Style - Code Templates
    * @author Administrator
    * TODO To change the template for this generated type comment go to Window -
    * Preferences - Java - Code Style - Code Templates
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    import javax.swing.event.TableModelEvent;
    import javax.swing.event.TableModelListener;
    import javax.swing.table.DefaultTableColumnModel;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableColumn;
    import javax.swing.table.TableModel;
    public class NodesTable extends JFrame implements TableModelListener,
              ActionListener {
         JTable jt;
         DefaultTableColumnModel dtcm;
         TableColumn column[] = new TableColumn[100];
         DefaultTableModel dtm;
         JLabel Name, m1, w1, m2, w2;
         JTextField NameTF, m1TF, w1TF, m2TF, w2TF;
         String c[] = { "Name", "Assessment1", "Weight1", "Assessment2", "Weight2 ",
                   "TotalMark" };
         float x = 0, y = 0, tMark = 0, z = 0;
         float j = 0;
         int i;
         JButton DelButton;
         JButton AddButton;
         JScrollPane scrollPane;
         JPanel mainPanel, buttonPanel;
         JFrame frame;
         public NodesTable() {
              super("Student Marking Spreadsheet");
              this.AddNodesintoTable();
              setSize(400, 250);
              setVisible(true);
         public void AddNodesintoTable() {
              // Create a vector object and load them with the data
              // to be placed on each row of the table
              dtm = new DefaultTableModel(c,0);
              dtm.addTableModelListener(this);
              jt = new JTable(dtm) {
                   // The Cost is not editable
                   public boolean isCellEditable(int row, int column) {
                        int modelColumn = convertColumnIndexToModel(column);
                        return (modelColumn == 5) ? false : true;
              //****************************User Input**************************
              //Add another node
              //Creating and setting the properties
              //of the panel's component (panels and textfields)
              Name = new JLabel("Name");
              Name.setForeground(Color.black);
              m1 = new JLabel("Mark1");
              m1.setForeground(Color.black);
              w1 = new JLabel("Weigth1");
              w1.setForeground(Color.black);
              m2 = new JLabel("Mark2");
              m2.setForeground(Color.black);
              w2 = new JLabel("Weight2");
              w2.setForeground(Color.black);
              NameTF = new JTextField(5);
              NameTF.setText("Node");
              m1TF = new JTextField(5);
              w1TF = new JTextField(5);
              m2TF = new JTextField(5);
              w2TF = new JTextField(5);
              //creating the buttons
              JPanel buttonPanel = new JPanel();
              AddButton = new JButton("Add Row");
              AddButton.addActionListener(this);
              DelButton = new JButton("Delete");
              DelButton.addActionListener(this);
              buttonPanel.add(AddButton);
              buttonPanel.add(DelButton);
              //adding the components to the panel
              JPanel inputpanel = new JPanel();
              inputpanel.add(Name);
              inputpanel.add(NameTF);
              inputpanel.add(m1);
              inputpanel.add(m1TF);
              inputpanel.add(w1);
              inputpanel.add(w1TF);
              inputpanel.add(m2);
              inputpanel.add(m2TF);
              inputpanel.add(w2TF);
              inputpanel.add(w2);
              inputpanel.add(AddButton);
              inputpanel.add(DelButton);
              //creating the panel and setting its properties
              JPanel tablepanel = new JPanel();
              tablepanel.add(new JScrollPane(jt,
                        JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                        JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS));
              getContentPane().add(tablepanel, BorderLayout.CENTER);
              getContentPane().add(inputpanel, BorderLayout.SOUTH);
         //Method to add row for each new entry
         public void addRow() {
              Float z = new Float(m2TF.getText());
              String Name = NameTF.getText();
              Float x = new Float(m1TF.getText());
              Float y = new Float(w1TF.getText());
              Float j = new Float(w2TF.getText());
              String newdata[] = { Name, String.valueOf(x), String.valueOf(y),
                        String.valueOf(z), String.valueOf(j) };
              dtm.addRow(newdata);
         // Method to delete a row from the spreadsheet
         void deleteRow(int index) {
              if (index != -1) //At least one Row in Table
                   dtm.removeRow(index);
                   jt.addNotify();
         // Method that adds and deletes rows
         // from the table by pressing the
         //corresponding buttons
         public void actionPerformed(ActionEvent ae) {
              Object source = ae.getSource();
              if (ae.getSource() == (JButton) AddButton) {
                   addRow();
              if (ae.getSource() == (JButton) DelButton) {
                   deleteRow(jt.getSelectedRow());
         //method to calculate the total mark in the TotalMark column
         //that updates the values in every other column
         //It takes the values from the column 1,2,3,4
         //and changes the value in the column 5
         public void tableChanged(TableModelEvent e) {
              System.out.println(e.getSource());
              //if (e.getType() == TableModelEvent.UPDATE) {
                   int row = e.getFirstRow();
                   int column = e.getColumn();
                   if (column == 1 || column == 2 || column == 3 || column == 4) {
                        TableModel model = jt.getModel();
                        float q = (new Float(model.getValueAt(row, 1).toString())).floatValue();
                        float w = (new Float(model.getValueAt(row, 2).toString())).floatValue();
                        float t = (new Float(model.getValueAt(row, 3).toString())).floatValue();
                        float r = (new Float(model.getValueAt(row, 4).toString())).floatValue();
                        Float tMark = new Float((q * w + t * r) / (w + r));
                        model.setValueAt(tMark, row, 5);
         // Which cells are editable.
         // It is only necessary to implement this method
         // if the table is editable
         public boolean isCellEditable(int row, int col) {
              return true; //All cells are editable
         public static void main(String[] args) {
              NodesTable t = new NodesTable();
    }

  • Need help urgently,problem going on for 3 years

    I have had broadband issues for 3 years,in total 7 engineer visists,100s of calls etc and lots of promises and lies from international call centres.
    The BT offered to sell me a 2nd line into my property,this seemed like one solution,until,that has now had 3 engineers visits,the last one yesterday,where the engineer was working on the new line,packed up and went without telling me he was going,or that he still couldnt do the work.
    I am now under meds from my doctor due to this issue,and I have gone in desperation to the BBC watchdog programme and ofcom for help.
    I simply do not know what to do next,please could someone advise me,I am at my wits end and this is causing problems within my home and family.
    Thanks

    Hi,
    Welcome to BT Retail's Community Forum. This is a customer to customer forum.
    What colour is the broadband light on the homehub? Do you have any connectivity at all?
    Please see Keith's help guide here: Helping forum members to help you, it will go through some checks that are needed for us to help you.
    A summary of the checks are:
    1) Are you connected by master or test socket?.
    2) Can you please run a BT speed test (including IP Profile) http://speedtester.bt.com (not beta version)[Best done with a wired, ethernet, connection]
    3) is there any noise on your line. dial 17070 option2 from landline. should be silent but slight hum normal on cordless phone.
    4) please post adsl line statistics 
    ADSL Line Statistic Help:
    If you have a BT Home Hub like the one below...
    Then:
    1) Go to http://192.168.1.254 or http://bthomehub.home
    2) click Settings
    3) Click Advanced Settings
    4) Click Broadband
    5) Click Connection or sometimes called ADSL (see picture Below)
    The direct Address is http://bthomehub.home/index.cgi?active_page=9116 (for bthomehub3)
    You will need to copy and past all the adsl line statistics ( Including HEC, CRC and FEC errors). You may need to click " More Details"
    There are more useful links on Keith's website here: If you have an ADSL connection, please select this link
     cheers
    I'm no expert, so please correct me if I'm wrong

  • Need help identifying problem (lockup/freezing in Warcraft III & CS)

    my macbook pro:
    Model Name: MacBook Pro 15"
    Model Identifier: MacBookPro1,1
    Processor Name: Intel Core Duo
    Processor Speed: 2 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache (per processor): 2 MB
    Memory: 1 GB
    Bus Speed: 667 MHz
    Boot ROM Version: MBP11.0055.B08
    SMC Version: 1.2f10
    Serial Number: W862318KVWY
    Sudden Motion Sensor:
    State: Enabled
    It freezes and has black screens during games in which apple Q and force quit doesn't work. I would need to restart the comp. when it freezes the sound would stutter, repeating whatever the game had playing.
    things I tried but the macbook pro still froze:
    running the game off USB storage device(so i think HD is fine)
    wiping HD and reinstalling OS, updating everything and playing it on both USB and the installation of game (not 3rd party apps)
    opening the macbook pro and cleaning out the dust (didn't take anything out, just blew dust off)
    resetting RAM with apple options P R
    took RAM out and put it back in
    ran apple hardware test (everything was okay)
    running a different game (Counter-Strike on CrossOver and still froze)
    Disk Warrior 4 (only minor repairs and it froze in the test game after i ran DW4)
    booting system from an external and running the game from USB
    things to note:
    although sometimes when it freezes, the temperatures are really high - even with fan control (70-80C) but, i've reproduced the lock up with the temperatures at 60C, so i don't think its a heat problem (thermal paste and whatnot)
    sometimes in safari, quicktime, itunes, or just on desktop picture i would see a single, horizontal, 1 pixel-height distorted line running across the screen, which i can take screenshots of. no idea what's causing it but it could have some relation with the freezing/lockups
    some days it will run without problems for the entire day, just to see lockups the very next day. I think it could be random.
    help please..

    =\ no one....

  • Need Help with Problem Batch Rotating Images in iPhoto 8!

    Hello, recently I have been having a lot of problems with pic files becoming unusable once I batch rotate them in iPhoto 8, so now I want to rotate the pictures 180º before I import them into iPhoto. Is there a free program out there that can help me do this without losing any picture quality. I REALLY don't want to have to individually open up over 2000 photos in Preview and individually rotate them that way.
    Does this same batch rotating problem occur in Aperture 1.5.6?
    TIA for ANY and ALL help!!!

    You can create an Automator workflow application to batch rotate a folder of photos 180 degrees. You need to download and install GraphicConverter first. You can use it in the demo mode by first opening it before you drop your folder of photos onto the application .
    When you install GC select the option to install the GC Automator workflows. Open Automator and put in the following elements: 1 - Get Finder Items; 2 - Rotate. You can select to use Quicktime or the internal algorithm. Save it as an application.
    This all must be done outside of iPhoto and then import into iPhoto.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.
    Message was edited by: Old Toad

  • Acrobat 9.4 Crashes, Need Help Diagnosing Problem

    I'm running Acrobat 9 Standard (9.4.4 ) on Windows 7 Enterprise 64-bit Service Pack 1.  When I choose the File --> "Create PDF Portfolio" menu option in Acrobat I get:  "Adobe Acrobat 9.4 has stopped working".  Acrobat works fine for just reading PDFs, but it crashes when I try to use "Create PDF Portfolio".  I would like to be able to use Portfolios so I'm looking for help in resolving this issue.  So far I have:
    1.]  Googled, looking for others that have reported the same problem.  Which was fruitless.
    2.] Tried using the Help -> "Repair Acrobat Installation" option.  This reinstalled Acrobat, but the problem still existed after the reinstallation.
    I'm wondering what log file I might look in to get more information pertaining to the crash when I get "Adobe Acrobat 9.4 has stopped working".
    Thank you

    I don't have a solution but will add that I have the same problem with Acrobat Pro 9.4.5. I had the problem with my previous XP Professional laptop with 9.4.5 and continue to have the same problem with a new Windows 7 laptop I got two months ago.
    With my new laptop I was able to use Create Portfolio one time on the first day I had my new laptop, with Acrobat freshly installed. Next day I got the error message. Had a local admin uninstall and reinstall Acrobat Pro and it worked that day. Next day I got the error message again. Haven't bothered with Portfolios since then.

  • I need help: 2 problems on Premiere CS 5.5

    Hello everyone, I'm working with Premiere CS5.5
    I have a PC with 16G memory, video card, GTX570, I7 2600 processor
    The problem is this:
    1. When I work with computer M2TS files works smoothly, but when I work with three layers or more, Premier works very slowly.
    I've set up the engine mercury still does not help.
    2. When I work with 3 layers and over in MPEG (can be any format) Premier replicates the layers, for example: If I take three different layers, and places them one over the other and divide the total of the program equally, and I press PLAY, I see first layer as the third layer, although the layers are not identical, then when I click on the STOP and presses on program window one of the layers, the original image back, then I press PLAY again I have the layers replicates.
    Hope I explained well.

    In this picture we see the program window layers 1 and 4 the same even though the video sequence 1 and 4 are not same
    Here you can see that the layers are not same.
    But it shows me only if I click on Video 1 with the mouse and not in play mode

  • I need help with problems after the April 2015 update

    In December 2015 I purchased an LG G3. It started out great. Then often people couldn't hear me..sometimes with the speaker on, sometimes with it off, sometimes on bluetooth with my car,.or my voice faded in and out, or sounded muffled or garbled.  After over a month of these frequent audio problems and several calls to Verizon during which they boosted my signal and guided me through a factory reset which took all of my photos out of their albums, the final suggestion a few days ago (April 21, 2015) was to download the new software update. I did and I'm not happy with some of the changes e.g. I wish I could have the old  home touch buttons back,The jury is still out on sounds quality, but now I have two new annoying problems.
    The first is that my car and phone used to bluetooth (connect) as soon as I put my engine on. Now, every time I get in my car I have to go into settings and give the phone permission to have other devices find my phone. Then after one or two tries the bluetooth eventually connects them. I am a Realtor and I need my phone and car to connect automatically every time I get in. I can give the phone permission to connect for up to an hour, but then it goes off. How do I get the opton to stay on?
    The second is that I often turn my data off, and I used to do it from the notification panel that I can pull down. I just pulled it down and tapped "data" and the light would go off if the data was off and on if it was on.  Now when I tap "data" I can turn it on or off, but the data button stays lit so when the data is off the light is still on. No more quickly glancing to see the data status...I have to tap it and read the notice to find out. Yes, 3G or 4G light up in tiny letters at the top, but data is the only button that stays lit when it is turned off.
    Am I missing the steps that would fix these issues?

    SiBIMe,
    I am sorry to hear of the issues with your device before and after the update. We want to restore the love back to your device. Please keep us posted on the audio issues to see if the update did assist with that issues.
    In regards to the two new problems, we want to make sure we get this worked out. Do you have issues with the device only auto connecting to your car or all bluetooths?  Do you receive and error message when the device doesn't auto connect and you attempt to connect manually but it fails? As for the data icon, when you tab on the data icon from the notification tab does the 4G actually disappear even thought the data icon is still lit?
    Please test your device in Safe mode and let us know if you still experience the same issues. Here is how to place the device in safe mode. http://vz.to/1owbN8K
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • Crash during Startup - need help deciphering Problem Report for Kernel

    I got the crash message with subsequent system lockup during my last startup. This is what the problem report states:
    Interval Since Last Panic Report: 1302194 sec
    Panics Since Last Report: 5
    Sun Sep 27 18:46:32 2009
    Unresolved kernel trap(cpu 0): 0x300 - Data access DAR=0x0000000000000000 PC=0x00000000000ACD2C
    Latest crash info for cpu 0:
    Exception state (sv=0x301bc780)
    PC=0x000ACD2C; MSR=0x00009030; DAR=0x00000000; DSISR=0x40000000; LR=0x00DDC2F4; R1=0x3028FBF0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x03680F8C 0x0012F064 0x001D25AC 0x001C8F80 0x001C9030 0x0003F2A0
    0x000B1DD4
    Kernel loadable modules in backtrace (with dependencies):
    com.cisco.nke.ipsec(2.0.1)@0xdd9000->0xe5afff
    Proceeding back via exception chain:
    Exception state (sv=0x301bc780)
    previously dumped as "Latest" state. skipping...
    Exception state (sv=0x2a2cd000)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    9L30
    Kernel version:
    Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC
    System model name: PowerBook5,6
    System uptime in nanoseconds: 66876930554
    unloaded kexts:
    (none)
    loaded kexts:
    com.cisco.nke.ipsec 2.0.1 - last loaded 1232289266
    com.Cycling74.driver.Soundflower 1.4.3
    net.telestream.driver.IODVDImage 1.0 BETA
    com.AmbrosiaSW.AudioSupport 2.3.7
    com.Logitech.driver.HIDDevices 2.1.2
    com.apple.iokit.IOBluetoothSerialManager 2.1.8f2
    com.apple.filesystems.autofs 2.0.2
    com.apple.driver.AppleTAS3004Audio 2.5.8f1
    com.apple.driver.AudioIPCDriver 1.0.6
    com.apple.driver.IOI2CLM7x 1.9d0
    com.apple.iokit.IOFireWireIP 1.7.7
    com.apple.ATIRadeon9700 5.4.8
    com.apple.driver.AppleHWClock 1.5.2d0
    com.apple.driver.AppleTexasAudio 2.5.8f1
    com.apple.driver.AppleTexas2Audio 2.5.8f1
    com.apple.driver.AppleDACAAudio 2.5.8f1
    com.apple.driver.AppleHWSensor 1.9d0
    com.apple.driver.AppleSMUMonitor 1.9d0
    com.apple.driver.IOI2CADT746x 1.0.10f1
    com.apple.AppleOnboardDisplay 1.15.1
    com.apple.driver.InternalModemSupport 2.4.0
    com.apple.driver.MotorolaSM56K 1.3.9
    com.apple.driver.AppleSCCSerial 1.3.2
    com.apple.driver.PBG4_ThermalProfile 3.4.0d0
    com.apple.driver.AppleK2Driver 1.7.2f1
    com.apple.kext.IOI2CDeviceLMU 1.4.5d1
    com.apple.driver.AppleI2S 1.0.1f1
    com.apple.driver.CSRUSBBluetoothHCIController 2.1.8f2
    com.apple.driver.AppleUSBMergeNub 3.4.6
    com.apple.driver.AppleUSBTrackpad 1.7.4f1
    com.apple.driver.AppleUSBTCKeyEventDriver 1.7.4f1
    com.apple.driver.AppleUSBTCKeyboard 1.7.4f1
    com.apple.driver.CSRHIDTransitionDriver 2.1.8f2
    com.apple.driver.AppleFileSystemDriver 1.1.0
    com.apple.driver.iTunesPhoneDriver 1.0
    com.apple.iokit.IOUSBMassStorageClass 2.0.8
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.1.1
    com.apple.iokit.SCSITaskUserClient 2.1.1
    com.apple.driver.XsanFilter 2.7.91
    com.apple.iokit.IOATAPIProtocolTransport 1.5.3
    com.apple.iokit.IOATABlockStorage 2.0.6
    com.apple.driver.ApplePMU 2.5.6d2
    com.apple.driver.AppleUSBHub 3.4.9
    com.apple.iokit.IOUSBUserClient 3.4.9
    com.apple.driver.AppleI2CPMU 3.5.1
    com.apple.driver.AppleGPIO 1.3.0d0
    com.apple.iokit.AppleMediaBay 1.0.2f1
    com.apple.driver.KeyLargoATA 1.1.1f1
    com.apple.driver.AppleVIA 1.5.1d1
    com.apple.driver.MacIOGPIO 1.3.0d0
    com.apple.driver.AppleMPIC 1.5.3
    com.apple.driver.IO@
    just wondering if there are any signs that indicate my Powerbook is slowly dying... it's been slowing down noticeably even with only one app running on a fresh restart

    I'm betting it's your Cisco hardware and its software driver. The driver is reported as com.cisco.nke.ipsec. I don't know what the actual driver file is called, but I would look in the /System/Library/Extensions/ folder for any drivers with "cisco" in the filename. Select the item(s) then CTRL- or RIGHT-click and select "Move to Trash" from the contextual menu. Do not empty the Trash as you don't want to actually erase the item(s). Shutdown and disconnect and Cisco hardware. If there is a Cisco application involved be sure it will not launch automatically at startup. Reboot the computer. If your kernel panics cease you will need to contact Cisco about upgrades that are compatible. It could also be an incompatibility between the Cisco driver and one of the other third-party drivers that are in the Extensions folder and listed in your report:
    com.Cycling74.driver.Soundflower
    net.telestream.driver.IODVDImage
    com.AmbrosiaSW.AudioSupport
    com.Logitech.driver.HIDDevices

  • Urgent I need help about Problem with macbook pro

    The first sorry for my english,
    I have a macbook pro buy it me almost one year ago, and these days me the mouse remains I want and cannot do anything have to wait a few seconds and it returns to work, and also when it puts in rest it touched all the keys and the trackpad but it does not answer, I have to close the screen and wait awhile to raise it and return to react, if someone can help me it be be to him very grateful, in addition the guarantee of hardware is ended in 8 days. thank you very much

    Hi leptones, and welcome to Apple Discussions.
    I'm not sure if your warranty expires in 8 more days or it already expired 8 days ago? If you're still under warranty, I would definitely call AppleCare or go to an Apple Store or AASP; they can troubleshoot it and determine if it's something that needs fixing while you're still under warranty (if you are).

  • Need help Import problem..

    My code works under websphere but I can't get it to work on Tomcat.
    Any help would be greatly appreciated.
    Here's my import called from a JSP :
    <%@ page import= "com.northgrum.lans.Sessctl_Row" %>
    <%@ page import= "com.northgrum.lans.AuthServ" %>
    <%@ page import = "java.io.*, java.sql.*"%>
    directory where the class are located.:
    test/WEB-INF/classes/com/northgrum/lans:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    /jakarta/jakarta-tomcat-4.0.4/work/Standalone/localhost/examples/jsp/MLtest/SAPA_0005fHome$jsp.java:3: Class com.northgrum.lans.Sessctl_Row not found in import.
    import com.northgrum.lans.Sessctl_Row;
    ^
    /jakarta/jakarta-tomcat-4.0.4/work/Standalone/localhost/examples/jsp/MLtest/SAPA_0005fHome$jsp.java:4: Class com.northgrum.lans.AuthServ not found in import.
    import com.northgrum.lans.AuthServ;
    ^
    2 errors
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Unknown Source)

    The only times I see this is when the classes are not in the right place. What you describe should be the right place, but I am guessing that something more complex is happening...
    Are you using an IDE to run the Server? Are you sure that you have exactly one instance of Tomcat installed on your computer? Do you have a context.xml or <Context ...> element in the server.xml that tells the server to look somplace else for files?
    My suggestions would be to shut down tomcat, go to <TOMCAT_HOME>/webapps, make a new .jsp (by text editor, not IDE) that does the include and some simple output. Use the command line to start Tomcat (so you can be sure of how it is starting) and see what happens.
    Make sure you read your log files. It could be that if you have a problem with either the context or web.xml that your context is not starting properly... hopefully that would be logged.

  • Need help.Big problem with battery

    Hello all! I have HP Mini 110-3864sr for 3 years. I  rarely used the battery but if I do it , my notebook was working for 3-6 hours. 15 of August I left for business trip and  my HP stayed at home. When I came back on 22 of August, I switched it on, but I found that the battery doesn`t work at all. I have  Windows 7  and I see that the battery status is 0% and no  charging. I have done everything that I have found in the internet. I installed HP support assistant and did diagnostic from BIOS etc. Nothing helped, but HP support assistant says that the battery is OK. During  the test it starts charging for 15 sec and that is all. I suspect that when I left the battery was about 10% and during the  week It lost the power.
    I know that it must work because as I have said before it  cat run notebook for 3 hours +++. Please help what I have to do???
    This question was solved.
    View Solution.

    "I know that it must work because as I have said before it  cat run notebook for 3 hours +++. Please help what I have to do???"
    If you remove the battery and plug in the power adapter are you able to boot into Windows?
    If that is posssible, then your battery has most likely failed and requires replacement regardless of what the diagnostic test has told you.
    Notebook or netbook batteries are only guaranteed from new for one year. If you get three+ years of service life out of a notebook's battery, you can consider yourself quite fortunate.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • I need help. Problems with ver, 10.2.152.32

    I am not very computer literate, so please be patient with me.  I will need step by step instructions - sorry.  While trying to play Zynga games - Farmtown & farmville, etc. I got a message to update my flash player if the games did not load in 10 sec.  Clicked on the link & downloaded flash player 10.2.152.32   I am still getting the message to upate, but when I updated it said it was completed.  I am not sure what to do now.  I did try uninstalling & reinstalling, but that didn't help either. I can send & receive gifts, and I can look at my neighbors, but not play the games.  Please help !!!  I have crops that are dying.  LOL
    Suzie

    From what I acn tell, I am using
    Windows 7, 64 bit, & Internet Explorer had my email wrong & had to re-register.  This is still Suzie.  Thanks

  • I need help  video problem

    i can convert the movies and video's from i tune but when i sync and transfer the video's to my i pod there is no sound coming out any sugestions?
    thanks

    Quicktime or Quicktime Pro (which iTunes uses) don't convert "muxed" ( muxed means multiplexed where the audio and video are stored on the same track) video files properly. It only plays the video and not the audio.
    See:iPod plays video but not audio.
    You need a 3rd party converter to convert the file with both audio and video.
    See this for help: Guide to converting video for iPod (Mac/Windows).

Maybe you are looking for