是否有可能在电离层垂直中增加部件? 我指的是前面的下一个步骤?
谢谢。
是否有可能在电离层垂直中增加部件? 我指的是前面的下一个步骤?
谢谢。
无,没有任何布局允许你纵向从底部走,至少我知道。 如果你想要纵向打字,你可以使用一个<条码>(GridLayout)和一个单列或<条码>(BoxLayout)和一个垂直轴。 通过开门板和把布局结合起来,你很容易获得你所需要的东西,例如,在横向集装箱内布设的板块和垂直布局。
诸如BoxLayout和GridLayout等青年在你使用时从上至下展示成分:
panel.add( someComponent );
但你可以始终使用:
panel.add(someComponent, 0);
插入顶级部件。
虽然这一答案与Gridout无关,但是将高度建议采用JGoodies表格的形式。 http://www.jgoodies.com/freeware/forms/index.html“rel=“nofollow” http://www.jgoodies.com/freeware/forms/index.html。
/* 1 2 3 4 5 6 7 8 9*/
String col1 = "left:max(20dlu;pref), 3dlu, 70dlu, 15dlu,left:max(10dlu;pref),10dlu, 70dlu, 70dlu, 70dlu";
/* 1 2 3 4 5 6 7 8 */
String row1 = " p, 5dlu, p, 3dlu, p, 5dlu, p, 9dlu, ";
FormLayout layout = new FormLayout( col1, row1 + row2 + row3 + row4 + row5 + row6);
JPanel panel = new JPanel(layout);
panel.setBorder(Borders.DIALOG_BORDER);
// Fill the table with labels and components.
CellConstraints cc = new CellConstraints();
panel.add(createSeparator("Registration Information"), cc.xyw(1, 1, 7));
panel.add(new JLabel("Patient ID"), cc.xy(1, 3));
panel.add(pid, cc.xyw(3, 3, 1));
panel.add(new JLabel("Date and Time"), cc.xy(5, 3));
You can hand code to plot each component any where in the defined layout designed ie wrt to col and rows. Even vertical arrangement. Read whitepaper: http://www.jgoodies.com/articles/forms.pdf
Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...
Check this, List<String> list = new ArrayList<String>(); for (int i = 0; i < 10000; i++) { String value = (""+UUID.randomUUID().getLeastSignificantBits()).substring(3, ...
I am in the middle of solving a problem where I think it s best suited for a decorator and a state pattern. The high level setting is something like a sandwich maker and dispenser, where I have a set ...
I have been trying to execute a MS SQL Server stored procedure via JDBC today and have been unsuccessful thus far. The stored procedure has 1 input and 1 output parameter. With every combination I ...
I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...
If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...
I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....
I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...