Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

573
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda