View Single Post
Old 01-08-2013, 06:10 PM   #7
sergeyvl12
ebook fan
sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.
 
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
Quote:
Originally Posted by knc1 View Post
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...

Last edited by sergeyvl12; 01-08-2013 at 06:18 PM.
sergeyvl12 is offline   Reply With Quote