Trung Tran

Greenhorn
+ Follow
since Jun 28, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Trung Tran

hi ali,
just use jt.setFont(f.deriveFont(18f)); instead of jt.seFont(f); (18f is the size of the font you use).
Trung
21 years ago
hi i have just tested this and may be it help you.

Trung
21 years ago
thanks for reply.
i have been to your site and couldn't find any source codes...
some source code examples would be not bad.
thx
21 years ago
hi guys,
i want to write a chess game and just dont know how i could make the visual part of the game in swing.
i haved searched this forum for older topics but didn't found anything that could help me.
what i want to know is which components do i have to use to draw the board and put the pieces on that board and of course move the pieces around that board. i dont need full sources of a chess game. i just want to see some examples how i could realize this.
thanks for helping,
Trung
21 years ago
hi,
thanks for the informations.
yes, that was what i wanted to say, writing an compiler with java. but i dont think that this is possible?!
regards, trung
21 years ago
thanks,
sorry for my really bad english!
i didnt mean generating a class file to an executeable file or something, i know there are ways to do that, but that is not the point why java was developed i think. like Nathan said, write one, run anywhere that is why java is that powerfull for many software development.
well, what i mean is if it is possible to write a java application that create an executeable file. hope this is better to understand.
regards, trung
21 years ago
hi,
do anybody know if it is possible to generate an executeable file with java? and how?
thanks
21 years ago
Hi,
just add this code to your frame.

regards,
trung
21 years ago
hi again!
can someone tell me how i have to sign this applet step by step?? i tried it the hole day but i just dont get it to run.

thanks,
trung
21 years ago
ok, i got it now.
i have to sign my applet...
21 years ago
thanks for the information Manfred!
well, i have another question.
if i dont want to write or read files from the clients do i still need to sign my applet?
my databse is organized in the ODBC-Manager and i just want to connect to the database over the JDBC.ODBC driver and show the selected data in a applet, is that possible without signing my applet?
regards,
trung
21 years ago
hi,
i tried to connect to a MS Access databse with my applet and got this Exception :
java.security.AccessControlException: access denied
It works fine with an application, how can i make a connection to the Access database with an applet?
thanks
21 years ago
try this :
ImageIcon icon = new ImageIcon("images/image.gif");
post your programm here if it wont work.
21 years ago