You could also try using an EmptyBorder to put in gaps between the two components. If you already have a Border, you can use that in conjunction with an EmptyBorder to create a CompoundBorder. In the code fragment below, a new CompoundBorder is created that has a TitledBorder and an EmptyBorder which enforces a padding of 1 pixed around the component testPanel.
SetBorder(javax.swing.BorderFactory. CreateCompoundBorder(javax.swing.BorderFactory. CreateTitledBorder(null, "Border Title", javax.swing.border.TitledBorder.
DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder. DEFAULT_POSITION, new java.awt. Font("Verdana", 1, 11)), javax.swing.BorderFactory.
CreateEmptyBorder(1, 1, 1, 1))).
You could also try using an EmptyBorder to put in gaps between the two components. If you already have a Border, you can use that in conjunction with an EmptyBorder to create a CompoundBorder. In the code fragment below, a new CompoundBorder is created that has a TitledBorder and an EmptyBorder which enforces a padding of 1 pixed around the component.TestPanel.
SetBorder(javax.swing.BorderFactory. CreateCompoundBorder(javax.swing.BorderFactory. CreateTitledBorder(null, "Border Title", javax.swing.border.TitledBorder.
DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder. DEFAULT_POSITION, new java.awt. Font("Verdana", 1, 11)), javax.swing.BorderFactory.
CreateEmptyBorder(1, 1, 1, 1))).
Nailed it, thanks. – n002213f Feb 18 '10 at 10:39.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.