In that method, you add a button to your frame, as shown in Listing 4.
在该方法,可以向框架添加按钮,如清单4所示。
Before you can add the button to the frame, however, you create a sizer.
但是在可以向框架添加按钮之前,需要先创建sizer。
Let's take a simple example of responding to button selection within a Swing frame.
我们举一个对Swing框架中的按钮选择做出响应的简单例子。
You can see that the Place Order button is a child of the frame.
您可以看到PlaceOrder按钮是框架的子部分。
Select ElementImport from the left frame and click the arrow button in the right frame.
从左边框架之中选择elementimport,并点击右边窗格之中的箭头按钮。
On the right frame click the Add button.
在右侧窗体上单击add按钮。
Click the single box frame radio button indicating page properties (Figure 29) and click OK.
单击singleboxframe单选按钮指定页面属性(如图29所示),单击ok。
Clicking the Hide button will remove the tracker from the current frame.
点击隐藏按钮将删除从当前帧的跟踪点。
Move the cursor to RECORD FRAME RATE sub menu using the UP or DOWN button.
使用上下按钮,把指针移向返回记录帧速菜单,。
Move the cursor to RECORD FRAME RATE sub menu using the UP or DOWN button.
使用上下按钮,把指针移向返回记录帧速菜单,。
应用推荐