Technopedia Center
PMB University Brochure
Faculty of Engineering and Computer Science
S1 Informatics S1 Information Systems S1 Information Technology S1 Computer Engineering S1 Electrical Engineering S1 Civil Engineering

faculty of Economics and Business
S1 Management S1 Accountancy

Faculty of Letters and Educational Sciences
S1 English literature S1 English language education S1 Mathematics education S1 Sports Education
teknopedia

teknopedia

teknopedia

teknopedia

teknopedia

teknopedia
teknopedia
teknopedia
teknopedia
teknopedia
teknopedia
  • Registerasi
  • Brosur UTI
  • Kip Scholarship Information
  • Performance
  1. Weltenzyklopädie
  2. java-gnome - Teknopedia
java-gnome - Teknopedia
java-gnome
software
Schermata di esempio
Schermata di esempio
GenereLibreria grafica (non in lista)
Ultima versione4.1.3 (5 maggio 2013)
Sistema operativoUnix-like
LinguaggioJava
LicenzaGNU versione 2
(licenza libera)
Sito webjava-gnome.sourceforge.net/
Modifica dati su Wikidata · Manuale

java-gnome è un insieme di librerie Java per lo sviluppo di applicazioni per GNOME usando il linguaggio Java e le librerie GTK+ in un sistema cross-platform.

Dalla versione 2.0, java-gnome è scritto da un team [1], mentre le precedenti era originariamente un progetto della Operational Dynamics [2] ed è stata completamente riscritta per creare un tool completo open source e dalla versione 2.0 le librerie java-gnome sono disponibili secondo la licenza GPL[3].

A differenza della maggior parte delle librerie GTK+, non è disponibile la versione per Microsoft Windows.

Esempio

[modifica | modifica wikitesto]

Per compilare una classe scritta con java-gnome è necessario aggiungere il jar gtk-4.1.jar al classpath durante la fase di compilazione, nei sistemi Debian (e tutte le distribuzioni derivate) è disponibile il pacchetto libjava-gnome-java[4] nei repository ufficiali (il jar viene installato nella cartella \usr\share\java\).

java-gnome GtkExample
package org.wikipedia.javagnome.example;
import org.gnome.gdk.Event;
import org.gnome.gtk.Gtk;
import org.gnome.gtk.Widget;
import org.gnome.gtk.Window;
import org.gnome.gtk.WindowPosition;
/**
 * Java-Gnome GTK Example
 * ispired official site java-gnome.sourceforge.net
 */
public class GdkSimple extends Window {
  public GdkSimple() {
    setTitle("Example");
    connect(new Window.DeleteEvent() {
      public boolean onDeleteEvent(Widget source, Event event) {
        Gtk.mainQuit();
        return false;
      }
    });
    setDefaultSize(250, 150);
    setPosition(WindowPosition.CENTER);
    show();
  }
  public static void main(String[] args) {
    Gtk.init(args);
    new GdkSimple(); 
    Gtk.main(); 
  } 
}

Note

[modifica | modifica wikitesto]
  1. ^ La lista degli sviluppatori AUTHORS Archiviato l'8 febbraio 2011 in Internet Archive.
  2. ^ java-gnome 4.0: About Archiviato il 21 luglio 2009 in Internet Archive.. Accessed 2009-08-31.
  3. ^ COPYING file Archiviato il 10 novembre 2010 in Internet Archive. at the source repository
  4. ^ libjava-gnome-java package, su packages.debian.org.

Voci correlate

[modifica | modifica wikitesto]
  • GTK+

Collegamenti esterni

[modifica | modifica wikitesto]
  • Sito ufficiale, su java-gnome.sourceforge.net. Modifica su Wikidata
  • Repository sorgenti di Java-gnome, su github.com. Modifica su Wikidata
V · D · M
GNOME
ComunitàProgetto GNOME · GNOME Foundation · GUADEC Persone: Miguel de Icaza · Federico Mena · Havoc PenningtonGNOME
Componenti
GNOME 3-4GNOME Display Manager · GNOME Shell · Mutter
GNOME 2GNOME Display Manager · GNOME Panel · Metacity · Clearlooks
Applicazioni
CoreCheese · Disk Usage Analyzer · Evince · Eye of GNOME · GNOME Files · gedit · GNOME Calculator · GNOME Disks · GNOME Screenshot · GNOME Software · System Monitor · Web · Seahorse · Terminal · Videos
SviluppoAnjuta · GNOME Boxes · Devhelp · Geany · Glade · GNOME Builder
AltreDia · Dictionary · Ekiga · Empathy · Evolution · GNOME Archive Manager · GNOME Office · Gnote · Pitivi · Rhythmbox · Sound Juicer · Tomboy · Programmi GNOME
TecnologieATK · Bonobo · Cairo · Clutter · D-Bus · GConf · GLib · Keyring · GNOME VFS · GObject · GStreamer · GTK · java-gnome · Mono · Pango · Vala
Voci correlateCommon Desktop Environment · KDE · Xfce · Freedesktop.org
  Portale Software libero: accedi alle voci di Teknopedia che trattano di software libero
Estratto da "https://it.wikipedia.org/w/index.php?title=Java-gnome&oldid=147834754"

  • Indonesia
  • English
  • Français
  • 日本語
  • Deutsch
  • Italiano
  • Español
  • Русский
  • فارسی
  • Polski
  • 中文
  • Nederlands
  • Português
  • العربية
Pusat Layanan

UNIVERSITAS TEKNOKRAT INDONESIA | ASEAN's Best Private University
Jl. ZA. Pagar Alam No.9 -11, Labuhan Ratu, Kec. Kedaton, Kota Bandar Lampung, Lampung 35132
Phone: (0721) 702022