User Profile

Collapse

Profile Sidebar

Collapse
Broke
Broke
Last Activity: May 22 '07, 04:30 AM
Joined: Mar 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Broke
    started a topic Jdbc
    in Java

    Jdbc

    hi,
    I have problem with connecting my application with the database. Im using oracle and i populated the database using user account. However when i run the application i got this error:
    ORA-01017: invalid username/password; logon denied

    Exception: null
    ORA-01017: invalid username/password; logon denied

    Exception: null

    Im not sure where exactly the problem but i tried alot with this...
    See more | Go to post

  • Broke
    started a topic JOptionePane
    in Java

    JOptionePane

    hi, i have problem with JOptionPane message, my application is a dictionary, if the user entered invalid word and clicked on search button, warnning message should be displayed. However, in my case the program stick without getting any message.this the code that i wrote:

    //click on the search button
    private void jButton1ActionP erformed(Action Event evt) {
    String key = jTextField1.get Text();
    boolean done = false;...
    See more | Go to post

  • Broke
    replied to Buliding English Dictionary Using Hashmap!
    in Java
    Can anyone help me i wanna compare between two ArrayLists if there is a factor element between them the third list would display the elements of both ArrayLists, without duplication. The code i wrote doesn't have syntax error but i think it has logical error and this is my code:-

    public ArrayList checkSym(ArrayL ist art1, ArrayList art2) {

    Iterator it1 = art1.iterator() ;
    Iterator it2 = art2.iterator() ;...
    See more | Go to post

    Leave a comment:


  • Broke
    replied to Buliding English Dictionary Using Hashmap!
    in Java
    list =(ArrayList)wor d.toString();>> the problem
    See more | Go to post

    Leave a comment:


  • Broke
    replied to Buliding English Dictionary Using Hashmap!
    in Java
    Hello again,
    I tried to implement what u advised me to do, but i got an error which says inconvertible type: and this is the code that i wrote:

    public String Addwords(String word, ArrayList syn){
    ArrayList list = new ArrayList();
    //instead of dictionary might be dictionary
    for(int i = 0; i<dictionary.si ze(); i++){
    if(dictionary.c ontainsKey(word )){
    ...
    See more | Go to post

    Leave a comment:


  • Broke
    replied to Buliding English Dictionary Using Hashmap!
    in Java
    Hello,
    I made changes in the Add method that i mentioned before but the result that i got is inconvenient with what is reuired from me when i add a word and its synonym i get something like this:- word > null and when i add another word with its synonym the previous one is removed this is the code that i wrote:


    private HashMap m;
    private ArrayList<Strin g> lst;
    public String AddWords(String word,...
    See more | Go to post

    Leave a comment:


  • Broke
    replied to Buliding English Dictionary Using Hashmap!
    in Java
    Hello,
    I have a problem in my assignment please i need ur help the problem is that i'm trying to make a dictionary using hashmap the keys of hash map are words and the values are words are sorted in ArrayList I tried to implement the adding methed to add the words with their synonyms, but i got an error like this: can't find symbol - method add(java.lang.S tring)

    and the code that i wrote like this:
    public String AddWords(String...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...