Help with connecting JTable to northWind database

hi
actually i want to connect to products table then display it on JTable automatically.
Now i've got the connecting code , but i'm not sure how and where code for displaying that data from the northwind table onto a Jtable with
all the calumnNames and rows should be
Thanks in advance

this a re-arrangment of the code, i've tried this from one of the posts
but still, it doesn't show nothing
<code>
tableData = new Vector();
Vector titles = new Vector();
int currentRow = 0;
try
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"); // load the driver
conn = DriverManager.getConnection ("jdbc:microsoft:sqlserver://213.107.6.45;user=foo;password=foobar");
// connect to SQL server
conn.setCatalog("Northwind");
// choose the database
Statement stmt = conn.createStatement();
// create an SQL statement
String query = "SELECT * FROM Products;";
table = stmt.executeQuery(query);
ResultSetMetaData md = table.getMetaData();
// get the meta data
final int numberOfColumns = md.getColumnCount();
// Vector columnNames = new Vector();
// for(int i = 0; i < numberOfColumns; i++)
// columnNames.add(md.getColumnName(i+1)); //indexed from 1, not 0
// Iterator it = columnNames.iterator();
// int i = 30;
if(table.next())
//rowData(table.getObject(1).toString());
//jTextFieldField2.setText(table.getObject(2).toString());
Vector rowVector = new Vector();
for (int currentCol = 1; currentCol < numCols; currentCol++)
Object obj = table.getObject(currentCol);
rowVector.addElement(obj);
//rowVector.add(table.getString (currentCol + 1));
tableData.addAll(rowVector);
//tableData.addElement(rowVector);
//currentRow++;
for (int currentCol=1; currentCol<= numCols ; currentCol++)
titles.addElement(md.getColumnLabel(currentCol));
// Close connection to database
stmt.close();
conn.close();
}//end try
catch (Exception ex)
JOptionPane.showMessageDialog(null, ex.getMessage());
}// end catch
JTable table = new JTable(tableData,titles);
JScrollPane scrollpane = new JScrollPane(table);
this.getContentPane().add(scrollpane);

Similar Messages

  • Help with connection flash builder 4.5 to remote php database

    help with connection flash builder 4.5 to remote php database

    Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\php5\pear;D:/webserver/apache2/htdocs/ZendFramework/library') in D:\webserver\apache2\htdocs\giga\first-debug\gateway.php on line 27

  • Help with connecting Nintendo dsi to internet

    I really need some help with connecting my daughters nintendo dsi to the internet, I have tried everything but just can't get it to work. Would really appreciate any advice....

    Hi sandy and welcome
    Have a read http://bt.custhelp.com/app/answers/detail/a_id/11263/c/346%2C502%2C504/kw/nintendo%20ds/r_id/125731
    Note: The Nintendo DS only supports either no security or WEP security!!
    -+-No longer a forum member-+-

  • How to connect JTable to a database to show it?

    al salamo 3alaykom w ra7mato allahe w barakato....
    I tried a lot to connect a JTable to a database to show it.....but i couldnt......
    in the clas where i create it i wrote this code
    Class General extends JFrame{
    // private declaration like:
    private Vector heading = new Vector();
    private Vector data= new Vector();
    private JScrollPane jScrollPane1 = new JScrollPane();
    private JTable jTable1 = new JTable(data,heading);
    public General() {
    try {
    jbInit();
    } catch (Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    try{
    Connection conc;
    DriverManager.registerDriver((Driver)Class.forName("com.mysql.jdbc.Driver").newInstance());
    conc = DriverManager.getConnection("jdbc:mysql://localhost/tdiary?user=root&useUnicode=true&characterEncoding=utf8");
    Statement stmt = conc.createStatement();
    ResultSet rs= stmt.executeQuery("SELECT * FROM diary");
    String n1 = new String();
    String add = new String();
    String tele1 = new String();
    String tele2 = new String();
    String tele3 = new String();
    String tele4 = new String();
    String mobi1 = new String();
    String mobi2 = new String();
    String mobi3 = new String();
    String mobi4 = new String();
    String mail1 = new String();
    String Details = new String();
    while(rs.next())
    n1 = rs.getString("Name");
    add = rs.getString("Address");
    tele1 = rs.getString("Tel1");
    tele2 = rs.getString("Tel2");
    tele3 = rs.getString("Tel3");
    tele4 = rs.getString("Tel4");
    mobi1 = rs.getString("Mob1");
    mobi2 = rs.getString("Mob2");
    mobi3 = rs.getString("Mob3");
    mobi4 = rs.getString("Mob4");
    mail1 = rs.getString("Mail");
    Details = rs.getString("Details");
    heading.addElement("name");
    heading.addElement("Tel");
    heading.addElement("Mobile");
    heading.addElement("Address");
    heading.addElement("E-mail");
    data.addElement(n1);
    data.addElement(tele1);
    data.addElement(mobi1);
    data.addElement(add);
    data.addElement(mail1);
    System.out.println(data);
    } catch (Exception k){
    k.printStackTrace();
    //and then i continued the code ......
    //but the table doesnt appear....why?....and if there is another way to do it...plz tell me
    i hope someone could help me coz i got mad from this problem.
    thanx
    al salamo 3alaykom w ra7mato allahe w barakato

    Hi,
    Please use code formatting when you post code. See the formattings tips:
    http://forum.java.sun.com/help.jspa?sec=formatting
    I can't see that you have added your table or scroll pane to any content pane. That's why it isn't displayed.
    Kaj
    Ps.
    You have lots of assignements of Strings when you are declaring your variables, it's useless, just set them to null.

  • Help with Connection

    Hi I am a NOOB / Student
    I need to get Oracle Developer installed and connected on my PC.
    I have version Oracle SQL Developer 1.5.5 (1.5.5.59.69) with Java 1.5.0_06 for Windows.
    I installed the one that comes with Java so I would have the correct compatibility.
    I have no idea if this is all I need or if I need to install an Oracle server version also.
    This is a link to the exact one I took --> http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-1.5.5.59.69.zip
    The Connections error is one that I see many people seem to have, but I have no idea what to do.
    I get the old "Status : Failure -Test failed: lo exception: The Network Adapter could not establish the connection"
    Can anyone please tell me what to do in simple terms. I got Mysql from Xxamp to work but this is a whole new story.

    user11919510 wrote:
    Hi I am a NOOB / StudentWelcome
    >
    I need to get Oracle Developer installed and connected on my PC.Please try to be accurate in your questions. There is an "Oracle Developer Suite" as well as an "Oracle SQL Developer". The more accurate you can be, the more likely you will get useful assistance.
    >
    I have version Oracle SQL Developer 1.5.5 (1.5.5.59.69) with Java 1.5.0_06 for Windows.
    ANd here, you could/should volunteer which version and edition of Windows you are using. It may or may not assist, buit it is one less question mark during the troubleshooting process.
    I installed the one that comes with Java so I would have the correct compatibility.
    Good choice.
    I have no idea if this is all I need or if I need to install an Oracle server version also.
    This is a link to the exact one I took --> http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-1.5.5.59.69.zip
    The Connections error is one that I see many people seem to have, but I have no idea what to do.
    So you have a client to be used in a client-server environment. And (kudos) you have monitored and attempted to resolve this yourself.
    I get the old "Status : Failure -Test failed: lo exception: The Network Adapter could not establish the connection"
    Now we need to determine where the database exists - the server part of the client-server configuration you are trying to use.
    Can anyone please tell me what to do in simple terms. I got Mysql from Xxamp to work but this is a whole new story.Are you saying you want to connect SQL Developer to MySQL? If true, look at http://justin.madirish.net/node/175
    On the other hand, you may want to connect to an Oracle database.
    - Is there one in the network that you can access?
    - Or are you trying to get to a brand new database? (including which OS, including version and edition is available for this)
    - If new, what is your intent? There are several different versions of Oracle database and understanding your purpose will help determine which to use.

  • Need help with connecting file inputs to arrays

    In this assignment I have a program that will do the following: display a list of names inputed by the user in reverse order, display any names that begin with M or m, and display any names with 5 or more letters. This is all done with arrays.
    That was the fun part. The next part requires me to take the names from a Notepad file, them through the arrays and then output them to a second Notepad file.
    Here is the original program: (view in full screen so that the code doesn't get jumbled)
    import java.io.*;       //Imports the Java library
    class progB                    //Defines class
        public static void main (String[] arguments) throws IOException
            BufferedReader keyboard;                                  //<-
            InputStreamReader reader;                                 //  Allows the program to
            reader = new InputStreamReader (System.in);               //  read the the keyboard
            keyboard = new BufferedReader (reader);                  //<-
            String name;                 //Assigns the name variable which will be parsed into...
            int newnames;               //...the integer variable for the amount of names.
            int order = 0;              //The integer variable that will be used to set the array size
            String[] array;             //Dynamic array (empty)
            System.out.println (" How many names do you want to input?");   //This will get the number that will later define the array
            name = keyboard.readLine ();
            newnames = Integer.parseInt (name);                                         // Converts the String into the Integer variable
            array = new String [newnames];                                               //This defines the size of the array
            DataInput Imp = new DataInputStream (System.in);       //Allows data to be input into the array
            String temp;                                       
            int length;                                                                  //Defines the length of the array for a loop later on
                for (order = 0 ; order < newnames ; order++)                                //<-
                {                                                                           //  Takes the inputed names and
                    System.out.println (" Please input name ");                            //  gives them a number according to
                    temp = keyboard.readLine ();                                           //  the order they were inputed in
                    array [order] = temp;                                                  //<-
                for (order = newnames - 1 ; order >= 0 ; order--)                                //<-
                {                                                                                //  Outputs the names in the reverse 
                    System.out.print (" \n ");                                                   //  order that they were inputed
                    System.out.println (" Name " + order + " is " + array [order]);             //<-
                for (order = 0 ; order < newnames ; order++)                                  //<-
                    if (array [order].startsWith ("M") || array [order].startsWith ("m"))     //  Finds and outputs any and all
                    {                                                                         //  names that begin with M or m
                        System.out.print (" \n ");                                            //
                        System.out.println (array [order] + (" starts with M or m"));         //
                    }                                                                         //<-
                for (order = 0 ; order < newnames ; order++)                                            //<-
                    length = array [order].length ();                                                   //
                    if (length >= 5)                                                                    //  Finds and outputs names
                    {                                                                                  //  with 5 or more letters
                        System.out.print (" \n ");                                                      //
                        System.out.println ("Name " + array [order] + " have 5 or more letters ");      //<-
    }The notepad file contains the following names:
    jim
    laruie
    tim
    timothy
    manny
    joseph
    matty
    amanda
    I have tried various methods but the one thing that really gets me is the fact that i can't find a way to connect the names to the arrays. Opening the file with FileInputStream is easy enough but using the names and then outputing them is quite hard. (unless i'm thinking too hard and there really is a simple method)

    By "connect", do you just mean you want to put the names into an array?
    array[0] = "jim"
    array[1] = "laruie"
    and so on?
    That shouldn't be difficult at all, provided you know how to open a file for reading, and how to read a line of text from it. You can just read the line of text, put it in the array position you want, until the file is exhausted. Then open a file for writing, loop through the array, and write a line.
    What part of all that do you need help with?

  • Help with connecting to NIST NTP server on port 123

    I can get NIST time in Daytime format using the rt_nist_date_time.llb example posted on ni.com, but I cannot connect to NIST NTP format time data using port 123.  I freely admit to being over my head with this stuff, and have spent much of this Thanksgiving holiday reading about UDP and TCP.
    The attached vi summarizes what I've tried so far.  The UDP case is what I thought would work, but I can't come up with a network address that the UDP-open vi likes.  Can anyone out there help this n00b tell the time?
    The attached file is supposed to be in 8.0 format, although I'm working in 9.0
    Here is a link discussing the time formats: http://tf.nist.gov/service/its.htm 
    Jeff 
    Solved!
    Go to Solution.
    Attachments:
    UDP.vi ‏17 KB

    jstevens wrote:
    THANK YOU!!!  I don't think I ever would have come up with connecting the web address to a Read or Write UDP rather than the Open UDP block.  Not to mention starting by opening port zero.
    Unlike TCP, UDP is a connectionless protocol. Here's a quick explanation in different words.
    A udp packet travels from a [sourceIP, sourcePort] to a [DestinationIP, destinationPort].
    UDP open basically reserves a local port used for sending (soucePort) and receiving (incoming packet with that same destinationPort). Since some local ports are always in use, you would generate an error if you would accidentally pick a used port. Picking zero is useful for requests (as in this case!), because the OS will pick an unused ephemeral port. The actual source port number does not matter because the NTP server will just send the reply packet back to whatever port it came from. (If you would write your own NTP server in LabVIEW, you would of course need to set the local port to 123, and would get a conflict if another NTP server is already running on your rig). Writing an NTP server in LabVIEW would be a trivial modification to the current code, try it! . Simply listen for packets on port 123, form a response packet based on the timestamp, and send it to whatever IP/Port it came from (that info is available from udp read) and then go back to listen for new requests.).
    UDP write sends a packet to the server using the above opened local port as source port. You can use the same connectionID to write to several other servers and ports, because UDP is connectionless. (TCP is connection based, so a TCP connection involves a defined source/destination pair)
    UDP read listens for incoming packets from all over the world at that same local port. It is very unlikely, but theoretically possible that other UDP packets will arrive at that same port, so you could even filter to make sure to read incoming packets until they match the port and IP of the original request. The current code is somewhat vulnerable to a DOS (denial of service) attack for example as follows: Imagine the guy in the next cubicle had means of sniffing your network traffic. He could write a small program that looks for your NTP requests and then immediately starts flooding your IP with meaningless UDP packets to the sourcePort you just used. The current program only reads one packet and thus will never see the return packet from the NTP server.
    UDP close frees up the local port and the computer is now no longer listening for packets on that port. Of course you could keep the port open for the duration of the program, especially if you intend to send UDP request once in a while during execution.
    Makes sense?
    LabVIEW Champion . Do more with less code and in less time .

  • Help with connecting a G4 with mac 9.2.2 to the internet?

    I am new to mac, and I have a G4 that runs on Mac 9.2.2. I plan on upgrading to 10.4.6 (tiger), but I am unable to get it to connect to the internet. Can anyone help?

    What is the specific model of your Mac? This can make a difference in some things.
    You can connect via a built-in 56K modem if it has one, but it will be very slow. Much better would be to connect via broadband (such as DSL or Cable) using an external modem, either hard-wired via ethernet (usual) or via wireless if available on the machine.
    Connecting via hard-wired ethernet is easy. You would need to acquire a modem that is acceptable to your ISP, or lease one from them if they make that option available. Either way, get one that connects via ethernet rather than via USB - USB on a G4 is just too slow for this purpose.
    The setup for ethernet is simple in OS 9:
    In the TCP/IP control panel (Apple menu > Control Panels > TCP/IP), set
         Connect via     -to-     Ethernet
         Configure         -to-     Using DHCP Server
    And that's usually all that is needed.
    Connecting via wireless, Airport in Apple's lexicon, is similar to ethernet, as far as setting up the software goes. In order to use wireless, the G4 will need to have an Airport card installed, or you can use a local transmitter which connects via ethernet to the G4. The modem would need to be connected to a receiver (base station) in order to complete the communication path with the Mac.
    If you choose to go this path, someone else would need to assist you in setting up the wireless components - I've never done that.
    However, if you do not now have wireless internet available, and this is going to be the only machine needing to connect to the internet, it would be much cheaper and easier to just connect the modem via wired ethernet directly to the Mac.
    In either case, you will also need to set up your email account. Your email service provider should provide you with the info you need to do that - account type and password, etc. This info is entered into the Internet control panel, Email tab.
    If I have misunderstood and you want to connect wirelessly directly to your ISP using something like those small transceiver type modems that many folk use with laptops, that's something else, and someone else would need to help with that.

  • Please Help in Connecting to a Postgres database

    Hi,
    I installed the ODI 10.1.3.5 in my PC, I'm using a Windows Server 2003 R2 Standard Edition, I puzzled of how to connect to a Postgres Database. I downloaded a postgresql-8.1-413.jdbc3.jar driver and placed it in the \OraHome_1\oracledi\drivers. Then what will I do next?
    Thanks,
    Randy

    Hi CTS,
    That was helpful, But I already added Postgres in Topology.
    My problem now is how to create a Master Repository in Postgres?
    Here are my settings;
    Driver : org.postgresql.Driver
    URL : jdbc:postgresql://localhost:5432/mydatabase
    User : username
    Password : password
    I select PostgreSQL in the Technology, badluck I receives this error message.
    Error Detected during Repository Installation com.sunopsis.tools.core.exception.SnpsRuntimeException: com.sunopsis.tools.core.exception.SnpsRuntimeException: Unable to find the XML file corresponding to your technology.
    Please someone help me on this.
    Thanks,
    Randy

  • Help with dispatching JTable event to underlying components in a cell.

    Hello..
    I have a JTable in which i show a panel with clickable labels.. I found that jTable by default doesnt dispatch or allow mouseevents to be caught by underlying elements..
    i need help with dispatching an event from jTable to a label on a panel in a jTable cell.. below is the code i have come up with after finding help with some websites. but i couldnt not get it right.. my dispatched event seems to go back to the jtable itself ..
    any help or suggestion is appreciated..
    Thanks
    'Harish.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import javax.swing.table.*;
    * @author  harish
    public class tableDemo extends javax.swing.JFrame {
        JTable jTable1;
        testpane dummyPane;
        /** Creates new form tableDemo */
        public tableDemo() {
            initComponents();
            //table settings
            String[] columnNames = {"Task", "Action"," "};
            Object[][] data = { };
            DefaultTableModel model = new DefaultTableModel(data, columnNames) {
              // This method returns the Class object of the first
              // cell in specified column in the table model.
            public Class getColumnClass(int mColIndex) {
                int rowIndex = 0;
                Object o = getValueAt(rowIndex, mColIndex);
                if (o == null)
                    return Object.class;
                } else
                    return o.getClass();
            jTable1 = new javax.swing.JTable(model);
            jTable1.addMouseListener(new MouseAdapter(){
              public void mouseClicked(MouseEvent e){
                  System.out.println("Clicked");
                  handleTableMouseEvents(e);
                 //invokeExternalApp("http://www.pixagogo.com");
              public void mouseEntered(MouseEvent e){
                  System.out.println("Entered");
                  //handleTableMouseEvents(e);
              public void mouseExited(MouseEvent e){
                  System.out.println("Exited");
                  //handleTableMouseEvents(e);
            jTable1.setRowHeight(100);
            jTable1.getTableHeader().setReorderingAllowed(false);
            jTable1.setBackground(new java.awt.Color(255, 255, 255));
            jTable1.setGridColor(new Color(250,250,250));
            jTable1.setShowGrid(true);
            jTable1.setShowVerticalLines(true);
            jTable1.setShowHorizontalLines(false);
            jTable1.setFont(new Font("Arial",0,11));
            jTable1.setMaximumSize(new java.awt.Dimension(32767, 32767));
            jTable1.setMinimumSize(new java.awt.Dimension(630, 255));
            jTable1.setPreferredSize(null);
            jTable1.setBackground(new Color(255,255,255));
            int vColIndex=0;
            TableColumn col = jTable1.getColumnModel().getColumn(vColIndex);
            int width = 100;
            col.setPreferredWidth(width);
            //add item to 2nd cell       
            Vector vec = new Vector();
            vec.addElement(null);
            dummyPane = new testpane();
            vec.addElement(dummyPane);
            ((DefaultTableModel)jTable1.getModel()).addRow(vec);
            jTable1.repaint();
            this.getContentPane().add(jTable1);
            jTable1.getColumn("Action").setCellRenderer(
              new MultiRenderer());
        protected void handleTableMouseEvents(MouseEvent e){
            TableColumnModel columnModel = jTable1.getColumnModel();
            int column = columnModel.getColumnIndexAtX(e.getX());
            int row    = e.getY() / jTable1.getRowHeight();
            testpane contentPane = (testpane)(jTable1.getModel().getValueAt(row, column));
            // get the mouse click point relative to the content pane
            Point containerPoint = SwingUtilities.convertPoint(jTable1, e.getPoint(),contentPane);
            if (column==1 && row==0)
            // so the user clicked on the cell that we are bothered about.         
            MouseEvent ev1 = (MouseEvent)SwingUtilities.convertMouseEvent(jTable1, e, contentPane);
            //once clicked on the cell.. we dispatch event to the object in that cell
         jTable1.dispatchEvent(ev1);
        private void initComponents() {
            addWindowListener(new java.awt.event.WindowAdapter() {
                public void windowClosing(java.awt.event.WindowEvent evt) {
                    exitForm(evt);
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
            setBounds((screenSize.width-528)/2, (screenSize.height-423)/2, 528, 423);
        /** Exit the Application */
        private void exitForm(java.awt.event.WindowEvent evt) {
            System.exit(0);
         * @param args the command line arguments
        public static void main(String args[]) {
            new tableDemo().show();
        // Variables declaration - do not modify
        // End of variables declaration
        class testpane extends JPanel{
            public testpane(){
            GridBagConstraints gridBagConstraints;
            JPanel testpane = new JPanel(new GridBagLayout());
            testpane.setBackground(Color.CYAN);
            JLabel lblTest = new JLabel("test");
            lblTest.addMouseListener(new MouseAdapter(){
              public void mouseClicked(MouseEvent e){
                  System.out.println("panelClicked");
              public void mouseEntered(MouseEvent e){
                  System.out.println("panelEntered");
              public void mouseExited(MouseEvent e){
                  System.out.println("panelExited");
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
            testpane.add(lblTest,gridBagConstraints);
            this.add(testpane);
    class MultiRenderer extends DefaultTableCellRenderer {
      JCheckBox checkBox = new JCheckBox();
      public Component getTableCellRendererComponent(
                         JTable table, Object value,
                         boolean isSelected, boolean hasFocus,
                         int row, int column) {
        if (value instanceof Boolean) {                    // Boolean
          checkBox.setSelected(((Boolean)value).booleanValue());
          checkBox.setHorizontalAlignment(JLabel.CENTER);
          return checkBox;
        String str = (value == null) ? "" : value.toString();
        return super.getTableCellRendererComponent(
             table,str,isSelected,hasFocus,row,column);
        return (testpane)value;
    class MultiEditor implements TableCellEditor {
      public MultiEditor() {
      public boolean isCellEditable(EventObject anEvent) {return false;}
      public boolean stopCellEditing() {return true;}
      public Object getCellEditorValue() {return null;} 
      public void cancelCellEditing() {}
      public boolean shouldSelectCell(EventObject anEvent) {return false;}
      public Component getTableCellEditorComponent(JTable table, Object value,
                  boolean isSelected, int row, int column) {
        if (value instanceof testpane) {                       // ComboString
          System.out.println("yes instance");
        return null;
      public void addCellEditorListener(javax.swing.event.CellEditorListener l) {
      public void removeCellEditorListener(javax.swing.event.CellEditorListener l) {
    }

    any help on this.. anybody. ?

  • Help with connecting iPad 2 to Motif xs keyboard using GarageBand.?

    I have an iPad 2. I recently bought the iPad camera connection kit from amazon because I heard you can connect your iPad to a music keyboard with GarageBand. I have a Yamaha motif xs 8. When I connect my keyboard with a midi USB to the iPad.. Nothing happens. Can anybody help with this, and am I missing something in order to make this work???

    It worked for me no problem but I'm using an ES Rack and the dude on the video I think was using an ES. It maybe the XS is wired differently. Your best option is still getting a piece like IK Multimedia's iRig Midi. It connects from the iPad dock to actual midi cables and is way more flexible if your using multiple devices.

  • MSI P67A-C45 (B3) Newb needs Help with connections..

    Hi all..
    First time posting here, but have been in the shadows for quite a while..   
    Anyway, i decided to finally take the plunge, and build my own PC, and now i'm beginning to hit a few bumps.
    I have a couple of questions that i would like some help with, if possible to reassure myself i may be in the right direction..
    I bought THIS PSU and was hoping someone could tell me where the Blue connectors (one labelled CP and one labelled U1) Connect to?
    Is it into JPWR2? And does it/do they only connect in the correct way? (Do i remove the plastic cap and attach both?
    and i bought THIS VIDEO/GRAPHICS CARD and i'm guessing the RED "PCI express" and "SLI ready" connect to that somehow (Haven't opened box yet for card)
    Again, wondering is there a certain way for them to connect.
    Also, from my chassis, the "AC '97" and "HDA" connectors go to JAUD (I guess), does it matter which one? (I currently have "HDA" connected)
    I have i5 2500k already on board. (If that makes a difference).

    Quote from: Ben_Cartwright on 26-May-11, 22:05:35
    Do the Audio plugs go into JAUD? and does it matter which one?
    Yep, connect the front panel audio to the JAUD. If you need the pin layout, it says in the manual. I would say the HDA connector is the one to connect.
    Quote from: Ben_Cartwright on 26-May-11, 22:05:35
    Any recommendations for testing it all, before i plug it in, and press the power?
    Should i (Can i) test individual parts first?
    Thanks again.
    Check all power connections, seating of the RAM and add-on cards, check the HSF is plugged into the fan header, and obvious things like that.
    As for testing, enter the BIOS and make sure the CPU isn't running too hot. Set up the RAM with the required timings and voltage, and test with >>Memtest86<< for several hours. No point starting the Windows installation if say your RAM has errors, since it will corrupt files during the install, if it installs at all.

  • Help with Connecting New Computer w/ WRT110

    My sister just got a new laptop and has the WRT110.  My brother in law passed away 3 weeks ago and he had the security passcodes.  I just called Linksys to get help with it and their warrenty is up and wanted to charge us $30.  Money is tight right now.  Is there anyone that can help us with this issue?
    Thanks so much

    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave Username blank & in Password use admin in lower case...
    Click on the Wireless tab..under Wireless tab,click on the subtab Wireless Security...Now,check the Security/Network Key.If you are using WEP Security then,use Key1 as the Security/Network Key.

  • Issue with Connection Oracle 11.2 database from Perl.

    Hello,
    We are trying to connect oracle 11.2 database from a perl script. I have verified that DBD::ORACLE version is 1.19. The environment is linux environment. Linux is SuSE linux and version is 10 SP1.
    The code we are executing is
    ============
    #!/usr/bin/perl -w
    use strict;
    use DBI;
    my $db = DBI->connect( "dbi:Oracle:SID", "USERID", "XXXXXX" )
    || die( $DBI::errstr . "\n" );
    my $SEL = "SELECT sysdate FROM DUAL";
    my $sth = $db->prepare($SEL);
    $sth->execute();
    my($cdate);
    while ( $sth->fetch() ) {
    Print "DATE: $cdate\n";
    $sth->finish() ;
    =======================
    We are receiving following error:
    install_driver(oracle) failed: Can't locate DBD/oracle.pm in @INC (@INC contains
    b/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8
    d-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at (eval
    Perhaps the DBD::oracle perl module hasn't been fully installed,
    or perhaps the capitalisation of 'oracle' isn't right.
    Available drivers: DBM, ExampleP, File, Oracle, Proxy, Sponge, mysql.
    at ./conn_db.pl line 4
    Please let us knowhow to resolve the issue?

    Are you sure DBD::Oracle is properly installed? I recommend you check DBD::Oracle installation and reinstall it if necessary. Also remember to read carefully README.txt note installation for your distro.

  • Help with connection to mysql database, Getting error : No suitable Driver

    Below is my code :
    1) i have added the mysql driver (mm.mysql-2.0.14-bin.jar)in my classpath
    2) the code is getting compiling properly
    3) while running it using tomcat, it says "NO SUITABLE DRIVER"
    PLEASE HELP !!
    import java.io.*;
    import java.text.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class logincheck extends HttpServlet {
    public void doGet(HttpServletRequest request,HttpServletResponse response)
    throws IOException, ServletException
    Connection con = null;
    PrintWriter out = response.getWriter();
    response.setContentType("text/html");
    PreparedStatement stmt = null;
    ResultSet rs = null;
    String userid = request.getParameter("userid");
    String password = request.getParameter("password");
    try {
    /** LOADING THE DRIVER FOR MYSQL DATABASE ***/
    Class.forName ("org.gjt.mm.mysql.Driver";
    } catch (ClassNotFoundException e) {
    e.printStackTrace();
    } //End of try-catch 1
    try{
         /*** CONNECTING TO THE DATABASE USING DATABASE NAME, USERNAME AND PASSWORD */
    con = DriverManager.getConnection("jdbc:mysql://localhost:8080/own");
    /****** this checks whether the entry for the user is in the database *****/
    stmt = con.prepareStatement("SELECT *FROM userinfo WHERE userid = ? AND passwd = ?");
    stmt.setString(1,userid);
    stmt.setString(2,password);
    rs = stmt.executeQuery();
    if(!rs.next())
    else
         /****************** IF THE USER AND PASSWORD ARE VALID *****************/
    //} // END OF RS.....
    // NEED HTML FOR INVALID USERID SHOWING MESSAGE ...
    con.close();
    }catch(SQLException esql){
    System.out.println(esql.getMessage());
    } // End of try-catch 2
    } // goGet
    public void doPost(HttpServletRequest request,HttpServletResponse response)
    throws IOException, ServletException {
    doGet(request, response);
    } // goPost
    } // end logincheck function ...

    And i see another thing that confuses me. Your URL connection string is
    con = DriverManager.getConnection("jdbc:mysql://localhost:8080/own"); meaning that your database is in your machine and listens in port 8080 for incoming connections. But that is the default port that Tomcat listens! Maybe you should change this line to
    con = DriverManager.getConnection("jdbc:mysql://localhost:3306/own");where 3306 is MySQL's default port.
    Hope these help.

Maybe you are looking for

  • Driver program problem

    dear experts, this is my driver program for the sap script. but when  i execute this i am able to display the form. please tell me where i had gone wrong. TABLES: BSEG,BKPF,SKAT. DATA : BEGIN OF I_BKPF OCCURS 0,        BSTAT LIKE BKPF-BSTAT,        X

  • Load-balancing nat-t connections to VPN concentrators

    I'm currently using a CSS to provide redundancy across some nat-t VPN RAS sessions to some VPN concentrators (in different geographical areas) This works fine, but because I have to create content rules for both UDP 500 and UDP 4500 traffic, I'm conc

  • How do you cut and paste with Firefoc for mobile?

    How do you the icons for cutting and pasting in Firefox Sync?

  • Best replication method to move data to DW

    DB version: 10.2.0.4 We have OLTP and DW running on different Oracle databases of same version. I want to move the few tables (one-fourth of the tables in a schema) to DW periodically / realtime. I have a plan to implement the Oracle Streams. But, th

  • Combobox dropdown menu bug in FlashPlayer 10

    Hello, I discovered that the combobox drop down menu do not drop UP in fullscreen with a screen format 16/10. Could you confirm ? See sample on http://gdfsuez.visitonweb.com/flash/awirs.html Regards, Dimitri