140 byte By
vivinda at 2007-11-27 8:43:50
hello ,i am working on canvas and i want to save that canvas as image (jpeg ) ,is it posible ,then plz tell me how.Thanks.....
142 byte By
Peedsana at 2007-11-27 8:44:12
Hi ...i want to learn java3d ... can anybody suggest me a good book to start that or any tutorial ......thnx in advance..
Im using eclipse on a windows vista machine and im using code on this machine which has been written on another machine. The problem is that the libraries javax.media cannot be resolved.Does anyone have an answer or reason to why this is happenning.Thanks
Is there a way to capture audio via a microphone, and send that audio to another application that recieves streaming audio. This all needs to be done in a web browser, not in any standalone programs. The second application will be on another browser... Can it be done Java, php, java script... ...
514 byte By
namon20a at 2007-11-27 8:47:14
I have primary keys etc stored in java key store and I have hard coded the password for keystore for now but I am thinking to store that password in text file in encrypted form. The architect of my team does not want to store password for keystore in database so now I need two way hashing algo. ...
Dear all, I have a concept question which is related to runnable and paint since I try to make 2D animation. My question is if I have a class which extend Applet/Canvas and implements Runnable, then what is the relation between runnable() & paint() ? Let me make my question clear, I should ...
1507 byte By
Toshi47a at 2007-11-27 8:48:35
I'm trying to use the certificates out of the Microsoft Certificate Store to open a URLConnection that requires a client certificate.Basically, I'm doing this-KeyStore store = KeyStore.getInstance("Windows-MY");store.load(null, null);KeyManagerFactory kmf = ...
408 byte By
free2f1a at 2007-11-27 8:49:55
Hi all...I have created a line plot graph in 2d..i have lets say points y values 0-250...an i have points for example (0,250), (1,50), (3,250), (4,0) and so on...i managed to draw a line plot but i would like these points to be connected with one line (something like a curve) or like the sin ...
5493 byte By
jmg66a at 2007-11-27 8:50:57
Dear all,I am currently trying to get high quality rendering for monochrome text, targeting epaper viewers. I draw strings into a BufferedImage, and display it on my LCD monitor in order to quickly check the rendering quality, before transferring it to epaper. I am encountering some ...
Hi can anyone help me how to create a cipher object which does Null Padding if the input data length is not a multiple of 8 bytes in the case of DES in SunJCE provider.
7464 byte By
jas999a at 2007-11-27 8:54:18
hi i m try to make a structure moving i was able to make part of it can somebody help please...thanks in advanceimport java.awt.Container;import java.awt.Dimension;import java.awt.Graphics;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import ...
11199 byte By
cleua at 2007-11-27 8:55:24
I'm hoping one of you can tell me why when attempting to decrypt an OpenSSL Blowfish encrypted file via the following code (below), the Blowfish Cipher initialization code yields: java.security.InvalidKeyException: Wrong algorithm: Blowfish requiredat ...
1069 byte By
LLLa at 2007-11-27 8:56:12
Hello everyoneI tried to transmit a mpeg file using AVTransmit2 and AVtransmit4 and it did work, but however the transmission stoped after few minutes and the following message was printed: java.lang.NullPointerExceptionat com.sun.media.codec.video.mpeg.Packetizer.doSlice(Packetizer.java:533)at ...
Can anyone tell me how to change the screen resolution of the desktop, or where to find information on it?
Hi,I have two requirements,1. To connect to a http:// site that takes a username and password to login. I have the code that checks url response for internal and external sites that do not have an authentication(login types). Now when i run this on a site that requires a login i get the ...
Hello, I currently have a problem with clipping an image. The clipping itself is actually doing fine, however the clipped area is always black. I tried to set the color to something else that black by setting the g2d.setBackground (I would like to have that area transparent or a least white) ...
Hello! in my project,the hardware security chips generate pair of RSA keys and i got them in byte[]for examplehe give me/*PublicKey*/pkd[ ...
Hiiam reading and writing and GIF image,when i resize the new imagethe transparency of the old image is not applied to the new one it appears black as background. so i need to set the transparency of the old image to the new GIF image . so is there any function to set the tranparency or any ...
1024 byte By
max_nya at 2007-11-27 9:00:30
Hello all I have a general question about bitwise shift operations for java imaging. I have been looking lately about how to do image processing operations with java. Came across lot of stuff, JAI, ImageJ, lot of other lib. .. The thing which is confusing me, how important are the bitwise ...
Hi All,I am using org.apache.commons.httpclient.HttpClient and org.apache.commons.httpclient.methods.PostMethod to post a request to https site. my requirement is i need to read the url from property file, add some sensitive information in the HttpHeader and post the request to the URL read ...
893 byte By
BuggyVBa at 2007-11-27 9:01:01
Hello everyoneI'm learning to user JSSE and trying to develop a simple server-client program using SSL. I notice that if you need to give parameters to java command to run it. For example, if you follow the example code given at http://tvilda.stilius.net/java/java_ssl.phpthen you need to type ...
Hello,I am able to set up a SSL connection for my client server program.But now I need the server to _only_ trust one specific user certificate. It must _not_ trust all usercertificates from a CA!If I only put a single user cert into the server truststore, I get an bad_certificate exception ...
850 byte By
AP_javaa at 2007-11-27 9:01:35
Hi in my application i am loading image present in remote server.I am using linux as server.While calling this methodRenderedImage src = JAI.create("fileload", s);s is complete file path.it is giving fileNot Found exception.I also tried this code to read remote imageImageDecodeParam ...
411 byte By
nndiasa at 2007-11-27 9:01:51
hi guys, i want to validate an account in windows 2000 to logon in a application that i'm developing in struts+spring+hibernate. is JAAS the best solution to it? i just need to validate if the account owner is really the guy that is loged on.i think i need to know a way to get the windows ...
560 byte By
anewbiea at 2007-11-27 9:02:29
I am a new person to Java. I am using PKCS12 files to perform SSL Validation (using JDK 1.6.0_01) and am receiving the following SSLHandshakeException:sun.security.validator.ValidatorException: Extended key usage does not permit use for TLS client authentication.Note: This is happening when my ...
3052 byte By
waflika at 2007-11-27 9:02:43
Help me, please! If I run this code:import java.util.Random;import javax.sound.sampled.AudioFormat;import javax.sound.sampled.AudioInputStream;import javax.sound.sampled.AudioSystem;import javax.sound.sampled.DataLine;import javax.sound.sampled.LineUnavailableException;import ...
Hi...Has anyone else noticed that 'requestPasswordAuthentication' gets called multiple times from HTTPURLConnection in JDK 6? If I create an HTTPURLConnection, and it returns successfully from 'openConnection', if I then do something simple like query for its contentType via ...
1576 byte By
DaleGroa at 2007-11-27 9:02:56
Hi !!!In my application RMI I do not want that the client must authenticate itself, I only need to authenticate the servermy application works well if in the client and the server I fset the keyStroe, but single I want to do it in the server, the client does not need ...
Hi,Can we use javascript in Tomcat...If no,then is there any ways to use it in Tomcat?ThanksSantosh
Hi All,I have coded a method that takes an input and decrypts it. It works in most cases but sometimes, if the input is not encrypted, it still tries to decrypt it and returns a garbage value.Can anyone let me know how to check if the given string is encoded. I can make this check and then go ...
Hi all!I need to create the content of a xml tag including Binary Base 64 String created from an array of double specifying precision and endian attributes, any hint?E.g.array [0]=23.4;array [1]=213.4;array [2]=233.49;array [3]=231.43;<data precision="32" length="134" ...
2952 byte By
madhu84a at 2007-11-27 9:08:02
Hello Friends ...Can any one help me how to clone a received RTP stream ?In my project i need to record the received RTP stream , play and store it in a media file simultaneously ....its more like call recording ...I capture the stream and create a realized processor and from the out put of the ...
I have a program where the user can do either a video call or an audio call. Basically if the user is doing a video call there will be 4 RTPManager used- one for each port (2 sends, 2 receives). If the user decides to call audio and he is using video I will just close the video RTPManagers ...
166 byte By
ardmorea at 2007-11-27 9:08:47
I plotted some shapes on a JPlane, then fill other polygons on it.but the shapes are coverd by polygons, how can I make them still visible?Thanks
185 byte By
martaa at 2007-11-27 9:09:01
is it posible to make a virtual world with java 3d and navigate on it? like making a building in 3d and whe yuo push on something it sends a message to another computerthx
hiAllI want to capture a frame by frame sequence from webcam and invert the frame image then display on applet continue and when display on applet i am able to capture image by button and save this image in applet ..............please help me ...
2101 byte By
Janne88a at 2007-11-27 9:13:30
Hi,I have been coding an Asteroids -like game. I have solved how to rotate the spaceship (which is triangle shaped), but now I noticed that the spaceship won't move like it should after rotating it. For example, if I rotate the ship clockwise for 90 degrees and then change it's y-coordinate ...
1112 byte By
CanesVa at 2007-11-27 9:19:46
I'm trying to save an image as an uncompressed tiff. I have seen several ways to do this but I'm have a hard time figuring out the differences between them. I just want to save my BufferedImage as a tiff without losing any information. If someone could tell me the best way to do this that ...
318 byte By
jcoder2a at 2007-11-27 9:20:05
How to create an area from a set of points ? I searched everywhere but could not find a better solution for it. Let抯 say that I have a matrix that contains the points for a shape. I抣l need a way to connect the points near each other continuously to form the outline for the shape.Thanks fro any ...
Whether it is possible to encrypt a String Message using RSA Algorithm?
I am currently creating a graphical applet which is structured in following way:public class Client extends Applet implements Runnable, MouseListener...{//Variable decalraions excluded//init() excludedpublic void run(){ //main loop here}//update() excludedpublic void paint(Graphics g){//ALL ...
Hello!Is it possible to create a custom cursor using an RGBA png file (or any other RGBA image file type)?I have used Toolkit's createCustomCursor method, but it did not "render" my png file correctly.Specifically it "rendered" the transparent colors as opaque (which means that it probably ...
958 byte By
kheusha at 2007-11-27 9:22:33
Hi everyone, I am actually trying to make a media player usingJMF and FOBS4JMF. I've followed all the procedures to install fobs4JMF. I've set my user classpath variables :Name : ClassPathValue : ...
395 byte By
jcrocaa at 2007-11-27 9:23:36
Hi I'm new to java 3d and I needed to view the faces or sides of a box according to a user selection. I have a combo box where the user selects the face it wants to see so I get the index of the combo box as to match a side of the box.Is there a way to do this with a rotationiterpolator, I can ...
1076 byte By
lumberga at 2007-11-27 9:24:20
Hello everyone,I'm a Java2D newbie and I just have this one image-related requirement to fulfill. Basically, I just need one line of text to be rotated 45 degrees and turned into an image. I've got the text rotation down, but right now it's based on a hard-coded image size. At runtime, I ...
554 byte By
madhu84a at 2007-11-27 9:25:05
Hi ...Can any one help me how to record the audio sound from the port ?My task is to capture the audio sound from a mic and also from the incoming rtp stream ... I tried with datasink in jmf but couldn't do it .... i manage to record the sound from the mic but couldn't do the received rtp ...
Hello Dudes,Can anybody tell the way how to develop an application with integrated windows domain authentication ? (By using Java)Help appriciated.And i don't know is it the correct forum to post. If it is not correct forum please reply me with links to the correct forums.Thanks in ...
i am trying to draw an arrow between two rectangle shapes. the arrow will start from the center of one rectangle and end with the arrow tip at the edge of the other rectangle. i actually draw the arrow first, and draw the rectangles last so the effect of where the arrow starts will seem to come ...
491 byte By
liankea at 2007-11-27 9:28:14
hi all ..I have created a live video applet using JMF. It uses a usb webCamto capture live video and displays in JMF player. This program works fine when I run it in appletviewer, however when I run it in web broweser(I use IE 7.0) it cannot be displayed, and the message given from the browser ...
My project requirement is like this:1.It contains 3 war files which are deployed on different servers.(Weblogic8.1sp3 and jdk1.4).2.First application has to forward the request to second application and second one will forward the request to third one.U ser can see the third application's home ...