| Thread | Last Post | Replies |
|
| reluctant quantifier doesn't work | 30 Apr 2008 23:15 GMT | 8 |
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 GMT | 12 |
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's | 30 Apr 2008 11:43 GMT | 10 |
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 GMT | 7 |
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 GMT | 5 |
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 directive | 27 Apr 2008 14:07 GMT | 19 |
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-line | 27 Apr 2008 08:29 GMT | 13 |
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 values | 27 Apr 2008 03:27 GMT | 3 |
Just trying to learn how Comparator works. Looking at: import java.util.*; public class EmpSort {
|
| tomcat plugin question | 26 Apr 2008 19:21 GMT | 2 |
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 GMT | 1 |
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 JFileChooser | 26 Apr 2008 14:07 GMT | 2 |
here is a method i writte in java public void aaa(){ JFileChooser chooser=new JFileChooser(); chooser.setFileFilter(new FileFilter() {//
|
| Replacing PL SQL with Java | 26 Apr 2008 07:04 GMT | 1 |
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 please | 25 Apr 2008 14:40 GMT | 1 |
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 formatting | 25 Apr 2008 11:11 GMT | 3 |
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 working | 25 Apr 2008 04:34 GMT | 3 |
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]
|