Hello There,
I have two question about the JTable in Java:
1. How can i fix the column width? I want to have one column widder than the other and not editable at runtime.
2. How can i have multiple lines (block of data/small paragraph) in one cell? because whenver i write a 3 lines of data in a cell the JTable converts it cont. line.
Please Help!!
User Profile
Collapse
-
Columns in JTable, Help!
-
Inserting, selecting and displaying data from a JList!
Hello there,
Can you help me in following problem:
Am working on a chemistry dictionary. I want to have all the chemistry terms in a JList and whenever i select a term from a JList, it displays the meaning in a text area (as any encyclopedia) and the term in a textfield. My questions:
1. How can i load the chemistry terms in to the JList and meanings in the textarea and store them?
2. How can i... -
NO!! just words, it is a dictionary!!! please help :( my deadline is today!!!!!... -
I am using GUI and i get the iput from the text field. So if the user enters digits he gets an error msg. But how can i do it?...Leave a comment:
-
How do i know the type of the input?
how can i make the input only string? such as other types like int and double wont be allowed?
what kind of exception shall i use? -
Hi again,
i used:
Code:HashMap dictionary = new HashMap(); dictionary.put("word", "Value1"); dictionary.put("word", "Value2"); System.out.println(dictionary.toString());
please help me...Leave a comment:
-
Well, each word must be a key and the the data value have to be a linkedlist, how can i design the HashMap? i never used it and when i read some tutorials i didnt get the complete picture of it....Leave a comment:
-
Buliding English Dictionary Using Hashmap!
Hello,
I need your direction in my lab assignment, i dont know how how to start. I am supposed to implement a dictionary that stores English words and their multiple synonyms. Am required to use hashmap to build the dictionary and the data column in the HashMap should be a linkedlist.
please tell me how can i implement the hashmap with a linkedlist!!!
No activity results to display
Show More
Leave a comment: