Its not some company working on outsourcing projects in India!Its name of the oil company which Geor...
By arjunshastry
Hello, My camera supported format is YUVY, how can i convert it to RGBFormat ? Where can i read abou...
By nitza
According to the developer's guide, I can do the "Zero page login" by the URL http://server_name.dom...
By c_y_kam
Hi,We are using Sun[tm] Crypto Accelerator I Board along with iPlanet 6.0 on a Netra T1 Solaris mach...
By 705597
Last night, an old movie surfaced in my mind. I forgot the movie's name, but remembered some of ...
By johnlee, 14 Comments
i am writing a program for testing some thing in a database.The user enters the directory where he w...
By avijitsikder, 1 Comments
I am trying to create a program that will sort a set of numbers either via a random generated set of...
By robierunner, 2 Comments
http://www.youtube.com/watch?v=nRKIDdIaFyEZune Phone...
By andrewmonkhouse, 2 Comments
I'm sure someone has ran into this problem before. My problem is zooming into some areas of the vide...
By onamikaa, 2 Comments
Redefine the paintComponent method of the component : you set the texture with setPaint of Graphics and then you draw the String with drawString method of Graphics
antoine_lemoinea | Mon, 16 Jul 2007 02:00:00 GMT |
i am not sure what you need. Background in 3d scene? if so, see examples in j3d sdkAnd if you need word (text?), see examples again :-D
thidneya | Mon, 16 Jul 2007 02:00:00 GMT |
I want to make a texture image as background, and add text on it , The text can be moved by mouse to anywhere in the background . now , I only made the image as background , and some text on it ,but the text is too big. I typed 搘elcome to garden design? when I run it , I only can see one letter 憌?. I am wondering do u have some idea to make the text smaller . I already changed the size to 1 , but i still can not see the whole words i typed . The code like below
--
Font3D f3d = new Font3D(new Font("Arial",Font.PLAIN,1),extrusion0);
--
I am tried to use set Scale. But it is not work as well. The code like below .
TransformGroup objScale = new TransformGroup();
Transform3D t3d = new Transform3D();
t3d.setScale(0.2);
objScale.setTransform(t3d);
objRoot.addChild(objScale);
I am wondering how I can change the text to the different location on the backgroud, not only in the center.
Thank you so much for u help ^-^
jojoa | Mon, 16 Jul 2007 02:01:00 GMT |
When are you painting the text ?What is objRoot ?
antoine_lemoinea | Mon, 16 Jul 2007 02:01:00 GMT |