Search:

Type: Posts; User: jashburn

Page 1 of 8 1 2 3 4

Search: Search took 0.26 seconds.

  1. Replies
    5
    Views
    927

    Re: What's wrong with my method?

    Just to expand on this a bit more in case you're still unsure of the documentation at ArrayList (Java Platform SE 7 ), there are two possible causes of ConcurrentModificationException:

    "If...
  2. [SOLVED] Re: Issue : java.io.UnsupportedEncodingException: utf-7

    You're welcome.

    You can try placing the jar file there and restart the server. If you have looked through the link I provided, you'd see that there are a few other locations where you can place...
  3. [SOLVED] Re: Issue : java.io.UnsupportedEncodingException: utf-7

    Have you tried putting jcharset.jar into the locations mentioned at JCharset - Java Charset package? E.g., I've tried putting it into jre/lib/ext/, and this works for me.
  4. Replies
    1
    Views
    1,027

    Re: Image input = null?

    The classpath that is set when you execute your program (via NetBeans, batch file or command line) does have something to do with this. The API documentation for getResourceAsStream() states,
    ...
  5. Replies
    3
    Views
    1,052

    Re: Trying to restart a loop at a certain point

    In general you can use the continue keyword to skip the current iteration of a loop to the end to start a new iteration. See Branching Statements (The Java™ Tutorials > Learning the Java Language >...
  6. Re: I am having troublefully installing java SE on windows 8

    Since you earlier mentioned that you do not have the PATH environment variable set, putting in the wrong value for this variable now will NOT mess up your computer. If you're modifying an environment...
  7. Replies
    6
    Views
    1,380

    Re: error in type2driver

    Related to http://www.javaprogrammingforums.com/jdbc-databases/37757-regarding-driver-identification.html.

    Type 2 drivers are hybrid drivers that are part Java and part native. For the latter part...
  8. Replies
    3
    Views
    1,423

    Re: regarding driver identification

    According to Oracle JDBC Frequently Asked Questions there are only type 2 and type 4 drivers. Look through the other questions in the FAQ. You should be able to find what you need to know there.
  9. Re: Running jar with libraries from a jar file in linux

    Please clarify what you mean by "syntax itself seems to be working." How is it that it is "working"? By "it's not finding the main class," do you mean if you type/paste the command that is...
  10. Replies
    2
    Views
    1,727

    Re: Limits of "FEATURE_SECURE_PROCESSING"

    Go through Lesson: Processing Limits (The Java™ Tutorials > Java API for XML Processing (JAXP)), in particular, Using the Limits (The Java™ Tutorials > Java API for XML Processing (JAXP) > Processing...
  11. Re: How do i make my Jbutton ( with icon ) keep his collors when i disable him?

    Option 3: Use the setDisabledIcon(Icon disabledIcon) method, passing to it the same icon used for button1.setIcon(icon). When the button is disabled, the button will be greyed out but its icon will...
  12. Replies
    6
    Views
    1,328

    Re: JComboBox size?

    You might want to try SpringLayout. Take a look at the screenshots at How to Use SpringLayout (The Java™ Tutorials > Creating a GUI With JFC/Swing > Laying Out Components Within a Container) to see...
  13. Re: Running jar with libraries from a jar file in linux

    If you have a command, "/path/to/bin/java -cp /path/to/jars pkg.MainClass", break it up into separate strings as delimited by the space characters in the command, and assemble the strings into an...
  14. Thread: Chess

    by jashburn
    Replies
    2
    Views
    1,242

    [SOLVED] Re: Chess

    There are 3 main points:

    bishop1 is assigned the reference to a Queen object, which is then assigned to piece; rook1 is also assigned the reference to a Queen object, which is then assigned to...
  15. Replies
    6
    Views
    1,163

    Re: Building DOM object from multiple threads

    Is the writeToReportFile() method called only once after processing from all the threads (that call writeReportLine() to build up reportOutput) completes? I'm asking because you wrote,...
  16. Re: How to block the JSP being called by GET method

    I'm not sure if I completely understand your question... Are you asking for the way to disable GET requests to a JSP file so that the userid and token parameters cannot be provided to the JSP file...
  17. Re: DocumentBuilder.parse raises the error "The prefix "c" for element "c:de" is not bound."

    Cross-posted and answered at java - DocumentBuilder.parse raises the error "The prefix "c" for element "c:de" is not bound." - Stack Overflow.

    In the future please include the URL of any other...
  18. Re: Running jar with libraries from a jar file in linux

    You need to use colons (:) for the -cp argument.

    Print jarRunner to System.out to see its final form. Copy the printout and run it on command line confirm that it has been constructed properly. If...
  19. Replies
    2
    Views
    1,205

    Re: Its Legal Instal Oracle JDK on Linux?

    As far as I know, yes, it is legal to install the Oracle JDK on Linux. The main thing to consider is the Oracle Binary Code License Agreement for Java SE, which you must accept before you can...
  20. Replies
    3
    Views
    879

    Re: JButton Positioning:

    Cross-post: JButton positioning:
  21. Replies
    4
    Views
    1,813

    Re: Look for hosts in LAN network

    I'm not very familiar with this topic, but it seems that a MulticastSocket might help. See Broadcasting to Multiple Recipients (The Java™ Tutorials > Custom Networking > All About Datagrams).
  22. Re: I am having troublefully installing java SE on windows 8

    I don't know why you don't already have a PATH environment variable because I don't use Windows 8.

    When you click on the "New" button, all you need to do is fill in:

    Variable name: PATH
    ...
  23. Replies
    2
    Views
    1,990

    Re: HTTP post with json data using java

    You can quite easily find out how to do this by making a few Internet searches. E.g.,

    Search term: java http client json

    Example result:

    Simple REST client in java | harryjoy
    Making HTTP...
  24. Re: how to configure sqlserver jdbc driver type 4

    Cross-post: how to install and configure sqlserver jdbc driver type 4

    Please wrap your code with [code] tags so that it is easier to read, e.g.,


    // your code here


    It preserves formatting...
  25. Replies
    1
    Views
    1,035

    Re: Java JOptionPane text unreadable

    I can't reproduce your problem, but I'm on Linux.

    Do you get 2 option panes displayed one after the other when you click OK/Cancel on the first option pane? If so, does the second option pane have...
Results 1 to 25 of 180
Page 1 of 8 1 2 3 4