AWTTutorialForBug

App Image

Bugview 
   January 14th, 2008
2203 views / 756 downloads
Admin Administrator: Bug Labs teamkschultz

Category: Tutorials    Maturity: Beta
Tags: GettingStarted  Tutorial  Buttons  LCD  AWT  Helloworld  Application  display  GUI 

Download Latest Version

A tutorial for those new to Java and the Abstract Window Toolkit (AWT), written for the Bug’s LCD. It shows most of the widgets, some more to come in the future. For now the tutorial is all in the comments, it should be fairly self explanatory. Look at the Sun tutorial linked to under “Read the How To” for more detailed information. As always, email or comment any problems you encounter or any features you would like added, I am looking for ways to improve it.

Read The How To


Download


Version Date Uploaded by Notes  
Version 7 February 5th, 2008 kschultz  (more) (collapse) download

This application is licensed under the GPL Version 3 license agreements.

5 Comments

Comment_icon Login to add comment

bmartinek

bmartinek said on January 26th, 2008 01:23:46 PM

Woo-hoo a tutorial for the touch LCD!

So far I have not been able to get this to open corectly on OS X 10.5.1. I tried looking at in in Eclipse and in Xcode.


In Xcode the lines just before importing AWT is garbled:
PK �����Íx«0ça‚������junit/awtui/ProgressBar.java˛ ��package junit.awtui;

Thoughts or suggestions?

Thanks in advance!

kschultz

Bug Labs team kschultz said on January 31st, 2008 01:08:39 PM

Ben, Can you clarify a bit where that is getting garbled? We haven't been able to reproduce that on our Mac OS X machines here. Thanks, Kevin

bmartinek

bmartinek said on February 7th, 2008 09:29:18 PM

Hey Kevin,

So I have figured out the issue, or atleast my issue with it. After not being quite sure how to use the Jar, I double clicked on it in, which is pretty standard behavior in OS X. this resulted in with an OS X failure dialog like such:

http://www.flickr.com/photos/keynesiandream/2250157384/


Also I think it should say on the tutorial page above how to get it into Eclipse, or possible in the How To div on the side, which I expected to be how to use it, as opposed to the Sun Tutorial on AWT.


Just my two cents. Keep up the good work!

Cheers,
Ben

code_slave

code_slave said on February 14th, 2008 05:46:01 PM

seems to be working on osx 10.5.2

kschultz

Bug Labs team kschultz said on February 16th, 2008 06:14:48 PM

bmartinek, The easiest way to get open it in Eclipse is to just open up the Dragonfly perspective of eclipse. On the right hand side is a list of programs in the BUGnet tab, just right click on the name of the program you want and choose import, Eclipse will handle all the details of the .Jar file.