- LayeredPane. , . LayeredLayout. , :
FlowLayout fl = new FlowLayout(Component.RIGHT);
fl.setValign(Component.BOTTOM);
Container cont = new Container(fl);
Button btn = new Button("+");
btn.addActionListener(null);
btn.setUIID("ButtonFloat");
cont.addComponent(btn);
myForm.getLayeredPane().addComponent(cont);
myForm.getLayeredPane().setLayout(new LayeredLayout());
btn.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent evt) {
}
});