Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: ebiz
Forum: Java Nov 29th, 2008
Replies: 12
Views: 1,656
Posted By ebiz
package org.project;

import java.util.*;
import java.io.*;
import javax.swing.*;

public class openResults
{

public static void readMatch() throws FileNotFoundException
Forum: Java Nov 29th, 2008
Replies: 12
Views: 1,656
Posted By ebiz
I have changed the code. Just put on here the original.

here is a few lines of the file
westham,0,0,Queens Park Rangers
man u,1,0,Preston North End
Forum: Java Nov 29th, 2008
Replies: 12
Views: 1,656
Posted By ebiz
Thank You. I have mended these problems, but this creates a default table. I need to get the data from a text file. How would I manage this? I am currently importing a text file through a...
Forum: Java Nov 28th, 2008
Replies: 12
Views: 1,656
Posted By ebiz
Thank You.

frame.getContentPane().add(jsp);
this comes up with an error...

and so does:
DefaultTableModel
Forum: Java Nov 28th, 2008
Replies: 12
Views: 1,656
Posted By ebiz
I have a button which opens up the file chooser. When a txt file is selected a Jframe appears with the data in. How do I change this, so the data displays in a JTable?

Here is my current code
...
Forum: Java Nov 28th, 2008
Replies: 9
Views: 600
Posted By ebiz
No errors come up, but the date and time is still not appearing...
Forum: Java Nov 28th, 2008
Replies: 9
Views: 600
Posted By ebiz
I have created this, but the two "Date" appear in red so the program sends back errors...

private JLabel label;


Date today = new Date();
label.setText("today is: " + today);
Forum: Java Nov 28th, 2008
Replies: 9
Views: 600
Posted By ebiz
Sorry, probably a very simple thing, but I dont understand. Where do I put this within my code?

package org.project;

import java.awt.event.*;
import java.io.IOException;
import...
Forum: Java Nov 28th, 2008
Replies: 2
Views: 512
Posted By ebiz
I currently have an Oracle database, a Java Program, and a text file. Text files are being read by the system, which automatically updates the database. How would I make a JTable to make the database...
Forum: Java Nov 28th, 2008
Replies: 9
Views: 600
Posted By ebiz
Hi. I currently have set up a GUI to have buttons on, linking to all my other classes.

I am wondering how I would put the date and time at the bottom of the JFrame/JPanel. How would I do this, and...
Forum: Java Nov 20th, 2008
Replies: 4
Views: 875
Posted By ebiz
thanks. i heard something about arrays, so i need to set the data from the text file as arrays, if so, how?
Forum: Java Nov 20th, 2008
Replies: 8
Solved: FileChooser
Views: 1,367
Posted By ebiz
thanks for your help. its working now
Forum: Java Nov 20th, 2008
Replies: 8
Solved: FileChooser
Views: 1,367
Posted By ebiz
Thank You for your help.

I have tried adding that code, but the reader is not found, as they are all underlined, and say "unhandled exception type IOExpection".

I added in "File fileName;" from...
Forum: Java Nov 20th, 2008
Replies: 8
Solved: FileChooser
Views: 1,367
Posted By ebiz
Is this within the same class? and do you need to import anything else other than these?

import java.io.*;
import java.util.Scanner;
import java.awt.*;
import java.awt.event.*;
import...
Forum: Java Nov 20th, 2008
Replies: 8
Solved: FileChooser
Views: 1,367
Posted By ebiz
I wondered if anyone could help. I am trying to use a FileChooser in java. I have got the dialog box to appear and can select the file, but the box just displays "opening" and the file name. how to I...
Forum: Java Nov 20th, 2008
Replies: 4
Views: 875
Posted By ebiz
I currently have a table in oracle which I have created, but need to take a text file (which I have used a fileChooser for) and then use this file to update the records in the oracle database. How...
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC