canvas as image (jpeg)

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.....

Start java3d

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..

Problem with importing library

276 byte By smackdown33a at 2007-11-27 8:45:15
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

Microphone

327 byte By Excaliburdpa at 2007-11-27 8:45:24
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... ...

Where to store password for key store ?

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. ...

runnable & paint relation?

7305 byte By marco_wua at 2007-11-27 8:47:29
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 ...

Windows-MY Problems

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 = ...

Line plot but?

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 ...

Java2D text rendering quality

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 ...

How to create the Cipher Object

175 byte By buddy_boya at 2007-11-27 8:51:36
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.

2d demo help

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 ...

Wrong algorithm: Blowfish required

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 ...

why this occurs?

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 ...

Screen resolution

113 byte By noone392a at 2007-11-27 8:56:53
Can anyone tell me how to change the screen resolution of the desktop, or where to find information on it?

Connecting to a https://

2344 byte By dilip_jsfa at 2007-11-27 8:57:44
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 ...

Setting the color of a clipped area

1636 byte By martingia at 2007-11-27 8:58:44
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) ...

How to getting the RSA Key from byte[]

3307 byte By Caixiaopiga at 2007-11-27 8:58:52
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[ ...

How to set the transparency for a image

347 byte By mnrnjn_ranjana at 2007-11-27 8:59:09
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 ...

Getting Started in Java Imaging

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 ...

HttpClient and PostMethod - Https site

2162 byte By HttpClienta at 2007-11-27 9:00:46
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 ...

How to run jar file

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 ...

Truststore which trusts only one specific certificate?

378 byte By domEstica at 2007-11-27 9:01:04
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 ...

Problem while loading remote image

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 ...

JAAS with struts+spring+hibernate

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 ...

SSL Validation

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 ...

LineUnavailableException

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 ...

JDK 6: requestPasswordAuthentication called multiple times

630 byte By keplingea at 2007-11-27 9:02:46
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 ...

I do not want that my client authenticates itself with the server

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 ...

JavaScript & Tomcat

127 byte By SantoshKumara at 2007-11-27 9:07:06
Hi,Can we use javascript in Tomcat...If no,then is there any ways to use it in Tomcat?ThanksSantosh

Decrypting an unencrypted string

1485 byte By santunupa at 2007-11-27 9:07:10
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 ...

From Array of double to Binary Base 64 String

1118 byte By tlloretia at 2007-11-27 9:07:54
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" ...

How to clone a received RTP Stream

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 ...

RTPManager problem with closing - please help

1714 byte By shaselaia at 2007-11-27 9:08:10
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 ...

Make plotting visible

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

virtual world

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

Urgent...................capture a frame by frame sequence from webcam and

310 byte By VishnuAggarwala at 2007-11-27 9:09:44
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 ...

Affinetransform, rotating and coordinates after rotating

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 ...

Writing tiff image files

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 ...

create an area from a set of points

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 ...

RSA Algorithm

78 byte By Ashwathiia at 2007-11-27 9:20:35
Whether it is possible to encrypt a String Message using RSA Algorithm?

transparent image mouse collision

2054 byte By jazza_guya at 2007-11-27 9:21:11
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 ...

Custom Mouse Cursor Inquiries..

663 byte By silver_surferea at 2007-11-27 9:21:59
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 ...

Problem using Fobs4JMF

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 : ...

rotate a box to view sides

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 ...

Shrink image to fit around rotated text?

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 ...

Help me to capture audio from port

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 ...

Integrated Windows Domian Authentication ?

326 byte By mahesh.komuravellia at 2007-11-27 9:25:11
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 ...

drawing an arrow between two rectangle shapes

645 byte By jakestera at 2007-11-27 9:27:07
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 ...

Problem with JMF applet

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 ...

CERTIFICATE_UNKNOWN

6380 byte By kalyanakumara at 2007-11-27 9:28:53
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 ...