Muda do EXIT ON CLOSE pra DISPOSE_ON_CLOSE
code d exemplo qfiz
public static void main(String[] args)
{
JFrame frame = new JFrame("Janela principal");
frame.setSize(600, 700);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
JButton b = new JButton();
b.addActionListener(actionListener ->
{
JFrame frame2 = new JFrame("Janela 2");
frame2.setSize(200, 200);
frame2.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
frame2.setLocationRelativeTo(null);
frame2.setVisible(true);
});
frame.add(b);
}
http://prntscr.com/87qlxp
Minha sugestão é colocar skin da shout pra mobile, por que não tem... ai tem que usar a skin padrão e fica muito ruim no celular.
https://community.invisionpower.com/files/file/6304-customobile-mobile-skin/
http://windows.microsoft.com/en-us/windows-8/restore-refresh-reset-pc
Sua dúvida foi marcada como [Resolvido] e movido à área de dúvidas resolvidas. Atenciosamente, Gamer's Board
Ai só
if(slotsVazios < 8 )
{
player.sendMessage(prefix + ChatColor.translateAlternateColorCodes('&', "&cLimpe no minimo 8 slots no seu inventario." ) + espacoDisponivel);
return false;
}