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 / April 2008

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
reluctant quantifier doesn't work30 Apr 2008 23:15 GMT8
I use an regex in Java 6 as this:
"<a .*?some string here</a>"
and expect that .*? will match the smallest char sequence.
However, it matches the longest.
How can I write right-justified into a 12 chars width field?30 Apr 2008 23:08 GMT12
Lets say I have a String var which can contain values of different lengths e.g.
"aaa"  or "bb bb bb".
I want to print them out with System.out.println right-justified with a field width
of 12 chars. If necessary this field should be left padded with blanks.
iterating through an array of String's30 Apr 2008 11:43 GMT10
For lab2 at http://members.shaw.ca/Java2611/ I need to load data (which
should be an array of Strings) from DATA -- that's not the assignment,
but it's a requirement that the data is loaded in this particular
fashion.  It's supposed to not even really be a problem, because we're
How to include *.class file with package in CLASSPATH?30 Apr 2008 00:08 GMT7
Assume I have an already compiled java class in the following location:
D:\java\output\aaa\bbb\ccc\myclass.class
myclass.java contains the following package information:
package aaa.bbb.ccc;
Is there an option for auto-create output dirs when compiling with javac?29 Apr 2008 16:32 GMT5
When I perform a compiling operation like:
javac -d build\WEB-INF\classes my.java
and the directory build\WEB-INF\classes does NOT exist then the javac command fails.
Is there really no auto-create-dir-when-necessary option for javac ?
Question about the package directive27 Apr 2008 14:07 GMT19
I was reading a Java book tonight and it was talking about the
"package" directive.  I haven't seen it used anywhere.  Did it die
with one of the more recent versions or is it just obsolete but still
available?
NewsMaestro presents: Java Programmer Goldmine on-line27 Apr 2008 08:29 GMT13
Extensive collection of Java related code examples and expert opinions
is available on-line.
http://tarkus01.by.ru/Convert/index.html
Major Java related subjects and issues are covered
how to return Comparator values27 Apr 2008 03:27 GMT3
Just trying to learn how Comparator works.
Looking at:
import java.util.*;
public class EmpSort {
tomcat plugin question26 Apr 2008 19:21 GMT2
I am using Eclipse as the editor to write java servlet running on tomcat.
Which tomcat plugin for Eclipse is the best and the most convenient to use?
Thanks
How to check if all *.jars  in my CLASSPATH really exists? Automatic check (not manual) possible?26 Apr 2008 16:31 GMT1
Assume I have a long, long  CLASSPATH containing approx 20 (or more) *.jar archives.
Is there a way to AUTOMATICALLY check if all mentioned *.jar files really exist?
I could imagine a command (or even java class) which checks this from command line:
java check_cp &CLASSPATH%
simple help about JFileChooser26 Apr 2008 14:07 GMT2
here is a method i writte in java
public void aaa(){
       JFileChooser chooser=new JFileChooser();
          chooser.setFileFilter(new FileFilter() {//
Replacing  PL SQL with Java26 Apr 2008 07:04 GMT1
I have huge number of data coming to my application through a bacth process
in main frame. Assuming that all this data are available in one table, I
have a PL/SQL procedure to manipulate the data and do some data massaging
and put into three tables.
Automated teller machine help please25 Apr 2008 14:40 GMT1
i m trying to make a program (client/server) of a Automated teller
machine talking with its bank server. i did it using 3 files, a
client,
a server and an application. the program contains 2 bugs that i
Fortran-like number formatting25 Apr 2008 11:11 GMT3
In the olden days Fortran had something called G format.  It would
display a number in minimum space, e.g. 7.6 but would revert to
scientfic notation when it had to.
I am looking for something for displaying distances with some perhaps
CardLayout() not working25 Apr 2008 04:34 GMT3
I am trying to get it to where if the user selects new it will change
the panel, but it isn't working at all.  Nothing changes, but I know
the event method is getting called, because of a print statment.
[code]
Pages: 1 2 3 4 5 March, 2008
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2010 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.