01: /*
02: * Javu WingS - Lightweight Java Component Set
03: * Copyright (c) 2005-2007 Krzysztof A. Sadlocha
04: * e-mail: ksadlocha@programics.com
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or (at your option) any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: */
20:
21: package calc.step2;
22:
23: import com.javujavu.javux.wings.WingApplet;
24: import com.javujavu.javux.wings.WingComponent;
25:
26: public class CalcApplet extends WingApplet {
27: public void start() {
28: // at first load skin !
29: Calc.loadCalcSkin();
30: //and update applet look
31: WingComponent.updateSkin(this );
32:
33: // and finally show calc panel in applet
34: setContentPane(new Calc());
35:
36: }
37: }
|