tag:blogger.com,1999:blog-6885067460687713893.post8134687015026581405..comments2024-03-28T05:50:40.310+01:00Comments on Harmonic Code: Custom steelHan Solohttp://www.blogger.com/profile/12574196875988408685noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6885067460687713893.post-48115788023572131622010-11-20T23:17:08.723+01:002010-11-20T23:17:08.723+01:00hello
I'm newbie in java so I still don't...hello<br /><br />I'm newbie in java so I still don't understand how to use the library in my code. for example I want to make compass, I use netbean, I have wrote code but nothing view. here my code. can you give my some example code? thx<br /><br />/*<br /> * To change this template, choose Tools | Templates<br /> * and open the template in the editor.<br /> */<br /><br />package javaapplication3;<br /><br />import eu.hansolo.steelseries.extras.Compass;<br />import java.awt.image.BufferedImage;<br />import java.io.IOException;<br />import javax.imageio.ImageIO;<br /><br /><br />/**<br /> *<br /> * @author aang<br /> */<br />public class Main {<br /><br /> /**<br /> * @param args the command line arguments<br /> */<br /> public static void main(String[] args) {<br /> // TODO code application logic here<br /> <br /> Compass kompas = new Compass();<br /> <br /> BufferedImage gambar;<br /> <br /> try<br /> {<br /> gambar = ImageIO.read(new java.io.File("logo.png"));<br /> }<br /> catch (IOException exception)<br /> {<br /> gambar = null;<br /> }<br /> <br /> kompas.setValue(100);<br /> kompas.setTitle("Kompas");<br /> <br /> <br /> }<br /><br />}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6885067460687713893.post-47787090717242601402010-11-08T16:40:38.909+01:002010-11-08T16:40:38.909+01:00Was your MacBook in repair when you created this c...Was your MacBook in repair when you created this component? Nice JUG Razoblade gauge btw :-PAnonymoushttps://www.blogger.com/profile/18232587351469084767noreply@blogger.com