Quote:
Originally Posted by knc1
Do you have any plans to share this work with the community under an Open Source license?
Or are we just helping you to complete a closed source application?
|
Of cause, I plan to share this work.
-------
Thanks, ixtab, knc1, geekmaster!
At last I managed to construct and display image on my KT:
public MyPanel()
{
super();
img = new BufferedImage(100,100,BufferedImage.TYPE_INT_ARGB_ PRE);
Random rnd = new Random();
for ( int x=0; x<100; ++x )
for ( int y=0; y<100; ++y )
//img.setRGB(x, y, rnd.nextInt());
img.setRGB(x, y, (0xFF<<24)|(0x40<<16)|(0x40<<8)|(0x40));
}
public void paint(Graphics g)
{
g.drawRect(10, 10, 100, 100);
g.drawImage(img, 10, 10, null);
}
The next steps are clear... I hope that this java implementation allow me to create threads...