Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
    • Graphic
    • HTML / PHP / CMS
    • Java
      • Currency converter
      • HqEclipse
      • JComboBox autocompletion
      • MS SQL Server JDBC Driver
      • MySQL
      • NetBeans
      • SmartGWT
      • exampels
    • PL / SQL
    • Magento
    • python
    • Asterisk
    • C / C++
    • JavaScript
    • Json
    • Magento
    • OpenOffice / LibreOffice
    • Perl
    • Postfix
    • Regular Expression
    • TLA
    • Tomcat
    • Zenity
    • bash
    • find
    • git
    • ofbiz
    • wildfly
    • xml
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
https://raw.githubusercontent.com/panticz/installit/master/dep/install.smartgwt.sh

# install smart gwt
wget http://smartgwt.googlecode.com/files/smartgwt-2.4.zip -P /tmp
sudo unzip /tmp/smartgwt-2.4.zip -d /usr/share/
sudo ln -sf /usr/share/smartgwt-2.4/ /usr/share/smartgwt
sudo ln -sf /usr/share/smartgwt/smartgwt.jar /usr/share/java/
sudo ln -sf /usr/share/smartgwt/smartgwt-skins.jar /usr/share/java/

# restart tomcat server
sudo /etc/init.d/tomcat6 restart


# create default GWT Project
File > New > Web Application Project

Project name:
Smart

Package:
smart

[ Finish ]


# add smartGWT

Smart > smart > .gwt.xml add to module section:


Smart > war > .html add to head section BEVORE first script section
var isomorphicDir = "smart/sc/"

# add smartgwt libs
Project > Properties
Java Build Path > Libraries
Add External Jar
/usr/share/smartgwt/smartgwt.jar

[ OK ]


Smart > src > smart.client > Smart.java add
import com.smartgwt.client.util.SC;
import com.smartgwt.client.widgets.IButton;
import com.smartgwt.client.widgets.events.ClickEvent;
import com.smartgwt.client.widgets.events.ClickHandler;
uncoment
//import com.google.gwt.event.dom.client.ClickEvent;
//import com.google.gwt.event.dom.client.ClickHandler;

Smart > src > smart.client > Smart.java add to onModuleLoad function
		  IButton button = new IButton("Click me");

		  button.addClickHandler(new ClickHandler() {
			@Override
			public void onClick(ClickEvent event) {
				SC.say("Hello GWT");
			}
		  });

		  RootPanel.get().add(button);

uncoment other source in onModuleLoad function
uncoment all other functions in Smart.java
clean up HTML in Smart > war > Smart.html

# Links
http://www.smartclient.com/smartgwt/showcase/ - showcase
http://code.google.com/p/smartgwt/ - SmartGWT homepage
http://localhost:8888/Smart.html?gwt.codesvr=127.0.1.1:9997 - Development local URL
http://code.google.com/p/smartgwt/source/browse/trunk/samples/showcase/src/com/smartgwt/sample/showcase/client/data/CountryRecord.java
http://jellebeuselinck.wordpress.com/2009/03/05/setting-up-smartgwt/
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung