Java Applet Panel Refresh -
i have java applet loads record of board game url , displays configuration using series of panels laid out in grid , nested in jpanel. small component of overall applet text fields , such inputs , outputs. when button pressed, want board show next configuration record. figured out way this, when button pressed, same configuration shown, when scroll or down, or resize window, configuration changes. there way "refresh" board jpanel when button pressed? currently, when button pressed, new configuration panel created, old configuration removed, , new configuration added display.
thank much!
if nothing else, try hiding , showing panel again. should force redraw.
Comments
Post a Comment