www.webdeveloper.com

Search:

Type: Posts; User: RonnieVDPoel

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,437

    re: homework

    Here's what I came up with... The start of your code stays the same.


    if (investment <= 0||years <=0 ||rate<=0)
    {
    System.out.println("Not enough information - amount must be non-zero.");
    }...
  2. Replies
    2
    Views
    5,021

    layout manager

    edit:

    If you feel that you shouldn't use container.setlayout you can just use the default layout, which is flowlayout. The two panels will appear in an "orderly" fashion.
  3. Replies
    2
    Views
    5,021

    Multiple JPanels on a JFrame

    What you could do is add the JPanels to a bigger JPanel with a certain layout.
    By that I mean that you make a container JPanel so you can add the two panels to this panel before adding this panel to...
Results 1 to 3 of 3
HTML5 Development Center



Recent Articles