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 ...
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 ...
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 ...
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 ...
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 = ...
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:-= ...
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 ...
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 ...
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 ...
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!!!
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 ...
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 ...
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 ...
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 ...
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..
how to capture mpeg4 from ip cameradoes any body have the java code for thator the links to any opensource softwarethanks in advance
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 ...
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.
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 ...
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!
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 ...
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 ...
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
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. ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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
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. ...
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 :)
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 ...
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 ...
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 ...
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. ...
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
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 = ...
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 ...
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 ...
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 ...
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 ...