Search:

Type: Posts; User: ha.minh.nam

Page 1 of 2 1 2

Search: Search took 0.30 seconds.

  1. Replies
    2
    Views
    949

    Re: Net-beans-java

    Try to install NetBeans in different location.

    Immutable objects
  2. Re: Java Task, need help with creating a Java application!(can pay)

    Hey,

    I would like to help you. But how can you assure that I will be paid?
    Are you familiar with some kind of freelancer sites?
  3. Replies
    3
    Views
    412

    Re: Questions about javafx

    JavaFX was a Sun's big miss, Oracle is now trying to it, hope so :)

    Immutable objects
  4. Replies
    1
    Views
    1,171

    Re: Error Running Java in Eclipse

    I don't see any error in the console output above, there is only a WARNING and the program runs from start to end. What do you expect for the result?
  5. Replies
    4
    Views
    477

    Re: Layout Manager

    I usually use GridBagLayout as layout manager for my applications, it is flexible enough in my opinion, and I do not have reply on setBounds() method.

    immutable objects
  6. Replies
    8
    Views
    539

    Re: Mutiple JFrames Problems

    You should use CardLayout to store individual screens as game cards, then show one card at a time.

    immutable objects
  7. Replies
    3
    Views
    412

    Re: Questions about javafx

    JavaFX is something to build rich internet applications like Flash or SilverLight. However it is not widespread and seems to be died.

    immutable objects
  8. Replies
    4
    Views
    1,491

    Re: Error when opening eclipse

    This may helps you:

    error - Eclipse - Failed to load the JNI shared library - Super User

    Seems the problem is conflict between 32-bit and 64-bit versions of the JDK.

    immutable objects
  9. Replies
    1
    Views
    471

    Re: Servlet problem

    Hello,

    What is the exception you got? Please post any error messages you encountered here.

    immutable objects
  10. Replies
    4
    Views
    1,491

    Re: Error when opening eclipse

    Maybe the JDK is corrupted, try to re-install it.

    immutable objects
  11. [SOLVED] Re: Do we need AWT to learn Swing? + One more question

    Thanks Kevin for the links.
  12. Replies
    1
    Views
    349

    Re: Want to Update Class File content

    Welcome, what is your question?

    immutable objects
  13. Replies
    1
    Views
    1,185

    Re: How to check for empty mysql table

    "SELECT COUNT(*) FROM MyTable"


    immutable objects
  14. [SOLVED] Re: Do we need AWT to learn Swing? + One more question

    Thanks Kevin for reminding me about this fundamental stuff.
    Actually everything is passed by value. The value here is memory address of the variable right?

    Please correct me if I am wrong.
    ...
  15. [SOLVED] Re: Do we need AWT to learn Swing? + One more question

    Yes, that's fine.

    immutable objects
  16. Replies
    2
    Views
    627

    Re: java syntax highlighting

    Did you google for your problem? A quick search returns a lot of results.

    immutable objects
  17. [SOLVED] Re: Do we need AWT to learn Swing? + One more question

    Yes, primitive variables are passed as copies, unlike object references. It is not about wrong or right, it is a bad practice and should be avoided.


    SURE.


    No one prevents you from passing...
  18. [SOLVED] Re: Do we need AWT to learn Swing? + One more question

    It does not matter either constructor or normal method. Doing so means you pass an object but not use it (you assign the passing object reference to another object).



    Your class extends Frame...
  19. Replies
    7
    Views
    620

    Re: How do i fix my code?

    Your class is missing main method:



    public static void main(String[] args) {
    Calculator cal = new Calculator();
    }


    immutable objects
  20. [SOLVED] Re: Do we need AWT to learn Swing? + One more question

    Don't you believe the author?


    Your code snippet:



    import java.awt.*;
    public class myWindow extends Frame{
    Frame pencere = new Frame();
  21. Re: what's going on? I tried to make a scrollable JFrame and it didn't work!

    The problem is at this statement:



    spl.layoutContainer(this);


    According to java doc of class JScrollPaneLayout:
  22. Re: what's going on? I tried to make a scrollable JFrame and it didn't work!

    Please post the runtime exception here.

    One solution is to have a JPanel added to a JScrollPane which is added to JFrame. This will work definitely.

    immutable objects
  23. Replies
    3
    Views
    254

    Re: Problem with threads

    What is the purpose of multithreading for your program?

    Anyway, this code snippet is wrong:



    public void start()
    {
    Thread t = new Thread();
    t.start();
  24. Replies
    2
    Views
    907

    Re: Problem in Servlet redirect

    - Use a RequestDispatcher object to wrap the destination JSP.
    - Set parameters for the request.
    - Forward processing to the destination page using RequestDispatcher.

    Here is the sample code:

    ...
  25. Re: not able to get the context attribute set in ServletContextListener

    I found your mistake, you wrote:



    context.setAttribute("myTest", "mkmmkmmkm");
    String output = (String) getServletContext().getAttribute("testMe");


    It should be:
Results 1 to 25 of 48
Page 1 of 2 1 2