Search:
Type: Posts; User: bayard
Search:
Search took 0.16 seconds.
-
October 1st, 2002, 01:52 PM
Flexible approach = BeanComparator :)
BeanComparator is probably one of the coolest tips I know of in Java right now. One class, handles 95% of all sorting issues. Wonderful. Throw in...
-
October 1st, 2002, 01:43 PM
For quality Java editing power environments you're basically limited to two, Eclipse or Intellij's IDEA. Both ignore the waste of time of a GUI setup [well eclipse has a plugin for that]. Both have...
-
September 21st, 2002, 03:11 AM
Oh, P6Log from the P6Spy package is worth looking into. It monitors your SQL statements so you can see what is really happening. Google for it, though I think it's at p6spy.org
-
September 21st, 2002, 03:09 AM
I remember using Java on top of Access back in 98. I'm pretty sure PreparedStatements worked, however I did come across a lot of surprising bugs that caused me to waste a lot of time.
I would...
-
September 21st, 2002, 03:03 AM
Check out Jakarta Commons Collections, http://jakarta.apache.org/commons/,
for many classes like this. No offense intended to the previous poster, but it's more likely that the higher peer review...
-
September 16th, 2002, 09:17 AM
Look at the Jakarta POI project. Only thing I know that could you help you here.
http://jakarta.apache.org/poi probably.
-
September 16th, 2002, 09:14 AM
You want to use the Calendar.setTime(Date) method.
So to update the clock, you want to use:
myCal.setTime( new Date() );
If you want to set a certain time, then either use the 'Date(long)'...
-
September 15th, 2002, 02:50 PM
Bad day for me I think. Misread this one based on the answers rather than the original question.
If you install cygwin [google for it], you'll get the 'bc' command line program. Wrap this in a...
-
September 15th, 2002, 02:48 PM
Best 'notepad' equivalent tool I've ever met is WinVi.
http://www.winvi.de/en/
It's very configurable, has a hex side by side with ascii view, and also has Vi commands available if you know them....
-
September 15th, 2002, 02:42 PM
You want to look into Reflection. A product like Jakarta's BeanUtils would allow you to generalise and have an indirect way to call Bean methods on an unknown Object.
Alternatively, look at...
-
September 15th, 2002, 02:34 PM
You also have the methods:
java.lang.System.getRuntime().freeMemory();
java.lang.System.getRuntime().totalMemory();
-
September 15th, 2002, 02:33 PM
Idiot me.
If you want the seconds/minutes etc in int form, investigage the java.util.Calendar class.
Something like:
Calendar cal = Calendar.getInstance();
int hours =...
-
September 15th, 2002, 02:30 PM
You want to investigate the java.text.DateFormat class.
Also have a look at java.text.SimpleDateFormat as this tends to be the one that most people use/need.
You want something like:
...
-
September 15th, 2002, 02:28 PM
Look into any of the following packages:
JAXP [Sun]
Xerces [Apache]
IBM XML Parser [IBM, I forget the real name]
Dom4J [dom4j.org]
JDom [jdom.org]
Digester [Apache]
nanoxml [sourceforge]
-
September 15th, 2002, 02:22 PM
You probably want to look into an embedded Java rule engine, your user would add rules, and you would evaluate these in the engine. Droolz is one such rule engine, another is JESS, I think there's...
-
September 7th, 2002, 08:15 PM
I can only guess it must be an attempt at I18n. A friend told me that sigma in Greek has two different lowercase variants, but that they both have the same uppercase. So if we assume that capital...
-
September 7th, 2002, 07:30 PM
I could understand doing toLowercase instead of toUppercase, due to the existence of toTitlecase and the vague attempt to be i18nised. But Upper and Lower together seems odd.
Looking at the source...
-
September 7th, 2002, 06:57 PM
The creator of the code you post is using Oracle specific libraries. The creation of the Connection appears to be hidden behind a static method in TransactionScope.
Which I assume is in:...
-
September 7th, 2002, 06:44 PM
Try this article I wrote a while back. It has a link to the open-sourced code.
http://builder.com.com/article.jhtml?id=u00220020624yan01.htm
Email/reply me if you have questions.
-
August 18th, 2002, 03:39 PM
It depends somewhat on your shell.
It's either a csh/tcsh based one, in which I _think_ it's:
set GLOBUS_LOCATION /opt/globus/foo
or wherever you installed GLOBUS.
With sh/bash/zsh it's:
-
August 18th, 2002, 03:33 PM
I use vi a lot. But also use Intellij's IDEA. If not for having a copy of IDEA, I would look at Eclipse next. [eclipse.org]. I used to use Ant a lot, but am now looking at Jakarta's Maven more often....
-
August 18th, 2002, 03:29 PM
Hey Justis,
What you are describing is method overloading. So you'd have:
public class FooBear {
public void foo() {
foo(9);
}
-
August 18th, 2002, 03:25 PM
Just as a reply to a reply [and why no threaded replies here anymore? :(]
Using an int as a Date timstamp would be bad. What value would you store in there???
Please don't tell me you store:...
-
August 18th, 2002, 03:24 PM
Java.sql.Date only stores Dates. If you want Date and Time, then use java.sql.Timestamp.
Similarly, java.sql.Time only stores the Time.
I tend to use java.sql.Timestamp a **** of a lot and...
-
July 27th, 2002, 10:37 PM
I'm with dlorde on IntelliJ's IDEA. It's pretty impressive.
I've heard good things about Eclipse and would probably be looking at this if not for using IDEA at work currently.
The only plus...
|
Click Here to Expand Forum to Full Width
|