Lots of XYZ Points

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

Rotating pages in TIFF files

3677 byte By patricknza at 2007-11-27 0:38:17
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) 1.2 released

851 byte By daniel.fernandez.garridoa at 2007-11-27 0:38:27
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: * ...

How to check if the device is Busy

351 byte By Grattiera at 2007-11-27 0:38:59
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 ...

How to add transparency to images

57 byte By Atiqea at 2007-11-27 0:40:21
I want make graphics transparent. how can i do it.

How to save the audio bytes in a file

224 byte By nivaz_sharmaa at 2007-11-27 0:40:25
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

How to wrap text around a image (Urget)?

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.

Roles based access

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

verify referenced xml digital signature

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

Help for starting 3D

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?

how can we know if the microphone is functioning using jmf?

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

Problem in Java3D executing.

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

JCE provider (JCE cannot authenticate the provider)

1847 byte By Le_Enfant_Roia at 2007-11-27 0:44:44
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 ...

Safety between HTML/JSP Pages

672 byte By Nidhuggura at 2007-11-27 0:45:14
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 ...

Cannot create the RTP Session

969 byte By sumit_iitra at 2007-11-27 0:46:07
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 ...

Convert JPEG file in to BitMap format OR BMP file

308 byte By vinodpatel2006a at 2007-11-27 0:49:01
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 ...

How to make an audio Multi-Unicasts session with JMF&RTP?

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

how to access the server certs on sun one directory server 5.2 from java

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

how to display two images on canvas using JFileChooser

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?

Extract principal on server side from outToken/KRB_AP_REQ

559 byte By Santacruzshoresa at 2007-11-27 0:49:51
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 ...

How to make a button remain still while on top of a rotating image?

2071 byte By mad_badgera at 2007-11-27 0:50:11
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 ...

Exception in threads "main" java.langNoClassDefFoundError: com/tanksoftware

502 byte By mebimathewa at 2007-11-27 0:50:17
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 ...

Teaching myself

3302 byte By Drogo_Nevetsa at 2007-11-27 0:50:31
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 ...

Http Negotiate unsupported ?

510 byte By setecastronomya at 2007-11-27 0:52:17
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 ...

3gp in JMF

360 byte By C-ddhesha at 2007-11-27 0:53:18
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 ...

What are the correct steps to signing a token using SHA1 in PKI

2388 byte By kiran_pothakamurya at 2007-11-27 0:53:21
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 = ...

Need an idea for a JMF project

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

Capturing mouse information before it makes the pointer move on screen

1177 byte By gunner_down_undera at 2007-11-27 0:54:53
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 ...

KDC has no support for encryption type

3872 byte By sherazadea at 2007-11-27 0:58:01
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 ...

Is any difference in decryption using Jsafe in different JRE versions?

122 byte By vrihari_Que_Ansa at 2007-11-27 0:59:08
Hi,Result of Decryption using JSAFE will differ, because of difference in JRE?Thanks,Harikumar

Drawing Image

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

Simple program does not respond to inputs

8656 byte By Hard_Wireda at 2007-11-27 1:00:04
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 ...

Canvas and transparency

2755 byte By Berend_Dekensa at 2007-11-27 1:01:34
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' ...

Securing a Jar?

111 byte By AliasXNeoa at 2007-11-27 1:01:43
Can anyone suggest methods besides obfuscation for securing a Jar file? Thanks.Cheers,Josh

Voip in java

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.

Generating TIFF using COMPRESSION_GROUP3_2D

3912 byte By lcfonsecaa at 2007-11-27 1:02:55
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 ...

Certificate accessible via JVM parameter, but not programamtically

2046 byte By MidnightJavaa at 2007-11-27 1:03:31
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, ...

TripeDES In Java?

6922 byte By AliasXNeoa at 2007-11-27 1:03:36
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 ...

Basic graphics package -help

574 byte By Denthraxa at 2007-11-27 1:03:43
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 ...

Reflection in Y axis - Affine transofrmations?

2422 byte By eddieboy665a at 2007-11-27 1:04:04
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 = ...

using the Cipher and Cipher input/out stream classes

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

MouseBehavior and Shpe3D

390 byte By Eyal2007a at 2007-11-27 1:05:16
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 ...

Exposing Salt and Iteration count- PBE

558 byte By subhash00csa at 2007-11-27 1:05:17
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 ...

New to Java...Making a "Stupid" Bot

1774 byte By Lethal.Liquida at 2007-11-27 1:06:44
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 ...

latency and jitter or stutter (clicks and pops)

836 byte By DJHotIcea at 2007-11-27 1:07:21
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 ...

Create RSA Public Key from b64 encoded string

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

help with DES key

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

llegalBlockSizeException: Data must not be longer than 64 bytes

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

JMF and java.lang.OutOfMemoryError: Java heap space

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

Problem in playing audio/video from server to client using RTP and RTSP.

1434 byte By shobhit_raa at 2007-11-27 1:09:30
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 ...