614 byte By
thomlepa at 2007-11-27 0:38:16
Hello,I have about 100,000 "XYZ" points I'd like to load into a simple Java3D application.Here's some sample data:LONGITUDE, LATITUDE,HEIGHT382656.74, 3097890.30, 6.72382656.76, 3097890.22, 6.70382656.79, 3097890.13, 6.70I'm new to Jave3D and I'd appreciate some advise on how to load a ...
Hi there,After some effort and reading of this forum (thanks!) I've got some code together that will read a byte array containing a two page TIFF file and output it as an ArrayList, while maintaining the metadata and ended-ness of it (important for my application).The big problem I now face is ...
Jasypt (Java Simplified Encryption) is a library aimed at providing developers a simple way to add encryption capabilities to their projects including: password digesting, text/binary encryption, Hibernate transparent encryption and Spring Security (ACEGI) integration.What's new in 1.2: * ...
Hi,I found a post in the forum that say:CaptureDeviceManager return only "Not Busy" devicesBut, if I open my Logitech QuickCapture window and try to launch my Application, I get this error: java.io.IOException: Could not connect to capture deviceIs there a way to test if it's currently ...
57 byte By
Atiqea at 2007-11-27 0:40:21
I want make graphics transparent. how can i do it.
I am capturing the audio from microphone.I write the audio data as bytes to other clients.How can i save the bytes in a wav file and it can be played in future?Please help.I want to write the audio bytes in a wav file
102 byte By
Atiqea at 2007-11-27 0:40:47
i want to wrap text around a image. Like if the image's shape is round than text become round.
687 byte By
Neo2001a at 2007-11-27 0:41:26
hi Friends Im creating a web based application where users of different rules can login into the application. nowProblem 1On their role i want to give them access to certain links. So here e.g. theres some jsps where there are 3 buttons. now user A with role R1 should access only button 1 & ...
11199 byte By
aklikica at 2007-11-27 0:41:32
Hi.I would like to verify referenced xml digital signature:this is xml document that I want to verify:######################################################################################<ThreeDSecure> <Message id="xfm5_3_0.4133"><PARes ...
113 byte By
Atiqea at 2007-11-27 0:41:53
I am just starting working of java3D. Any one have links to some good tutorials or books to start java 3D?
532 byte By
zinounaa at 2007-11-27 0:41:57
Hi everybody,This code never output "DataSource Not detected" neither the microphone is connected or not.CaptureDeviceInfo deviceInfo = (CaptureDeviceInfo) CaptureDeviceManager.getDeviceList(new AudioFormat(AudioFormat.LINEAR, 44100, 16, 1)).get(0); DataSource ...
2416 byte By
Atiqea at 2007-11-27 0:43:02
I am new to java3D. i got a sample program which has the following code :package org.kraysis.Java3D;import com.sun.j3d.utils.geometry.ColorCube;import com.sun.j3d.utils.universe.SimpleUniverse;import javax.media.j3d.BranchGroup;public class HelloJava3D{public HelloJava3D(){SimpleUniverse ...
Good Day for allI'm trying to develop a JCE Provider but I've had a problem while getting a Cipher instance. I can instantiate a signature object but when I try getting a Cipher instance I receive the following exceptionException in thread "main" java.lang.SecurityException: JCE cannot ...
I'm using an HTML form to let users login to my site. They insert their password in plain text (obviously), then when they've clicked the 'submit' button, it gets processed and ends up in the check.jsp page. By using request.getParameter("password"), I extract the variable and THEN encrypt ...
we have made multithread rtp streaming server and tried to transmit the mpg file in a applet on a web page using tom-cat server. we got the following error...Cannot create the RTP Session: Local Data AddressDoes not belong to any of this hosts local interfacesFailed to initialize the ...
Dear All,I have a problem of converting a JPEG file in to BMP file or bitmap file. I have loaded JPEG file in to array of bytes. Know i want to convert a loaded byte in to BitMap by decompressing JPEG array of byte. Any help will be appreciated.Thanks In AdvanceVinod ...
364 byte By
Badra at 2007-11-27 0:49:10
Hi,I am developing an application that could make an audio communications between diffrents users without conferencing or broadcasting.I have tried to make many separatly unicasts but the application crash.Can someone help me with a sample of source code in multi-Unicast session? It's very ...
91 byte By
bkrsa at 2007-11-27 0:49:24
I need the sample java code to download server certs on sun one directory server 5.2
113 byte By
gari_da at 2007-11-27 0:49:28
hiii all.....how can i display two images selected from JFileChooser on a canvas ...is it possible?
Hey,I have a Kerberos SSO application with JAAS/JGSSAPI according to the tutorial which can be found here: http://java.sun.com/j2se/1.4.2/docs/guide/security/jgss/single-signon.htmlMutual authentication with initSecContext() and acceptSecContext() works fine. Now, on the server side, I would ...
I've tried making an interactive menu that has a rotating image in the background and some buttons on top of that background. The background itself is in a JPanel and the button is added directly on that JPanel since the Panel occupies the entire frame. Now, the problem is that the button ...
hi i am using eclipse3.2. i have created an application and i have download 3 jar files from the net.i have included these jar files in eclipse throught build path->Add external Archives..my application is working perfactly.i created a jar file with the help of eclipse now the problem is ...
I have found a website that i am going to start learning java 3D fromcurrently I have this to create a scene graph and empty spaceimport javax.media.j3d.*;import javax.swing.JFrame;import java.awt.*;public class Test extends JFrame{Test(){setSize(400, 300);Canvas3D canvas = new ...
I'm following the exercise presented here: http://java.sun.com/javase/6/docs/technotes/guides/security/jgss/lab/part6.htmlIIS says it can accept Negotiate or kerberos.The application RunHttpSpnego fails with exception saying it received a response code 401 from the server.If I configure IIS to ...
Hi friends i am controling a webcam using a mobile phone so after recording a video from a webcam using JMF i want to convert it to 3gp so that i can play it on Mobile phone.In jmf i get movie as a AVI file .Is there a way to get 3gp file from JMF or else any one knows how can i conver AVI to ...
I am implementing a PKI solution. My encryption of a clear text token is done as follows:public static String encrypt(String token) throws Exception {Cipher cipher = Cipher.getInstance("RSA/NONE/PKCS1Padding", provider);cipher.init(Cipher.ENCRYPT_MODE, publicKey);byte[] stringBytes = ...
266 byte By
puntinoa at 2007-11-27 0:53:59
Hi For my student project I must develop an application with JMF. Now my teacher doesn't still assign us a project but he is waiting for our idea. Someone have a student project to sugget? I should develop it in 2 weeks. Thank you
Hi,I'm new here to the forum, so I am unsure where to post this!It's been a while since I've used java, but I thought I'd refresh my knowledge to resolve a problem I am having - if anyone could help me with this it would be fantastic!The issue I am having is the RF interference in my house ...
Hi,I hope not too much people are not reading this post because of the very common error message. But I'm really somewhat confused:For testing Kerberos 5 SSO I set up a little domain controller running Windows 2003 Server and a client in the domain running Windows XP. In the active directory I ...
Hi,Result of Decryption using JSAFE will differ, because of difference in JRE?Thanks,Harikumar
264 byte By
Kartika at 2007-11-27 0:59:34
I want to create a class diagram (i am developing a code generator) on a button click which is editable by the user (fill in the values of attributes and methods). Any specific java component or an API available for that. I am working on Netbeans 5.5
I know it doesn't look like anything, but I'm just trying to get it to respond to inputs if anyone can help.import java.awt.*;import java.awt.event.*;import javax.swing.*;import java.awt.Graphics;import java.awt.geom.*;public class CallingClass extends JFrame implements KeyListener{private ...
I'm string to use AWT's Canvas class to stack 2 Canvasses on top of eachother (this is going to be extended to a full custom gui so I can't just merge it into one).Right now I have one solid canvas as base image (containing a png) and one canvas stacked on top of the base one with 'alpha' ...
Can anyone suggest methods besides obfuscation for securing a Jar file? Thanks.Cheers,Josh
177 byte By
kynyoua at 2007-11-27 1:02:29
i need some informations about coding transmision protocol of voice over ip: SIP and h323. what classses do i need to code rtp, rtps. where do i find it? Please, help me.
Please, somebody can help me?This TIFF generated by Black Ice Fax. This TIFF functions perfectly in Dialogic URA. I made a component (J2EE) that makes the TIFF generation but the Dialogic URA does not make the sending of the FAX.Original TIFF:Magic: 0x4949 Version: 0x2aDirectory 0: offset 52034 ...
I have an SSL server that works properly when I create the SSLServerSocket withServerSocketFactory ssocketFactory = ServerSocketFactory.getDefault();sslServer = ssocketFactory.createServerSocket(sslPort);And I use VM parameters that point to the keystore, ...
Here is the class I am using for encryption:/* * DES.java * * Created on April 14, 2007, 11:51 AM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */package codexcheck;import com.sun.org.apache.bcel.internal.util.ByteSequence;import ...
I want to develop a basic graphics package by using Java applets. I have to use shape class hierarchy and inheritance( 2D shapes such as squares, rectangels, triangles and circles ). And the program will interact with the user ( such that set the position, size, shape, etc. )I am newbie on Java ...
Hi,I would like to rotate a bezier curve drawn using the cubicCurve method in the y axis to save having to draw another, this is what I have currently in my graphics method: (I have an assignment to draw a face with horns using bezier curves)public void paint(Graphics g) {Graphics2D g2 = ...
345 byte By
JNooreza at 2007-11-27 1:05:01
I am implementing the RSA encryption algorithm for database program I am creating. However, I think it would be a good idea to use the standard Cipher and Cipher input/output stream classes but i'm not sure how to use my RSA implementation with these classes. Can someone give me some help or ...
Hi All,I'm new to Java3D and I have small question. I created Shape3D that has a Geometry attribute of LineStripArray.Now I created a MouseRotate that should rotate this group of lines. but it doesn't. the only thing it does it move left/right/uo and down. why that?I want it to rotate not to ...
HiI am doing a PBE using the JCE apis. There are two machines M1 and M2.In M1 I do an encryption of a data string using a password,salt and iteration count. I pass the encrypted datastring as one of the properties in a property file to the M2 where I decrypt. I just want to know if I can pass ...
I'm new to these forums, so if this is the wrong place, please move it. Heh, kinda stupid bot 'cause I haven't done like anything, he's just a command line bot, but for some reason, I always get "I don't understand: Hey" or whatever I type. Here is the code:import java.io.*;public class ...
hello all. I have developed a sound server with 3 java apps, first one captures audio and ships it to the server, then from the server ships it to the clients, i have been tinkering with the buffer values for over two days now, (a lotta tinkering with just numbers) all values greater than 1024 ...
513 byte By
DougJrSa at 2007-11-27 1:07:34
Good Evening,Can anyone point me in the right direction to take the modulus and exponet that have been b64 encoded and convert them back to a key?For example, how you you turn the key below into an RSA public ...
587 byte By
aybhavea at 2007-11-27 1:08:00
In my Java application, I use a DES key to encrypt files. Im not much of a security guy, so was wondering what a DES key looks like. Is it a string of characters? Is it a number?. The reason Im asking is that my application requires the user to note down the key and remember it (perhaps by ...
16864 byte By
c4rtera at 2007-11-27 1:08:02
hi guysAm trying to decrypt a byte array and am getting the following error message. i have tried adding a loop that encryptes 64 bytes at a time but i then get a message about it not begging with a zero!Exception: javax.crypto.IllegalBlockSizeException: Data must not be longer than 64 ...
508 byte By
PeteFa at 2007-11-27 1:08:26
I am using Media Player (part of JMF) to show some videos in a loop. After sometime, I get the following error message:java.lang.OutOfMemoryError: Java heap spaceHas anyone seen this behavior before and has a solution for it? I was searching the sun java forums and people were saying that JMF ...
Hello everybodyI have to make a system for multicasting of audio/video stream using RTP and RTSP.Please suggest me how to start this. How can I make RTP Player please provide source code. and any good book for this.Right now for begining I am making simple Player for playing video stream. But ...