User Profile

Collapse

Profile Sidebar

Collapse
js06am
js06am
Last Activity: Feb 24 '08, 03:57 PM
Joined: Feb 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • js06am
    started a topic JDBC select query
    in Java

    JDBC select query

    Hi,
    I want to perform a jdbc select query and populate a JComboBox with the results returned. Is this possible?
    See more | Go to post

  • js06am
    replied to JDBC connection with configuration file
    in Java
    If I read my configuration file into a Properties object, how would you then use this properties object to specify a driver and connection? Can this be written as a simple line like the other methods of "Connection connection - DriverManager.g etConnection(.. ." etc or would you need to write a small method?
    See more | Go to post

    Leave a comment:


  • js06am
    started a topic JDBC connection with configuration file
    in Java

    JDBC connection with configuration file

    Hi.

    Is it possible to connect to a database using JDBC with a configuration file? I understand and can implement the alternate methods such as "Class.forName( "...."); " and "Connection connection = DriverManager. getConnection(" .....");" etc, but I am struggling to come up with a solution for a configuration file (which I have, which specifies the driver and database url.

    Any tips...
    See more | Go to post

  • js06am
    replied to Creating triangles in Java
    in Java
    thank you that was just what I needed to do!
    See more | Go to post

    Leave a comment:


  • js06am
    started a topic times in Java
    in Java

    times in Java

    Just working over some past-exam paper questions in preparation for my upcoming programing exam and I'm a little confused by the following:

    "Imagine that you have written a class o produce a four-digit clock display (showing times as a 24-hour clock, for example "14:30"). List four example of (legal) times that would be useful for testing that the display works correctly."

    Now this question is from...
    See more | Go to post

  • js06am
    started a topic StringTokenizer 'legacy class'
    in Java

    StringTokenizer 'legacy class'

    The API specification for the Java 2 Platform Standard Edition 5.0 states that the class StringTokenizer is 'a legacy class.' What does this mean?

    a.m.
    See more | Go to post

  • js06am
    started a topic Getting graphic objects to move
    in Java

    Getting graphic objects to move

    I have a set of graphic objects, (g.fillOval)'s, and I would like them to move from one set of x & y coordinates to another set elsewhere.

    I'm still new to Java so can anybody suggest what I can do? Some of these ovals will cease moving when they reach the new coordinates while others will continue to move.

    I am aware this may be alot to explain, if anybody knows a good java game programming website that can explain...
    See more | Go to post
    Last edited by js06am; Apr 20 '07, 04:27 PM. Reason: extra text needed

  • js06am
    started a topic Creating triangles in Java
    in Java

    Creating triangles in Java

    I can't for the life of me work out just how to draw a triangle in java. Using the g.fillRect etc has been easy for rectangles but I have absolutely no idea where to start with triangles. Any suggestions?
    See more | Go to post
No activity results to display
Show More
Working...