Search:

Type: Posts; User: Bob_Sadarka

Page 1 of 3 1 2 3

Search: Search took 0.49 seconds.

  1. Re: No suitable driver found for jdbc:mysql://localhost/books

    You have to declare the driver class name for MySQL, for example:



    Class.forName("com.mysql.jdbc.Driver");
  2. Replies
    5
    Views
    2,587

    Re: What is SCJP?

    CodeRanch is a good site for discussing about Java certifications. Almost Java certified persons visit it.
  3. Re: How to open files that are represented in a JTree

    You have to use tree selection listener or mouse clicking event.
  4. Re: Why my void run method cannot be execute?

    You should submit the Runnable object to the ExecutorService, for example:



    executor.submit(task)
  5. Replies
    4
    Views
    532

    Re: Ways to do it

    So think again, because doing such program requires privileges to access OS API, that is not appropriate for Java.
  6. Replies
    2
    Views
    648

    Re: Extract the file path

    I would suggest you to read this article: Show Open File dialog using JFileChooser | Nam's – The New Java Developer Blog
  7. Replies
    1
    Views
    441

    Re: Struts with JNI

    Yes, it is possible, using JNI to create a Java class that wraps the DLL's functions and exposes them to Struts.
  8. Replies
    1
    Views
    250

    Re: Email templates

    you can use a template engine such as Velocity or FreeMarker to template the email content.
  9. Replies
    8
    Views
    770

    Re: Programming Courses

    Hi, my Skype is: ha_minh_nam
  10. Replies
    8
    Views
    1,842

    Re: should I use J2EE or not?

    Anything involves in working with Servlets, JSP, JSTL, web services... meaning you are using Java EE, no matter how complicate your application is.
  11. Replies
    4
    Views
    825

    Re: NullPointerException

    Surprise that we ditched into the one month old topic. Anyway, null pointer exception is the most popular runtime error in Java programming, so it should be taken with care.
  12. Replies
    2
    Views
    1,104

    Re: SwingWorker class, the process method

    The API document explains well enough, that is, the process method is called by the publish() method which should be invoked from the doInBackground() method. Consult the Java API document for more...
  13. Replies
    6
    Views
    937

    Re: PApplet question

    Have you tried the following?



    super.setVisible(false);
  14. Replies
    11
    Views
    682

    Re: Popular Language

    If you want to write games for mobile, you definitely need to learn Java (Java ME). For games on desktop PC, C/C++ is probably your option because it can leverage the powerful of hardware and the OS...
  15. Re: pass parameters from jsp to another jsp

    Looks like you passed the "name" parameter to the viewvideo.jsp page incorrectly? How did you exactly do that?
  16. Replies
    8
    Views
    770

    Re: Programming Courses

    Hi, I have some years of experience in Java so I'd like to help you. Pay for hour, ok?
  17. Replies
    2
    Views
    430

    Re: Help with inheriting classes

    The method addRole(Role r) is to add a role to the role list of a person. Each person has a list of roles.
  18. Replies
    3
    Views
    427

    Re: Warning when I do a build

    You got the warning because you didn't declare a parameterized map. So change the declaration of the map to the parameterized version, for example:



    Map<String, Object> runTaskMap = new...
  19. Re: spring framework to write server side code

    So you may need to take a look at Spring Web Services: Spring Web Services - Home
  20. Replies
    15
    Views
    4,175

    Re: Java Online Compiler

    Hi, I would not debate about the usefulness of an online compiler which you are going to build. I just want to suggest a solution technically. You can use the System.getRuntime().exec() method to...
  21. Re: I need to make cases in a switch statement over certain ranges

    The switch construct can only check for constants, if you want to check for a range, you should use if then structure instead.
  22. Replies
    2
    Views
    4,636

    Re: Read filein java using relative path

    I tested, it definitely work:



    File file = new File("../../test.txt");
    FileInputStream fis = new FileInputStream(file);
    System.out.println("Size = " + fis.available());...
  23. Re: IDE for developing quick Java applications for mobile phones?

    The developers of the visual editor will be very sad if they hear that.
  24. Re: Problem retreving data from another JFrame in Java

    You can solve the problem by using some sort of waiting method for the SecondWindow. When the MainWindow opens the SecondWindow, it also calls the waiting method of the SecondWindow. The waiting...
  25. Replies
    22
    Views
    9,996

    [SOLVED] Re: Simple Library Program / Need feedback.

    hi,

    you have done a good job! I haven't looked deeper into your code yet, however I have a comment:
    - Avoid writing monolithic application (which is a program which has only one source file for...
Results 1 to 25 of 58
Page 1 of 3 1 2 3