CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Davey

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. Thread: Overriding

    by Davey
    Replies
    1
    Views
    1,210

    Re: Overriding

    Have a read of this.

    http://java.sun.com/docs/books/tutorial/java/javaOO/override.html
  2. Replies
    2
    Views
    1,412

    Re: Problem with PrintWriter

    Did you call checkError() after flush() or instead of?
  3. Thread: memory problem

    by Davey
    Replies
    1
    Views
    1,332

    Re: memory problem

    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?
  4. Replies
    3
    Views
    1,507

    Re: Need help pls...thanks

    OK. Have a look at this thread.

    http://www.codeguru.com/forum/showthread.php?t=341173&highlight=java+dbf
  5. Replies
    3
    Views
    1,507

    Re: Need help pls...thanks

    You could make a ODBC connection to your dbf data source and then access it from java using JDBC with the JDBC/ODBC bridge.
  6. Replies
    4
    Views
    1,713

    Re: JDBC and SQL server 2000

    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...
  7. Replies
    4
    Views
    1,713

    Re: JDBC and SQL server 2000

    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...
  8. Replies
    3
    Views
    19,706

    Re: Export Jtable contents to Excel format

    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.
  9. Replies
    2
    Views
    1,934

    Re: How to increase JVM stack size

    What exactly is the error you are getting? Is Java producing a log file with more details? Are you running memory intensive threads?
  10. Replies
    3
    Views
    974

    Re: java 5.0 what makes the difference?

    My favourite is generics:

    http://myjavablog.blogspot.com/2005/01/j2se-new-features-generics.html
  11. Re: Getting information of another window in java...

    You could certainly do it using JNI and C++ to the Windows SDK.
  12. Replies
    2
    Views
    700

    Re: combine resultset

    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.
  13. Replies
    4
    Views
    1,165

    Re: Q's regarding double/float initialization

    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...
  14. Replies
    2
    Views
    1,316

    Re: getImage Applet NULL POINTER eXCEPTION

    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
  15. Re: Getting information of another window in java...

    I don't believe its possible to do this unless you use JNI.
  16. Replies
    3
    Views
    604

    Re: Problem inserting new record

    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.
  17. Replies
    2
    Views
    664

    Re: Help in - Java Web Start Setup.

    Have a look at the FAQ here

    Hopefully this will help.
  18. Replies
    1
    Views
    751

    Re: HOw to Execute JAVA Code using JFram

    I think you want to do something along the lines:


    public class MyClass extends JFrame implements ActionListener {


    setupMenu() {
    JMenuBar menuBar = new JMenuBar();

    JMenu...
  19. Replies
    1
    Views
    671

    Re: Set JFrame No Resizeable

    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)
  20. Replies
    1
    Views
    484

    Re: Need Help With Applet

    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.
  21. Replies
    4
    Views
    722

    Re: ive done something stupid!

    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...
  22. Replies
    4
    Views
    722

    Re: ive done something stupid!

    You seem to have unnecessary quotes arond your salary variable:



    This should probably read:


    String thisQuery = "SELECT* FROM EmployeeTable WHERE EmployeeSalary > "+salary;
  23. Thread: j2ee project

    by Davey
    Replies
    2
    Views
    673

    Re: j2ee project

    If you want to learn J2EE, have a look at Sun's tutorial
  24. Replies
    2
    Views
    595

    Re: EJB verification error

    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...
  25. Thread: for loop

    by Davey
    Replies
    4
    Views
    710

    Re: for loop

    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.
Results 1 to 25 of 248
Page 1 of 10 1 2 3 4





Click Here to Expand Forum to Full Width

Featured