[Java-gnome-developer] How to use the Canvas
Brought to you by:
afcowie
From: Joao V. <jvi...@ya...> - 2005-01-24 12:32:30
|
I've been trying to use the Canvas lately, but with no success... i've tried to add a CanvasText to a Canvas, but its just not appearing. Is there a problem with the Canvas? Is there an example of how to use it? I've tried doing: ------ Canvas canvas = (Canvas) glade.getWidget("canvas1"); CanvasText text = new CanvasText(canvas.getRoot()); text.setData("text", "testing..."); canvas.showAll(); ------ Thanks, J.V. _______________________________________________________ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis |