This discussion is archived
1 Reply Latest reply: Nov 11, 2012 3:55 PM by 973699 RSS

Reverse DiagonalLayout

973699 Newbie
Currently Being Moderated
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 Guru
    Currently Being Moderated
    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.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points