Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top Java Solutions: 326 - 350 of 685
 
i have a txt file that contains usage history for different applications. i want to parse the txt file and display the contents in a jtable but i cant get it to work.  i havent worked with ...
Hi, I have a stand alone java application, I want to call a servlet on my web server. What's the right way to go about doing that? I see java has some built in http classes, then there a...
I'm trying to create a binary search for my program and I have looked at a bunch of templates but cant figure out how to implement it into my code. I am trying to compare two arrays , stateArr...
thats what i got so far. but i am still having some problems please help me. again  i want to search the array to find / not-find each one search argument in the search file using a sequential...
My program compiles without any errors but when I try to run the program I get 2 errors: Exception in thread "main" java.lang.NullPointerException         at MortPay5.<init>(MortPay5.java:82...
hey guys, im sure this is a really easy thing to do, however my mind's just locked up and refuses to budge. i have the following string: '1a, 2b, 3c, 4d, 5e, 6f, 7g' i'd like to split...
im working on a program. first i want to build an array with 50 objects. then print it and have a column header, followed by a blank line, followed by single      spaced (one line per object) outp...
Our system makes a large amount of HTTP requests via Java every day, and periodically we have periods where we get a large percentage of "java.net.UnknownHostException" exceptions (10-50%).  O...
Hi, I have a class like:     public class Test     {         private static Food MEAL = new Food();         public Test()        {        }     } Is the initialization of MEA...
I want to create a table query tool. This tool will assist our development team to quickly determine if queries work or not. I want to create a form JSP page with a text field that the use...
What I wish to do is to read the BufferedReader twice. After reading the first time I try to reset it but I couldn't. see my code down :
I need java source code to locate all zip codes within x miles of a zip code.
Dear all, I used jcifs.jar  to enable  my Java application to remotely access shared files and directories on SMB file servers and read the file content. it is working fine but i have a probl...
Can anyone please tell me how to retrieve remote machine's JVM parameters using JMX with JDK1.4? I have tried adding the JMX 1.2 implementation jars into the classpath of my program, I can ...
Hi, I have a java application that was developed in Java 5 and is having problem running in Java 6. In the Java Application I need to call a web service. URLEndpoint endPoint = new URLEnd...
I currently have a JTextArea that i wish to highlight data in bold and coloured text but I'm not sure how to do this. Could I change my JTextArea to be like a webpage ie: i can easily chan...
Hi I'm using Ant to write some strings to a file. To write a < or a > symbol, I need to do:     &lt;     &gt; what would I need to use for a newline character? I want to write some ...
what is wrong with the following snippet? im trying to compare strings
hey guys, im new with java so please bear with me. im trying to build a little currency application that basically deals with money types and simple arithmetic calculations (add, subtract, ...
Hello there, i have a jtable am want to display the total of two columns at the end of the two col.for one column i get the total ,but for the other i get null point exception. i dont know ...
Hello. im trying to do something like a textfield that allows user to type in the title of the report. It would be great if someone can explain to me how i can pass the string to the jrxml fil...
I have implemented a very simple sort in my class (see below). This works really well when i issue Collections.sort(orderList); My question is, it is possible to set up different sort m...
Hi, I'm using JDE, and trying to do:     final int whatever;     try {         whatever = something();     }     catch (Exception ex) {         whatever = -1;     } but the comp...
Hello, I have a Java app working just fine. But I guess my app will only be working fine in Windows systems cause it uses an external .dll library to detect hotkeys. The only thing I need no...
We have a swing application that has a few libraries that are self-signed. The app was being deployed to user workstations using web-start. Since last few updates of java we have seen users co...