Search:

Type: Posts; User: copeg

Page 1 of 20 1 2 3 4

Search: Search took 0.34 seconds.

  1. Replies
    4
    Views
    75

    [SOLVED] Re: Throwing Exceptions Problem

    The exception states there is no constructor that accepts those arguments, so I'd recommend having a look at the Employee class. Is there a constructor? Is the following a constructor?



    See...
  2. Re: Inserting mySQL record via JDBC, java code insert syntax error

    Forget JDBC for the moment - I would recommend opening up a SQL command line interface and execute the command from there - this makes debugging SQL commands much easier as it doesn't have the added...
  3. Thread: How to use where

    by copeg
    Replies
    2
    Views
    78

    Re: How to use where

    You tell us? What happens when you tried to execute it? Can you execute this statement directly with your SQL command line interface?
  4. Replies
    7
    Views
    142

    Re: JTree Branch Icon Rendering

    public Component.getTreeCellRendererComponent(JTree tree, Object value,boolean selected,boolean expanded, boolean leaf, boolean row, boolean hasFocus)


    I don't understand the line above - this...
  5. Replies
    3
    Views
    113

    Re: Avoid duplicates on ArrayList

    As an alternative to List, and better suited at dealing with duplicates, see The Set Interface (The Java™ Tutorials > Collections > Interfaces)
  6. Replies
    11
    Views
    132

    Re: BinarySearchTree findSmallest problem..

    Reread the my last post - it suggest following the parent nodes - where will those take you? (Perhaps to the root of the matter - hint, hint...)
  7. Replies
    11
    Views
    132

    Re: BinarySearchTree findSmallest problem..

    That's an answer relative to where you are - there should be a more absolute place to start (what if you keep following the 'left tree parent node'?)
  8. Re: TRying to implementing from 32bit to 64 bit..

    An int by definition is 32-bit, so the default behavior of Object.hashCode is by definition 32-bit. One must use a different data type if you want 64 bit - in which case you cannot use the default...
  9. Replies
    11
    Views
    132

    Re: BinarySearchTree findSmallest problem..

    Think about the algorithm used to traverse the tree to find the smallest - where should it start?
  10. Replies
    3
    Views
    122

    Re: What is the right code for this???????????

    If you have specific questions about your attempts, please post them in a separate thread, as I am locking this one
  11. Replies
    4
    Views
    109

    Re: I need help with declaring a 2D array

    Welcome to the forums. Please read the Forum Guidelines to learn important information for newcomers, including how to properly format code. I have merged the duplicate posts.
  12. Replies
    5
    Views
    126

    Re: Conversion of Excel file into text file

    Your post above suggests two other java libraries, both of which can be used to convert excel to text - both of which have help/doc pages describing how to use each library. So to answer your...
  13. Replies
    5
    Views
    126

    Re: Conversion of Excel file into text file

    Does this mean you figured it out? Do you still have a question?
  14. Replies
    5
    Views
    126

    Re: Conversion of Excel file into text file

    What did your research tell you? Did you try and search the internet using your favorite search engine?
  15. Replies
    1
    Views
    71

    Re: Parsing ID3 tags

    Welcome to the forums. Please don't resurrect old posts, especially ones as old as five years. I have moved your post to its own thread, and refer to the original below:
    ...
  16. Replies
    1
    Views
    255

    Re: Problem with installation MySQL Connector

    A database driver should be a jar file which you can add to the classpath of your java application. What you downloaded does not sound like a jar file, but an installer file in which case - presuming...
  17. Replies
    2
    Views
    150

    Re: Can anyone do this assignment for me?

    No - no one will do this for you. I recommend following ChristopherLowe's excellent advice. If you have a specific question about the attempts you have made, then post all information that will make...
  18. Replies
    8
    Views
    131

    Re: Easy Script Being Terminated?

    Please read the Forum Guidelines useful information, including how to properly use the code tags to preserve formatting.
  19. Replies
    6
    Views
    277

    Re: PRINTING (from BlueJ)

    Suggested reading: Lesson: Printing (The Java™ Tutorials > 2D Graphics)
  20. Replies
    7
    Views
    153

    Re: jframe not drawing background color

    http://www.java-forums.org/new-java/93339-jframe-not-drawing-background-color.html
  21. Re: Data (BLOB) modifies after insertion to mySql (jsp, servlet)

    By passing the image directly into the quoted statement, 'image' is going to be converted into a String. Try using parameter assignment for the PreparedStatement, and set the blob using the setBlob...
  22. Replies
    2
    Views
    115

    Re: Opening A serial port in a GUI

    Add a shutdown hook. See Runtime (Java Platform SE 7 )



    Not sure what you mean...you can pass an instance of the class to other classes/methods, or you can make it static.
  23. Replies
    6
    Views
    255

    Re: JPF Reputation and how it works.

    User reputation has historically been a lesser used feature of the forums, but it's intent is to distinguish highly valued, knowledgeable, and long-time contributors of the forum. Each member has two...
  24. Thread: Java and HTML

    by copeg
    Replies
    2
    Views
    190

    Re: Java and HTML

    Curious where you read that - my understanding is that J2EE is alive and well.



    Using a programming or scripting language is powerful when it comes to making dynamic websites, allowing one to...
  25. Replies
    5
    Views
    155

    [SOLVED] Re: Using Scanner and Converting String to Int

    The Exception has a lot of information worth looking hard at:



    Why are you trying to parse a letter into an integer? I would also recommend reading the API of any classes and their methods you...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4