This week's book giveaway is in the Java in General forum.
We're giving away four copies of Java by Comparison (eBook) and have Simon Harrer, Jörg Lenhard, Linus Dietz on-line!
See this thread for details.
Win a copy of Java by Comparison (eBook) this week in the Java in General forum!

Joacim Ahlberg

Greenhorn
+ Follow
since Jan 02, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Joacim Ahlberg

I am very greatful, thanks.

best regards
Joacim
PS. sometimes the answer is closer than you think ...

Ooh noo I have found another documentation at Sun and it is not a string of XML that will be parsed but an URI.... But my problem is still open though.
Joacim
Hi all,
When I switched from feeding the parse method with a XML file to a XML string the problems began. I do not know where to look for solutions since the parse method should be able to take a string. According to the documentation the javax.xml.parsers.DocumentBuilder handles 5 different parse methods including a parse method for taking a string. Where do I go wrong?
Here are some lines from my code:

My string message I want to include in xmlStr:

The error message is:
Exception java.io.FileNotFoundException: C:\forte4j\bin\< (The filename, directory name, or volume label syntax is incorrect)
Best regards
Joacim

Thanks a lot for your quick and precisely-what-I-needed answer
best regards
Joacim
14 years ago
Hi all,
I am trying to find a way to display a graphical diagram in a specific JPanel, it sounds very trivial but I have not found a clean tip or solution yet.
I have found a lot of stuff but everything found is about showing graphics solely in either an applet or a whole frame not just a part of this frame.
Let us say we have three panels in one frame and one of them will show this Graphics2D object.... ?
Please give me a hint on where to find an example in this matter.
best regards
Joacim
14 years ago