1 Reply Latest reply: Nov 11, 2012 5:55 PM by 973699 RSS

    Reverse DiagonalLayout

    973699
      I am currently working on Oracle's example class, DiagonalLayout.

      [DiagonalLayout.java|http://docs.oracle.com/javase/tutorial/displayCode.html?code=http://docs.oracle.com/javase/tutorial/uiswing/examples/layout/CustomLayoutDemoProject/src/layout/DiagonalLayout.java]
      This class creates a diagonal layout (left to right). I would reverse the direction (right to left) by selecting a JCheckBox.

      How?

      (This is what is done and i would reverse it : )
      http://i639.photobucket.com/albums/uu116/wadjo/diagonalLayout.png

      Edited by: 970696 on 11 nov. 2012 15:55
        • 1. Re: Reverse DiagonalLayout
          rp0428
          Welcome to the forum!

          The forum is not a coding service. It is to help you find and fix problems with YOUR code.

          You need to write code and test it. Then if you have a problem post the code and the results you are getting and we can help you find the problem.