Java 3D - Programming Cameras and Pan-Tilts with DirectX and Java

404 byte By wpoeta at 2007-11-26 23:06:55
Hi everybody!I am looking for the book and CD for the book "Programming Cameras and Pan-tilts with DirectX and Java", by Ioannis Pavlidis, Vassilios Morellas, Pete Roeber. Morgan Kaufmann 2003. It is out of print. I cannot find it anywhere. Does anyone have a copy of the CD-ROM and would be ...

Java 2D - Copying an image while retaining transparency

2146 byte By St00a at 2007-11-26 23:06:56
Hi,I looked about on similar posts but couldn't find anything that related exactly to this problem, sorry if it's a repeat.I'm attempting to paint some smaller images onto a background and want them to be transparent and rotate around. I've loaded the images into an array objectImages and ...

Cryptography - JCE BC PGP relation/support question

501 byte By vinayss78a at 2007-11-26 23:08:09
I was looking aroud for a java based PGP implementation and I came across Bouncy Castle (BC). I checked the docs and the mail list, but had a few questions:1. How does JCE relate to PGP and BC? I understand that BC is one of the providers/implementations for JCE. But how does BC PGP tie into ...

Signed Applets - grant codeBase doesn't work!

564 byte By Haidaa at 2007-11-26 23:09:53
I've a signed applet that needs to read wave files from a folder in C:\Program Files. In the policy file, I've added these lines:grant codeBase " http://www.mysite.com/-" {permission java.io.FilePermission "C:Program Files\\folder-", "read";}The problem is I still get ...

Other Security APIs, Tools, and Issues - How to get user name using access control api?

709 byte By imp.luka at 2007-11-26 23:10:02
Hi,can anybody tell me how can distinguish the user name and role name when using access control api?currently, i can only get a set of principals that user principal and role principal mix togethersee below:java.security.AccessControlContext context = ...

Java Media Framework - Audio+Video Chat works but one small problem.Pls help.

1280 byte By ameyaraicha at 2007-11-26 23:10:32
HI.. as i had posted once before in a different query's thread, i have implemented audio and video chat using AVTRansmit2 and avreceive2.audio and video chat work well.By video chat i mean not only video but VIDEO+AUDIO as well.. just like usual yahoo video chat.But the problem is like this:-= ...

Java Media Framework - Transmiting live captured with JMF

6784 byte By pintoia at 2007-11-26 23:13:07
Hello I'm new here.I need some help how do i transmit live video from my webcam over a lan?I try this but it doesn't work can someone helpe me , i really need this to my project .Thank you.david.pinto.araujo@gmail.commport java.io.*;import java.util.*;import javax.media.*;import ...

Java 2D - Problem with huge graphic - Lines become noise

1398 byte By sagicca at 2007-11-26 23:14:15
Hi there,I have a strange problem when drawing a huge graphic. Is is a kind of line-chart. The graphic (chart) is placed to a JPanel within a JScrollPane. The size can be configured and if it exceeds a size the lines are not visible anymore, but every pixel of the line is distributed within the ...

Java 3D - JMF acceleration through Java3d?

372 byte By carcophana at 2007-11-26 23:14:54
Hi,I've been using JMF and FOBS and have been noticing rather slow playback performance of videos, especially when scaled to fullscreen or when videos are in DivX format.I was wondering: could it be possible that hardware accelerated video rendering using the Java3d framework can increase the ...

Java Secure Socket Extension (JSSE) - renew a keypar

294 byte By DaleGroa at 2007-11-26 23:15:54
if I generate a container of keys with they keytool and a security certificate that lasts 30 days, in a pair of archives kerStore and certificate, how can I renew these keys for more number of day, from a class, not from the keytool ? O_othanks for your help!!!

Java Media Framework - No Video

13425 byte By lostInJavaa at 2007-11-26 23:16:07
I am learning JMF and working through an IBM tutorial. The code is supplied in that tutorial except for the show() method that was deprecated so I changed to setVisible(true). It compiles fine and opens the frame. It plays sound files fine, but not video. I hear the audio but see no video when ...

Event Handling - Pause a timer

373 byte By waltermapauna at 2007-11-26 23:16:12
I have a periodic task and I need to pause it for a undefined time.but when the periodic task is restarted it should remember the time that spent since the last periodic event till the begining of the undefined time,this way the first periodic event should be shorter than normal.can it be ...

