comp.lang.java.help
  Home FAQ Contact Sign in
comp.lang.java.help only
 
Advanced search
March 2008
motuwethfrsasuw
     12 9
3456789 10
10111213141516 11
17181920212223 12
24252627282930 13
31       14
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.java.help Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  HashTable         


Author: Darkfox
Date: Mar 31, 2008 08:02

Can anyone help me? Apart from the hashtable already implemented in
java,I want to implement a hashtable in my own way using bucket
array.If anyone can provide me with their least help also,I shall be
grateful to him/her.I have done a bit which I am going to post after 2
hours as I am working on that presently.By this time if anyone can
help,he/she will be highly appreciated.
WITH REGARDS
MARCUS
4 Comments
  XML-Dateien manipulieren (lesen & schreiben)         


Author: Jan Müller
Date: Mar 31, 2008 04:01

Hallo,

ich möchte eine XML-Datei einlesen, den Text eines bestimmten Elements
(Text) auslesen, diesen manipulieren und wieder zurück in
die XML-Datei schreiben (manipulierter Text). Zum Parsen
und auslesen des XML-Dokuments würde ich SAX benutzen, aber für das
Manipulieren und Zurückschreiben habe ich noch keine Idee. Es wäre schön,
wenn Ihr mir Tips geben könntet oder sogar ein Beispiel, aus der ich mir das
abschauen könnte.

Vielen Dank für Eure Hilfe.

Gruß,
Jan
3 Comments
  [Java-Printer]My printers are not senn by java apps         


Author: Daniel Moyne
Date: Mar 31, 2008 03:38

This problem apparently has nothing todo with Java applications : I am on
Linux and apparently now any Java apps run do not see my printer list as
handled by CUPS.

Before it worked ; I think it has to do with the JDK installed ?

Any ideas will be wellcome.

Thanks.
no comments
  comp.lang.java.{help,programmer} - what they're for (mini-FAQ 2006-03-31)         


Author: David Alex Lamb
Date: Mar 31, 2008 03:25

Last-Modified: Fri Mar 31 15:32:14 2006 by David Alex Lamb
Archive-name: computer-lang/java/help/minifaq
Posting-Frequency: every 4 days

Before posting read Jon Skeet's "How to get answers on the comp.lang.java.*
newsgroups" at http://www.pobox.com/~skeet/java/newsgroups.html

Java FAQs and advice:
- Java/Javascript/Powerbuilder HOWTO (Real Gagnon)
http://www.rgagnon.com/howto.html
- Java Glossary (Roedy Green) http://www.mindprod.com/jgloss/jgloss.html
- jGuru jFAQs (John Zukowski) http://www.jguru.com/jguru/faq/
- Focus on Java (John Zukowski) http://java.about.com/
- Java Q&A (David Reilly) http://www.davidreilly.com/java/java_network_programming/index.htm
Show full article (3.47Kb)
no comments
  Sams Teach Yourself Java 6 in 21 Days - Installation Error         


Author: David Ellis
Date: Mar 31, 2008 02:59

Hi,

I have just bought the book Sams "Teach Yourself Java 6 in 21 Days",
and am getting an error installing the JDK supplied with the book.

After running "start.exe", I select the AMD 64 installation package.
After the InstallShield package loads up, I get an error, "This
installation package is not supported by this processor type. Contact
your product vendor.".
The installation then aborts and I cannot get any further.

I have an HP PC with AMD Athlon 64 X2 processor, running Windows
Vista.

Has anyone installed the software successfully on a similar platform,
or knows what might be wrong?

Thanks in advance for any help.
3 Comments
  Text to String literal conversion         


Author: Patricia Shanahan
Date: Mar 30, 2008 13:14

In connection with writing some unit tests, I need a utility to convert
text output to a String constant expression.

http://www.snible.org/java2/uni2java.html is almost exactly what I want,
but I would prefer the literals broken at newlines and concatenated.
That is:

aaa\bbb
kkk

gets converted to "aaa\\bbb\nkkk\n". I would prefer:

"aaa\\bbb\n" +
"kkk\n"

This seems like a wheel that should already exist, so I would rather not
invent it myself.

Patricia
10 Comments
  Free Tutorial website And Ebooks programing tutorials         


Author: 365X24live.com
Date: Mar 30, 2008 09:52

Show full article (0.82Kb)
no comments
  JColorChooser default button, TableDialogEditDemo         


Author: John B. Matthews
Date: Mar 30, 2008 08:35

I'm puzzled by the behavior of TableDialogEditDemo

<http://java.sun.com/docs/books/tutorial/uiswing/examples/zipfiles/compon
ents-TableDialogEditDemoProject.zip>

under Java 1.5.0_13, on Mac OS 10.4.11. The first time the JColorChooser
dialog is displayed, the OK button is the default; on subsequent
invocations, no default appears. The relevant code in CellEditor.java
instantiates JColorChooser and creates a dialog

colorChooser = new JColorChooser();
dialog = JColorChooser.createDialog(...)

The code then reveals the dialog in the actionPerformed() method, when a
table cell is clicked:

dialog.setVisible(true);

Although it's a bit slower, the problem does not occur if the dialog is
re-created each time:

newColor = JColorChooser.showDialog(null, "Choose...", currentColor);

Is this a platform anomaly? Is there a way to set the default button
before making the dialog visible?

Thanks for any insights,
Show full article (1.03Kb)
no comments
  Using HEAD TRACE OPTIONS with http         


Author: Ravi
Date: Mar 30, 2008 00:20

How can I use http request methods like HEAD, TRCAE, OPTIONS etc with
urlConnection.
I tried setRequestProperty("TRACE", "") but still I get the contents
of the file.
5 Comments
  G-ZIP         


Author: Chase Preuninger
Date: Mar 29, 2008 13:48

How do you set the compression level of a G-ZIP output stream (0-9)?
2 Comments
1 2 3 4 5 6 7 8 9