Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

571
Visualizações
How can I make a Java cross-platform GUI application (Windows, Linux)? What tools should I use?

I'm new to Java GUI programming and I want to make a Java GUI application which can run both in Windows and Linux with the same code (the same executable/object file).

Is that possible without any compatibility problems/errors/bugs?

What else (like libraries, classes, packets) will I need to be able to design the GUI in Java?

Should these libraries be present in every computer and every OS to be able for the application to run? Or the Java Virtual Machine (JVM) installed on a computer is enough?

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

Swing is the framework that can help you write GUI applications in Java. Have a look at the Swing tutorial from Oracle: http://docs.oracle.com/javase/tutorial/uiswing/

About platform compatibility: Most Linux distribution installs OpenJDK (open source alternative of Java) as default Java compiler. Mostly it works fine with the program written with Oracle JDK. But if you want to be sure, you can install Oracle JDK on Linux too.

About development IDE: Eclipse and Netbeans are both available across multiple platforms including Windows and Linux.

over 4 years ago · Santiago Trujillo Relatório

0

  1. Before bothering about nice GUI's you should get yourselfs a deeper insight into Java.
  2. Java is always platform independent if you aren't using any special native libraries.
  3. I recommend coding the GUI yourself. I don't even know whether there are some GUI wizards. I recommend Eclipse, but that's purely opinion based...
  4. To get a cross-platform GUI which looks on every platform as a native program yould on the same, I'd recommend the Swing toolkit (javax.swing.*, already included into JRE/JDK)
over 4 years ago · Santiago Trujillo Relatório

0

Swing will do this for you. It's not as pretty as native UI, but it works well and doesn't require any 3rd party libraries: http://docs.oracle.com/javase/tutorial/uiswing/

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda