CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: pawer13

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    908

    Re: eclipse and Java

    nodeList.put(tokens[0], new SetLeaf(tokens[1], tokens[2])); //Nodelist<String, SetLeaf(String, String)>


    Look at your code: you are calling "put" method, but also you are calling a constructor...
  2. Thread: Help! Bug?

    by pawer13
    Replies
    5
    Views
    6,318

    Re: Help! Bug?

    That code does not compile, but even fixing it.... your event listeners do nothing. The only method implemented is:

    public void actionPerformed(ActionEvent ev) {
    midgui.append(nounbox1.getText()...
  3. Thread: java class

    by pawer13
    Replies
    7
    Views
    1,411

    Re: java class

    Look Name should implements equals(Object o) method, overriding the Object.equals(...) one.
    See
    http://java.sun.com/javase/6/docs/api/java/util/Vector.html#indexOf(java.lang.Object) and...
  4. Thread: java class

    by pawer13
    Replies
    7
    Views
    1,411

    Re: java class

    Name should implements equals(Object o) method, overriding the Object.equals(...) one.
    See
    http://java.sun.com/javase/6/docs/api/java/util/Vector.html#indexOf(java.lang.Object) and...
  5. Replies
    18
    Views
    3,083

    Re: where is == and .equals() used?

    Pay attention to dlorde post: 130 is "out" of cached integers, so a new Integer is created. So, i3 and i4 are different objects.
  6. Re: Migrating to Struts 2.1.X - dojo plugin problem

    I pasted your JSP to my "Hello world" Struts (2.1.5) example and it worked.
    The only diffecence I've found is in my web.xml file:


    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="person"...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured