Forum: Java 1 Day Ago |
| Replies: 3 Views: 118 >What do I need to Be Java Web/App Expert?
Years of practice and countless mistakes. |
Forum: Java 10 Days Ago |
| Replies: 1 Views: 188 Use split() method of String.
.....
String []items=null;
boolean found=false;
while (!found && (text = reader.readLine()) != null)
... |
Forum: Java 22 Days Ago |
| Replies: 2 Views: 481 JavaOS (http://en.wikipedia.org/wiki/JavaOS) - JavaOS is an operating system with a Java virtual machine as a fundamental component. It is developed by Sun Microsystems. Unlike Windows, Mac OS, Unix... |
Forum: Java 29 Days Ago |
| Replies: 1 Views: 143 You may increase to 4GB on a 32 bit system. If you are on a 64 bit system you can go higher.
use the cmd-line flags.
>java -Xmx6144M -d64 |
Forum: Java 30 Days Ago |
| Replies: 18 Views: 551 You could use HTML Parser (http://htmlparser.sourceforge.net/), which a Java library used to parse HTML in either a linear or nested fashion. It is an open source tool and can be found on... |
Forum: Java Oct 25th, 2009 |
| Replies: 3 Views: 226 Take a look at - http://www.softsynth.com/jsyn/ |
Forum: Java Jul 26th, 2009 |
| Replies: 2 Views: 423 IDE provides output window but it is not a console command prompt. So try to run your console application at command prompt. |
Forum: Java Jul 23rd, 2009 |
| Replies: 2 Views: 223 silliboy, a silly mistake.
Data member x and method test are instance memebers of class.
package javaapplication1;
public class Main {
public int x = 3; // Instance field
public int... |
Forum: Java Jul 8th, 2009 |
| Replies: 16 Views: 595 It's my pleasure.
I am attaching zip with this post.
org.zip - original code - as per your post.
override.zip - some modification.
writeobject.zip - override writeObject method
xmlser.zip -... |
Forum: Java Jul 5th, 2009 |
| Replies: 16 Views: 531 If you want to change the size of any control use setPreferredSize() method. |
Forum: Java Jul 3rd, 2009 |
| Replies: 5 Views: 631 A mistake by di2daer.
You're missing an import statement for FileOutputStream.
When we use java.io.*; It means any class/interface of java.io package can be used in our program file without... |
Forum: Java Jun 26th, 2009 |
| Replies: 17 Views: 726 Two changes:
Line # 182
if (framenumber < 0 || framenumber > numFrames)
Line # 195
viewPanel.add (currentFrame, BorderLayout.CENTER);
viewPanel.setComponentZOrder(currentFrame,0); |
Forum: Java Jun 16th, 2009 |
| Replies: 15 Views: 1,208 Welcome stephen84s.
>but I get the error:-
Exception in thread "main" java.lang.NoClassDefFoundError: c:\OraThin
Iwould be glad if someone help me.
Have you seen this?
java launcher... |
Forum: Java May 27th, 2009 |
| Replies: 3 Views: 458 Hi,
I am pasting some useful links which help you to solve the algorithm.
http://www.dgp.toronto.edu/people/JamesStewart/270/9798s/Laffra/DijkstraApplet.html
Read another article at... |
Forum: Java May 22nd, 2009 |
| Replies: 4 Views: 267 masijade has solved your problem. Every public class must be saved in separate file and the name of file must be same as public class.
PS: You post dice class twice. - Isn't it? |