};
}
private HBox buildHBoxCompressedOops()
{
final RadioButton rbVMDefault = new RadioButton("VM Default");
final RadioButton rbForceCompressed = new RadioButton("-XX:+UseCompressedOops");
final RadioButton rbForceNoCompressed = new RadioButton("-XX:-UseCompressedOops");
final ToggleGroup groupOops = new ToggleGroup();
rbVMDefault.setStyle(DEFAULT_DISPLAY_STYLE);
rbForceCompressed.setStyle(DEFAULT_DISPLAY_STYLE);
CompressedOops oopsMode = config.getCompressedOopsMode();
switch (oopsMode)
{
case VM_DEFAULT:
rbVMDefault.setSelected(true);
rbForceCompressed.setSelected(false);
rbForceNoCompressed.setSelected(false);
break;
case FORCE_COMPRESSED:
rbVMDefault.setSelected(false);
rbForceCompressed.setSelected(true);
rbForceNoCompressed.setSelected(false);
break;
case FORCE_NO_COMPRESSED:
rbVMDefault.setSelected(false);
rbForceCompressed.setSelected(false);
rbForceNoCompressed.setSelected(true);
break;
}
rbVMDefault.setToggleGroup(groupOops);
rbForceCompressed.setToggleGroup(groupOops);
rbForceNoCompressed.setToggleGroup(groupOops);
groupOops.selectedToggleProperty().addListener(
getChangeListenerForGroupOops(rbVMDefault, rbForceCompressed, rbForceNoCompressed, groupOops));
HBox hbox = new HBox();