| Thread | Last Post | Replies |
|
| Regex Groups | 09 Mar 2005 22:17 GMT | 1 |
I have a question concerning the behavior of regular expressions in Java. I have a text: "text-123-234-535-235" I use a regular expression to get the text: "text(-[0-9]*)*". The problem is that I don't how many number blocks there will be. It can one
|
| Newbie question Exception in thread "main" java.lang.NoClassDefFoundError: Example | 09 Mar 2005 21:32 GMT | 2 |
What am I doing wrong? D:\java>type Example.java /* This is a simple Java program.
|
| Finding JDBC Classpath probs | 09 Mar 2005 21:17 GMT | 5 |
Hello I've been trying to figure out what classpath to load my app. Here is the code: import java.sql.*; public class Buddy {
|
| Split a String with a regular expression | 09 Mar 2005 19:52 GMT | 12 |
In order to recognize multipart NNTP messages, I am searching subject Strings for sequences of characters matching (number/number). For this purpose, I am using a regular expression - it's the first time I've used them and they prove to be very handy :)
|
| ServerSocket.accept() does not throw IOException | 09 Mar 2005 19:14 GMT | 2 |
I'm having a problem with my Java application, only on my computer. On my co-workers machines, the code runs correctly. Despite what it says in the official Java documentation, and what happens on two other computers in my office, ServerSocket.accept() does
|
| Files and jars | 09 Mar 2005 17:44 GMT | 2 |
Is it possible to construct a File object from some resource (in this case an ssh private key) in a jar file? Cheers!
|
| JProgressBar problem | 09 Mar 2005 17:26 GMT | 4 |
In my applet I've a JProgressBar object. I've a method to grayscale the image, void grayScale(BufferedImage img, JProgressBar progress) in that method I call for example:
|
| Image Processing Problem | 09 Mar 2005 12:35 GMT | 1 |
Hello, I am writing a web application with Java. There is a function that user can upload a picture to server, and the server will resize it. I am using the Java API to do this function. However, the result is not very satisfactory. The resized image quanlity is very bad.
|
| How to get system hardware info? | 09 Mar 2005 10:30 GMT | 3 |
My company makes a Java application for which we would like to gather some information about the systems it is run on, mostly regarding the hardware. The kinds of things our product folks would like to see include:
|
| 2 newbie questions | 09 Mar 2005 05:07 GMT | 15 |
I've been taking a Java course for the past month, so I'm relatively new to the whole thing. I've got no problems writing code in C, BASIC, Cobol and scripting in a couple of UNIX shells, so the process isn't alien to me. What's got me baffled is this whole object oriented thing ...
|
| Arrays | 09 Mar 2005 01:01 GMT | 4 |
I am very new to Java. I am working on this project to set an array of 1000 random numbers that range from 0 to 50 inclusive and counts the number of occurances of each number in the array. Please help. This is what I have so far:
|
| Why can't javac.exe find my jar file? | 08 Mar 2005 23:39 GMT | 1 |
I created a package in Eclipse called com.strattonpress.statistics. I exported the package to a jar file on my desktop called stats.jar. I created a .java file called HelloWorldApp.java and compiled it in a command window opened to my desktop using javac.exe. No problems. PATH
|
| Getting this Error | 08 Mar 2005 18:52 GMT | 2 |
Exception in thread "main" java.lang.NullPointerException at Bookstore.openInputStream(Bookstore.java:80) at Bookstore.main(Bookstore.java:55) Any Ideas?
|
| javap, Eclipse, and the -noqualifier option | 08 Mar 2005 18:19 GMT | 3 |
When generating a javadoc for a project in Eclipse (File=>Export=>Javadoc=>Next=>Finish), is there any way to cause Eclipse to invoke javap.exe with the -noqualifier option, so that the generated html does not include package references. (For instance,
|
| Converting long to date time format? | 08 Mar 2005 17:41 GMT | 3 |
Say I get the date and time of the last update for file: File selectedFile = fileChooser.getSelectedFile(); long lastupdated = selectedFile.lastModified(); How would I convert this to a string of Date Time?
|