Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for dreamslct

**Hi forum, I've got a question for the pros. I am making a program that has map<String, String> map = new TreeMap<String, String>(); and a Scanner to read a file contains some data which is assigned to map.put(); method. The data is something like this: UK USA Canada Australia etc. …

Member Avatar for dreamslct
0
231
Member Avatar for dreamslct

Hi everbody, Seen posts saying simple dictionary in Java. Thought of sharing something may be useful for others. Here is a simple code if anyone interested. import java.util.*; public class Dictionary { public static void main(String[] args) { Map <String, String> dictionary; dictionary = new TreeMap <String , String>(); Scanner …

Member Avatar for dreamslct
0
343
Member Avatar for pro_learner

This is the code which i wrote.But when i input a word,it should search it and give the definition.I think there is a problem in while loop.But i can't solve it.Can u guys,plz check it? [CODE]import java.util.*; class dictionary { public static void main(String args[]) { Hashtable dict = new …

Member Avatar for dreamslct
0
221
Member Avatar for dreamslct

Hi everybody, Just wondering if it is possible t hat we can change the text size in balloon or bubble message or whatever you call it the one we create useing "trayicon.displaymessage("message", "message", message.info);Highly appreciate if someone could help me out. Thanks.

Member Avatar for JamesCherrill
0
357
Member Avatar for dreamslct

Hi, I am doing an exercise of Head First Java Pool puzzle. I tried many times and finally got the output required but I am still not fully understand that how program produced that output. The code for Pool Puzzle is as under: [Code] class Echo { int count = …

Member Avatar for dreamslct
1
914
Member Avatar for dreamslct

Hi everybody, I am planning to build a java programe named word counter. It shall have file view and help menu. A text field where user can type or paste text. A button which starts counting number of words in the text. and a text field where the total number …

Member Avatar for masijade
0
480
Member Avatar for dreamslct

I wrote a simple HelloWorld programe looks like something this: import javax.swing.JOptionPane; public class HelloWorld { public static void main(String [] args) { JOptionPane.showMessageDialog(null, "Welcome"); } } ----------------------------------------------------------- In this simple java programe which in not an applet I just want to print the "Welcome" message in some other fonts …

Member Avatar for Taywin
0
195
Member Avatar for dreamslct

I have wrote a simple java programe whose code is as fallow: [code] import javax.swing.JOptionPane; public class HelloWorld { public static void main(String [] args) { JOptionPane.showMessageDialog(null, "Welcome"); } } [/code] ------------------------------------------------------ Now I just want that the message "Welcome" to print in differnet size and color. Please help me …

Member Avatar for JamesCherrill
0
199