Cryptography - help with padding

1992 byte By aybhavea at 2007-11-26 23:18:03
I am developing a backup and retrieve file system for LANs in Java.For this, the client encrypts the file and sends it to the server. While retrieving the same file later on, the client sometimes reports "Bad Padding Exception". This happens for some files and not for others. How should I use ...

Java 2D - How to Rotate a Buffered Image around the centroid

1301 byte By drew_kutchara at 2007-11-26 23:18:29
I need to rotate a bitmap (BufferedImage) in Java using Graphics2D. I need to rotate it around the centroid of the image which itself isn抰 a problem. But let抯 imagine that we have a rectangular Image with it抯 centroid positioned at X and Y. In Java, when you call drawImage() you need to pass ...

Java Advanced Imaging - Save BMP

202 byte By richa_sharmaa at 2007-11-26 23:18:33
I hv created an image using theimg = createImage(new MemoryImageSource(iw,ih,pixels,0,iw));How can I save this image as a .bmp file on disk?(on local machine)please help me..

Java Media Framework - capture mpeg4 from ip camera

160 byte By ddileep81a at 2007-11-26 23:18:41
how to capture mpeg4 from ip cameradoes any body have the java code for thator the links to any opensource softwarethanks in advance

Java 2D - Java code for representing chart from DB

455 byte By Akshay_Shaha at 2007-11-26 23:19:41
Hi!I want to connect my java code with Database for representing a scattered chart using either web browser or applet.My database consists of transid, custid, date, prod1, prod2, prod3... and every record will be treated as a transaction.Based on this database details i need to plot the point ...

Java Media Framework - media file transfer AVTransmit2.java

211 byte By jerry30a at 2007-11-26 23:19:43
hi, when i try to run this code i get an error saying..."can't create data source".. what might be the possible reasons for that error.. and what are all the prerequisites to run this code.. please help.

Java 2D - Speeding up java graphics

477 byte By hackIta at 2007-11-26 23:19:50
Hello,We have bought in a java plotting application, which is replotting very slowly.Do the 2D plotting routines with Java make use of the graphics card on a machine if available ? We are running on a mixed solaris/linux setup . I knoe that it I were writing code in C++ I could use say openGL ...

Other Security APIs, Tools, and Issues - Server to Server 2 way SSL

200 byte By Marvelousa at 2007-11-26 23:20:23
Has anyone any links or experience with 2 way SSL for Server to Server? Web Server A to Web Server B for web services.The norm is Server to Client.Any help is appreciated. Thanks!

Cryptography - new bie ,please help with the password

561 byte By erikaa at 2007-11-26 23:20:46
this is my scenario,i need to generate a random password when the user clicks a button.what should happen is,the password should be updated in the database and the same should be sent as an email to the user.I've generated the password using java.random.I work in struts framework, I' don't ...

Java Media Framework - problem in mediaplayer using JMF

3394 byte By Shaik_Sajana at 2007-11-26 23:20:55
hi friends, I was just creating a media player using JMF. but i ve pblm in executing... i can play the file using JMFPlayer(JMFStudio). but my pgm doesnt execute. it even doesnt play the audio file. am givin the code alse here. pls anyone help.import java.awt.BorderLayout;import ...

Java 2D - calculating transparent colors

262 byte By kulkuria at 2007-11-26 23:21:34
I have a background color (say white), a foreground color (say black), and a transparency (say 90%, alfa=0.1).Is there a java method that calculates the RGB of the gray color that should be displayed to represent the transparency?TIA, kuvera

Cryptography - how to generate all possible keys for DES algorithm

303 byte By Radi0Shacka at 2007-11-26 23:21:45
Hello every one,I want to generate all the possible key combinations for the DES algorithm 56-bit "actuallly 64 but the last 8 bits are just padding", so can anyone plz help how can i do that? or give me article or something that might help me?Thanks in advance,Amr M. ...

Cryptography - Version for java1.2.2 with AES

224 byte By bunty4ua at 2007-11-26 23:22:15
I have appication with java1.2.2. Now Ii want to use AES encryption in that Application. Which provider support AES encryption?Which version of JCE should I use to that?.RegardsPrakash

Java 3D - null

