}
private void romFormatLbAction() {
Object sel = romFormatLb.getSelectedValue();
if (sel == null || !(sel instanceof CartridgeFormat)) return;
CartridgeFormat format = (CartridgeFormat) sel;
Console console = room.currentConsole();
Cartridge cart = console.cartridgeSocket().inserted();
if (cart == null || cart.format().equals(format)) return;
Cartridge newCart = format.createCartridge(cart.rom());
console.cartridgeSocket().insert(newCart, true);
}