Search:
Type: Posts; User: Davey
Search:
Search took 0.06 seconds.
-
June 10th, 2005, 03:37 AM
Have a read of this.
http://java.sun.com/docs/books/tutorial/java/javaOO/override.html
-
June 10th, 2005, 03:36 AM
Did you call checkError() after flush() or instead of?
-
June 10th, 2005, 03:31 AM
If you need this amount of memory, you need it! Have you tried increasing the memory available to Java to more than 128M?
-Xmx256m perhaps?
-
June 10th, 2005, 03:27 AM
OK. Have a look at this thread.
http://www.codeguru.com/forum/showthread.php?t=341173&highlight=java+dbf
-
You could make a ODBC connection to your dbf data source and then access it from java using JDBC with the JDBC/ODBC bridge.
-
I'm not sure if users are sored in a backup (I would imagine so however). When ever I transfer a database, I usually end up creating a login with the command sp_addlogin (see...
-
I don't think you can use Windows authentication for JDBC to SQL Server, you have to use SQL Server authentication. See http://support.microsoft.com/default.aspx?scid=kb;en-us;313100
You will...
-
You could try outputting them in CSV format i.e.
a,b,c
d,e,f
g,h,i
If you save it with a .csv extension I think Excel will then open it correctly.
-
What exactly is the error you are getting? Is Java producing a log file with more details? Are you running memory intensive threads?
-
My favourite is generics:
http://myjavablog.blogspot.com/2005/01/j2se-new-features-generics.html
-
You could certainly do it using JNI and C++ to the Windows SDK.
-
Is it possible to run your query either through a stored procedure or view on the database? That way you wouldn't need to have such a long statement poassed to JDBC.
-
It certainly looks like a bug in the compiler. You should inform Sun about it. There doesn't seem to be any reference to this bug on the Bug Parade
I've compiled and run this successfully on...
-
Applets are intended for use inside a web page.
If you want to get an image from a URL, you could try something like this
-
I don't believe its possible to do this unless you use JNI.
-
You could try compacting the database to see if it can reclaim any space. You should be able to store more than100M in an Access database.
-
Have a look at the FAQ here
Hopefully this will help.
-
I think you want to do something along the lines:
public class MyClass extends JFrame implements ActionListener {
setupMenu() {
JMenuBar menuBar = new JMenuBar();
JMenu...
-
Use the setResizable() method passing false as the parameter.
myFrame.setResizable(false);
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Frame.html#setResizable(boolean)
-
I suggest you have a read of this tutorial from Sun. It begins to describe how you can add AWT components (such as buttons) onto your applet.
-
Sorry, you're right you can't add ints onto strings. I should have said you need to do something like:
String query = "select * from ... where EmployeeSalary>";
int salary = 100;
query...
-
You seem to have unnecessary quotes arond your salary variable:
This should probably read:
String thisQuery = "SELECT* FROM EmployeeTable WHERE EmployeeSalary > "+salary;
-
If you want to learn J2EE, have a look at Sun's tutorial
-
It looks lime you've declared a method on the Remote Interface of your bean, but not implemented this correctly in the implementation class.
If your remote interface is:
public void...
-
April 25th, 2005, 03:36 AM
Eclipse 3.0 doesn't support Java 5.0 features. I think Eclipse 3.1 M4 and later support Java 5 but there are not production ready yet.
|
Click Here to Expand Forum to Full Width
|