5038 byte By lucky_fausta at 2007-11-26 23:22:40
Hii want to change the trancparancy on the fly. this error occurs:Exception in thread "AWT-EventQueue-0" javax.media.j3d.CapabilityNotSetException: Transparency: no capability to set componentthis is the code:import java.applet.Applet;import java.awt.BorderLayout;import java.awt.Button;import ...

Cryptography - RSA decryption using block cipher

2515 byte By kokoricoa at 2007-11-26 23:22:59
Hi everybody,I'am getting stuck around a decryption problem. It is my first time (since one month) I work in java cryptography - and even in cryptography at all.Well, I made two programs (2 java applet) :- The first one compute a MD5 hash code of a specified file. Then this hash code is signed ...

Java 2D - Image with transparent polygon.

646 byte By skifracea at 2007-11-26 23:23:53
Hello,I am trying to overlay one image with another.The image on top must be altered so part of it (say upper left corner)is transparent, in order for the image on the bottom to show up in this location.I am using the JAI.create ("overlay", ...);This part works fine, what I cannot do is ...

Java Advanced Imaging - Image with transparent polygon.

646 byte By skifracea at 2007-11-26 23:23:54
Hello,I am trying to overlay one image with another.The image on top must be altered so part of it (say upper left corner)is transparent, in order for the image on the bottom to show up in this location.I am using the JAI.create ("overlay", ...);This part works fine, what I cannot do is ...

Java 3D - Image with transparent polygon.

646 byte By skifracea at 2007-11-26 23:23:56
Hello,I am trying to overlay one image with another.The image on top must be altered so part of it (say upper left corner)is transparent, in order for the image on the bottom to show up in this location.I am using the JAI.create ("overlay", ...);This part works fine, what I cannot do is ...

Cryptography - Cannot find any provider supporting DESede/ECB/PKCS5Padding

3641 byte By Gamaa at 2007-11-26 23:23:58
Hello all,We have some class that encript some string using one keyFileMy method to encrypt the string is that:public static String encryptURL(String url, String keyFileName){Key key = null;Security.addProvider(new SunJCE());ObjectInputStream in = null;try{in = new ObjectInputStream(new ...

Java Advanced Imaging - Urgent Help Required.......Converting a character into a 16*16 matrix

594 byte By digitallStalliona at 2007-11-26 23:27:21
Hi All,It抯 been a good long time that I am working on a problem. In one of my projects we抳e Electronic Data Display Units (EDDUs) interface which actually serves as the presentation layer. Now the problem is that I need to pass a 16*16 character bitmap to the EDDUs corresponding to each ...

Other Security APIs, Tools, and Issues - Problem with granting permissions in the security polic

6048 byte By JahnviVyasa at 2007-11-26 23:27:35
Hi,I have a security policy file. I am granting permissions to some files. Now even if I have given permissions explicitly it doesnt taking it and gives error. My code snippet is as follows:...grant codeBase "file:${jboss.server.home.dir}/deploy/jboss-ws4ee.sar/-"{permission ...

Java Media Framework - Putting jmf.jar in archive

695 byte By fran03a at 2007-11-26 23:27:58
Hi, I have posted the question in the applet section, but got no answers...I have an applet and it needs a jar to run, I don't want to have the clients to put/install the jar (FYI: it is JMF). So I need to use the the archive in the applet tag.In particular, I have:<APPLET ...

Java 2D - Setting the size of Jframe

266 byte By govind_kailasa at 2007-11-26 23:28:21
In my program there is a main Jframe.In that i placed a button and when i click the button another Jframe have to come,so that is coming but my problem is the size of the window is very small and i hve to drag it to the original size.how can i over come this?

Java 2D - Need urgent help ..save BMP image

1123 byte By richa_sharmaa at 2007-11-26 23:29:18
I have a BMP image .I m extracting its pixels (using PixelGrabber)and formatting those values as per requirements.Now,I have to create an image using this pixels array again.Image img;img = createImage(new MemoryImageSource(iw,ih,pixels,0,iw)) ;This is creating an image "img" of type ...

Cryptography - Signature verification failed, any idea why ?

5813 byte By kokoricoa at 2007-11-26 23:29:21
Can you help me why this code print "false" at he end. thanks.package sign;import java.io.DataInputStream;import java.io.File;import java.io.FileInputStream;import java.security.KeyStore;import java.security.PrivateKey;import java.security.Provider;import java.security.Security;import ...

Java 3D - How can i refresh the window with Java 3D

175 byte By jiyanlianga at 2007-11-26 23:29:53
Hi everybody!I am the beginnger of Java 3D I know with maximize button and minimize button can do it I want to do it with programming!Thanks

Java 2D - Double Buffering a large image - is it a good idea to do so ?

701 byte By chaos_begins_herea at 2007-11-26 23:29:56
I'm developing a small maze like game. I'm using double buffering. So I double buffer the enter screen area (1024x768) and copy them all back to the on screen buffer...I need my code to run atleast at 18 - 24 fps.Is there a better/efficient way to do this...Note : I'm manually double buffer. ...

Java 3D - First Time

276 byte By Xenobiusa at 2007-11-26 23:30:04
Hello all,I am fairly new to the Java scene and am learning slowly bit by bit. I saw this Java 3D Thread and I became interested in experimenting but I have no clue were to start..Any suggestion on a book / software / examples etc.. ? Thanks all :)

Other Security APIs, Tools, and Issues - How Secure Is Java?

1583 byte By ChrisDSmitha at 2007-11-26 23:31:33
As an organisation we have been through a process of evaluating Java, primarily for the development of applets that will consume SOAP services so as to provide a very rich 'web' interface.There are however various 'security' concerns that we have no answer for at this time and so we would ...

Cryptography - RSA cryptanalysis : same message sent to different ppl with same low public

2425 byte By Hydexa at 2007-11-26 23:32:06
I have a set of three crypted messages (C1,C2,C3) (plus their modulus N1,N2,N3) from the same original message and I know the public exponent is 3, so I should be able to decrypt the original, shouldn't I?So, if I understood well, I have to apply the Chinese remainder theorem and compute ...

Event Handling - Timely JFileChooser

1360 byte By -Deba at 2007-11-26 23:32:25
When I pressed a JButton to display a JFileChooser, it takes longer sometimes than others.There is enough of a delay that it makes me question whether I pressed the button or not.I changed the cursor to a wait cursor, which I release after creating the JFileChoser, however that has issues.I was ...

Problem with decryption of data read from file.

7152 byte By ShakuR_a at 2007-11-26 23:34:16
Hello,What I want to do is a very simple encryption. I only want to encrypt 2 standard strings (username and password) and then write them to a txt file. Later I would like to be able to decrypt the data stored to the file in order to compare them with a password and username given by the user. ...

image files

141 byte By Delaicerwa at 2007-11-26 23:35:42
Are they any specified functions or methods that can tell if a file is an image type or not. i.e it it is a JPG, GIF etc.Thanks

Wrong Decryption result.

3487 byte By Darkman_dda at 2007-11-26 23:36:31
Assume that i have a message. I had to apply a blind signature on it's message digest. I've done this:BigInteger m = new BigInteger(digest);BigInteger e = publicKey2.getPublicExponent();BigInteger d = privateKey2.getPrivateExponent();SecureRandom random = ...

opengl stops working in mustang?

950 byte By Kendrica at 2007-11-26 23:36:34
I have a java game I have been working on. I am mainly using bufferedimages of png origin and drawing them all over the screen. The game is running fine, and I read about using the vm arg -Dsun.java2d.opengl=true in java 5.When i added that, my frame rate went from 60fps to 100fps(its capped at ...

how to get two audio voice and how to identify its frequencies

462 byte By itsgkumara at 2007-11-26 23:36:35
hello,, i am new to javax.sound .. here anybody help me in my mini project1.. i hv to get to audio voice from two different person same time...2 next i hv to visualize their audio frequency.... so sure that both the audio voice vary in frequency..3.. i hv to seggregate this two audio voice and ...

Drawing multiple shape

1653 byte By gigapra at 2007-11-26 23:38:45
I am working on a small program to draw multiple shape, I am having problem because I can not draw more than one shape on the screen at the same time . can you help me plsimport java.awt.Graphics;import java.awt.Graphics2D;import java.applet.Applet;import java.awt.event.MouseEvent;import ...

Showing more than one video clip problem...

5822 byte By PeteFa at 2007-11-26 23:39:51
I am having problems with showing more than one video. The first video shows fine, but from the second one on, I only get the audio and the video does not get refreshed or shown. Here is the code I have. I am basically reading a list of video to show from a properties file. It displays the ...