Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / March 2005

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
Regex Groups09 Mar 2005 22:17 GMT1
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: Example09 Mar 2005 21:32 GMT2
What am I doing wrong?
D:\java>type Example.java
/*
       This is a simple Java program.
Finding JDBC Classpath probs09 Mar 2005 21:17 GMT5
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 expression09 Mar 2005 19:52 GMT12
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 IOException09 Mar 2005 19:14 GMT2
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 jars09 Mar 2005 17:44 GMT2
Is it possible to construct a File object from some resource (in this
case an ssh private key) in a jar file?
Cheers!
JProgressBar problem09 Mar 2005 17:26 GMT4
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 Problem09 Mar 2005 12:35 GMT1
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 GMT3
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 questions09 Mar 2005 05:07 GMT15
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 ...
Arrays09 Mar 2005 01:01 GMT4
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 GMT1
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 Error08 Mar 2005 18:52 GMT2
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 option08 Mar 2005 18:19 GMT3
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 GMT3
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?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 February, 2005
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.