Search:

Type: Posts; User: WhiteSoup12

Page 1 of 2 1 2

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    936

    Re: can't get my entered values

    There is nothing in the addrec method to store the parameter values in the array. Here's an example of how you would do that...



    public void addrec(int a,String b,String c,int d)
    {
    ...
  2. Re: ClassNotFoundException while executing XQuery using Java

    I'm guessing the missing class is actually oracle.orai18n.text.OraCollator? How is this application packaged? WAR, JAR, etc?
  3. Replies
    4
    Views
    1,215

    Re: How to Make Java Commands

    If you have a lot of options for the user to enter, use a switch that has the options and the destinations (where in the program it should take them). When a user selects an option, the switch picks...
  4. Replies
    2
    Views
    1,285

    Re: Upload files using scheduler

    So if I understand correctly, you are wanting to run this application only once and you want it to be called by another application? If this is how you are wanting to do it, you should package the...
  5. Replies
    1
    Views
    944

    Re: MIDI Message Output

    So I figured out how to do this last night using JFugue's Anticipator. The API still isn't where it needs to be, but luckily they provide the source code for it, so I am able to make modifications...
  6. Replies
    1
    Views
    944

    MIDI Message Output

    I have been all over the web for the past week trying to find a way to do this... I am able to import a MIDI file and get the messages, such as the key, start time, velocity, etc., but what I am...
  7. Replies
    1
    Views
    1,370

    Re: Spring Bean Value

    Found the solution. If using Spring 3, <value>#{username}</value> works. If using Spring 2, <util:property-path path="bean.username"/> is equivalent.
  8. Replies
    1
    Views
    1,370

    Spring Bean Value

    Okay, so we have an application that uses Spring 2. I have a bean that accesses a method which returns a username (process ID) and password to be used in a database connection. The problem I am...
  9. Replies
    1
    Views
    1,062

    Re: can any body help to correct this error

    Maybe check the spelling on the text in red.
  10. Replies
    1
    Views
    1,563

    Re: Problem developing app for Android

    Have you tried debugging to see if the table is actually being created?
  11. Replies
    29
    Views
    3,234

    Re: a very confusing exception

    Looks to me like your while loop is missing a closing bracket...
  12. Replies
    5
    Views
    1,130

    [SOLVED] Re: Selection sort not working

    We all have those kinds of days... :)
  13. Replies
    5
    Views
    1,130

    [SOLVED] Re: Selection sort not working

    Your sortID method is never called... main method should look like this (assuming you only want to print the list once)...


    public static void main(String[] args) {
    List<Item> myStore = new...
  14. Replies
    3
    Views
    1,314

    Re: Problem Finding Value from List

    I do have all the variables being set in a backing bean. Problem is, because the links are being set from a List, I don't think the page knows what link is being clicked (or at least I don't know...
  15. Replies
    3
    Views
    1,314

    Problem Finding Value from List

    Okay, so here's the setup... I have main.xhtml file that displays four links to the user. These links are categories that determine what category is viewed on the next page. The categories are in a...
  16. Replies
    1
    Views
    1,368

    Retrieve value from JSF

    Okay, so here's the setup... I have main.xhtml file that displays four links to the user. These links are categories that determine what category is viewed on the next page. The categories are in...
  17. Re: Need help correcting a JFrame program for class!

    Add "private static final long serialVersionUID = 1L;" to your class level variables, right above "private final int WIDTH = 500;".
  18. Re: I am trying to connect my java application with SQL Server 2008 but I get error m

    There should be a jar that contains the Driver class needed to make the connection to the DB. That should fix the ClassNotFoundException.
  19. Replies
    12
    Views
    3,412

    Re: Correct connection to DB?

    It looks like your JDBC does not specify a database for which to find the table. Try using a full URL like "jdbc:derby://localhost:1527/myDB;create=true;user=user;password=user".
  20. Replies
    0
    Views
    1,867

    Resume Application in Original State

    So here's the setup... I have an application that streams a live radio station from a URL. I currently have it so that the stream still resumes playing after the user has pressed the back button. As...
  21. Replies
    6
    Views
    1,673

    Re: Not sure where the error is coming from

    That is the source of the error. Per my post above, i is out of bounds because it is being set to the length of the type array rather than being set incrementally through the for loop.
  22. Replies
    2
    Views
    3,611

    Re: guessing game assignment

    I'm not sure what your programming level is, but this would be much easier to do with a while loop.
  23. Replies
    6
    Views
    1,673

    Re: Not sure where the error is coming from

    The text in red needs to be removed. Your for loop is moving through i (which starts at 0) incrementally. When you set i to the length of the type array, you're messing up that for loop.
  24. Replies
    5
    Views
    1,248

    Re: error when comparing 2 string objects

    Where's your main method?
  25. Replies
    7
    Views
    3,425

    Re: Calendar Program Help

    Thanks for the reminder, Dan! I have changed the code to account for century years...

    /** Get the number of days in a month */
    static int getNumberOfDaysInMonth(int year, int month) {
    if (month...
Results 1 to 25 of 34
Page 1 of 2 1 2