Example #1
0
 public void prevPage() {
   popup.removeWidgets(plugin);
   page--;
   if (page < 0) {
     page = 0;
   }
   createPopup(false, true);
 }
Example #2
0
 public void nextPage() {
   popup.removeWidgets(plugin);
   page++;
   if (page > maxPage) {
     page = maxPage;
   }
   createPopup(false, true);
 }