pwfPane.add(passwordField, BorderLayout.WEST);
pwfPane.setOpaque(false);
panel.add(pwfPane, BorderLayout.CENTER);
Box btnPane = Box.createHorizontalBox();
JaspiraToolbarButton setPWBtn = new JaspiraToolbarButton(new PWAction(resourceCollection, "passwordwidget.newbtn"));
setPWBtn.setIconSize(12);
btnPane.add(setPWBtn);
JaspiraToolbarButton removePWBtn = new JaspiraToolbarButton(new JaspiraAction(resourceCollection, "passwordwidget.removebtn")
{
public void actionPerformed(ActionEvent ae)
{
setValue(null);
notifyOptionMgrOfOptionChange();
}
});
removePWBtn.setIconSize(12);
btnPane.add(removePWBtn);
panel.add(btnPane, BorderLayout.EAST);
}