pnButtons = new ContentPane();
Row mainRow = new Row();
mainRow.setAlignment(new Alignment(Alignment.RIGHT, Alignment.DEFAULT));
mainRow.setInsets(new Insets(new JbsExtent(11), new JbsExtent(11)));
btnPrevious = new JbsButton(this.getPreviousCaption());
btnPrevious.setAlignmentHorizontal(Alignment.CENTER);
btnPrevious.setWidth(new JbsExtent(80));
btnPrevious.addActionListener(new ActionListener() {
private static final long serialVersionUID = 1L;
public void actionPerformed(ActionEvent arg0) {
previousPage();
}
});
mainRow.add(btnPrevious);
btnNext = new JbsButton(this.getNextCaption());
btnNext.setAlignmentHorizontal(Alignment.CENTER);
btnNext.setWidth(new JbsExtent(80));
btnNext.addActionListener(new ActionListener() {
private static final long serialVersionUID = 1L;