Created
December 23, 2013 16:51
-
-
Save alcidesfp/8100459 to your computer and use it in GitHub Desktop.
Snippet de código en Kawa con Swing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- coding: utf-8; mode: Scheme -*- | |
;; Snippet de código utilizando Swing en Kawa | |
(define-alias JFrame javax.swing.JFrame) | |
(define-alias JLabel javax.swing.JLabel) | |
(let ((frame1 (JFrame "Ventana Hola"))) | |
(*:add frame1 (JLabel "Hola a todos desde Kawa")) | |
(*:pack frame1) | |
(*:setDefaultCloseOperation frame1 JFrame:EXIT_ON_CLOSE) | |
(*:setVisible frame1 #t)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment