- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
7 Posted Topics
[QUOTE=Artmann;486506]I would like to recomend the the books [B]Core Java[/B] [I]Volume 1 and 2 [/I]. A really good set of books that covers the most areas you'll need.[/QUOTE] +1 to Core Java, Volume 1 and 2 By Horstmann. Really good book. One can actually read Head First Java and then …
When i set a internal frame to visible i get Java Result: 1073807364 as the output. The systems hangs and will have to terminate the execution abruptly. What does this output stand for?
For updating the GUI at runtime, use JPanel for storing the contents and use the revalidate() function. Also for deleting all the components use removeAll() method.
Try using the StringTokenizer class. It will automatically break the string into tokens or substrings based on space as the default delimiter. And then u can traverse through the StringTokenizer object to list all the substrings.
[CODE=html] <?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- Fig. 26.7: WelcomeServlet.html --> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <title>Handling an HTTP Get Request</title> </head> <body> <form action = "welcome1" method = "get" > <p><label>Click the button to invoke the servlet <input type = "submit" value …
[QUOTE=diasmvds;633580]If anyone has an idea how to draw a dashed line using Java?? Graphics class seems to be not support a function for this. Thanks[/QUOTE] @diasmvds [CODE=java] import javax.swing.*; import java.awt.*; import java.awt.geom.*; public class Stroke1 extends JFrame { Stroke drawingStroke = new BasicStroke(3, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL, 0, new float[]{9}, 0); …
[QUOTE=prashanthn;629103]hello friend, i want to set my java class path. am using netbeans 1.6 version..... pls make me happy by giving the class path..[/QUOTE] Have u installed JDK? classpath is usually the path to the lib folder of JDK installed on u'r system
The End.
sanaulla123