187 byte By
Jona_Ta at 2007-11-27 2:56:55
Hello Java2D Professionals,Can someone give me a good suggestion on Books and Web Sites for Java2D. I need to update and improve my Java2D skill. Thanks,Jona_T
Java Swing client through HTTPSURLConnection talks to a load-balancer server (Apache 2.2.3 with mod_ssl /openSSL 0.9.8) running 443 port which inturn forwards request to 2 JBoss servers (Webserver Tomcat) running in 8080 port. Above is the setup When I send a Object through ...
3993 byte By
emerala at 2007-11-27 2:57:33
Error is:11: illegal start of expressionstatic void drawCircle() {^1 errorimport java.awt.Color;import java.awt.Graphics;import javax.swing.JPanel;public class Spiral extends JPanel{public void paintComponent(Graphics g){super.paintComponent( g ); static void drawCircle() {int x = ...
Hi All. I've read a chapter on this in a book I have and in the book when you submit the form and the j_security_check action is performed tomcat looks up the tomcat-users.xml file for the users there and authenticates against those. I would like to use this security mechanism but not store ...
Life was good when our clients and server were running java 1.5.X. Now after some of our clients have upgraded to 1.6.0_1, life isn't so good.I am seeing seemingly random exceptions that appear to be generated down in the guts of the https api layer. I could use your help.Please, I appreciate ...
Hello everybodyI am using AVTransmit2 and AVReceive2 files.I have tried with various formats of files. like- wmv,wma,mp3,MPEG it is not transmitting any of these type of files. It is only transmitting the wav file.Also it is playing MPEG file but when I transmit MPEG file to other computer The ...
605 byte By
Ennovaa at 2007-11-27 3:02:28
Hello,I'm trying to capture a JPanel to a BufferImage. The JPanel contains a lot of transparent images that are drawn on it. I want to capture it to a BufferImage that will remain transparent, but I can't seem to figure out how to do so. Any help would be greatly appreciated. Here is the code ...
2575 byte By
cacia at 2007-11-27 3:02:37
Hello All,I've a problem in my code. I have two web applications deployed in JBoss.I wrote the next code in two differentes methods (one in application A and other in application B):String providerName = System.getProperty("jsr105Provider", ...
Hi, Ive posted this to the sound and applet forum as didnt know which one was the problem.I have created a simple program in JBuilder4 to play an audio clip. It compiles OK but when I run it I hear nothing.Im using windows XP.I checked the URL its correct and played the sound in Mediaplayer ...
I am creating a chat program which encrypts on the client and decrypts on the server. The client side is: public void sendMessage(String msg) {try {msg = loginName + "> " + msg;Cipher c = Cipher.getInstance("DES/CFB32/NoPadding");c.init(c.ENCRYPT_MODE, key);byte[] utf8 = ...
hi frndzis there any light weight codec for audio,video for video conference application other than H263 for smooth transmission and efficient way to handle the bandwidth over internet. if so plz help me in finding itrgds-Venkat
363 byte By
chintana at 2007-11-27 3:05:10
I m looking for solution to protect Web application from piracy. I want my application run on web server for which it is built, & it musn't run on any other web server. how can i protect my web application from piracy?.Our .Net applications we protect using Hardware ID binding , How can i ...
When for example a webbrowser like firefox connects to a https page it automatically optains the public key of the server and uses it for encryption with e.g. SSL. How can java do this (can java do this). Up to now I have to manually insert the public key of the server in the keystore of the ...
Hi All,Say I have Array of Point3d that contains the value of a surface function namely z=f(x,y) or y=f(x,z) doesn't matter the order.How can I plot this function using Java3D? I have no idea. please help meThank u Eyal
I've got an object that I am trying to rotate using a RotationInterpolator, I got all the transforms and groups set and managed to get it to look and rotate at the speed that I want. My issue is that my object rotates clockwise and I want it to be rotating counter clockwise, is there a way to ...
206 byte By
Alisa at 2007-11-27 3:07:39
How can I change policy permissions at runtime?For example giving write permission for a file to a subject and some time latter removing this permission, all at the same runtime?
1129 byte By
wendxya at 2007-11-27 3:08:20
I am trying to draw some colored string on an transparent png image (24 bit color). I tried to draw red, blue and green color string. The string using blue and green color showed ok. But string drew in red color showed as black. Any idea what's wrong?My test png file is saved from photoshop ...
2344 byte By
numegila at 2007-11-27 3:10:41
I am working on a text based RPG kind of thing, and am trying to add music functionality, using the AudioStream, which seemed like the simplest way to go about doing this. Here are the two methods I use to start and stop playing music:public static void startSong(String filename){songName = ...
Please inform me can i transmit .avi file and play that at receiveing computer using RTP.ANd how I can do the same with MPEG file as it is giving error in AVTransmit file.Thanks alot
Hello,I have JRE 1.5.0_11 installed, and one application launched using Java Webstart. The *.JAR files of that application are signed with an X.509 certificate provided by a CA.The root certificate of the CA who signed my certificate is configured in my browser (IExplorer 6) in "Trusted root ...
2360 byte By
pkta at 2007-11-27 3:12:40
Hi All I am writing a server that will use SSLSocket. I am new to this. I have created the server private key, public key, dummy client private key, public key. Now the problem is that to create a SSLSocket i am using the client public key which i created, but the problem is that in mycase all ...
I have a piece of JAVA software that generates a 2D plot based on Graphics2D and displays it on the screen.I would like to know how to save the 2D plot into a file with one of the following formats.BMP, Postscript, PF,PNG.Thanks
Hi,I am looking how can i get user name of windows logged in user. I want to display the user name in the welcome message of the application. The user will be logging into the domain. Please note that I need windows logged in client user name.Please give suggestions or any direction on ...
711 byte By
desau13a at 2007-11-27 3:16:28
Hi all,I'm not sure if this should go here or in the graphics 2d forum .. I'll try here first.I'm also not sure what to call this, hence the name "Canvas scaling". What I want to do is similar to "resize canvas" in photoshop (or many other image editing software packages). I've got a ...
287 byte By
deeflexa at 2007-11-27 3:16:42
HiI was wondering if someone knows where to start on a undo/redo function for images? Right now I try to store the image as a backup. But when I apply a function/filter, and then repaint my component, the backup image is not drawn.All suggestions appreciated!
227 byte By
mchantya at 2007-11-27 3:17:07
Hi, I am working on creating a web based SIP applet on load through Http page,the applet launched but with error message: /Javax/media/noprocessor exception/No applet loaded.Can anyone help.MC
Hello all!I have an Image transformed from RGB color space to HSV color space but I don't know to make the quantization to 166 colors ?Please help!
4339 byte By
Liusua at 2007-11-27 3:17:49
When i transfer the live audio to A-LAW ,some exceptions like below were throwed:[junit] 09:39-[INFO]- com.cosmact.media.CaptureCore.configureProcessor(CaptureCore.java:223) - Out foramt configured...start[junit] 09:39-[INFO]- ...
1446 byte By
BorisZa at 2007-11-27 3:19:15
Hi all,I'm trying to access MS Windows keystore from JAVA. It works with the new JAVA 6 SunMSCAPI support. But: I have three certificates in the MS store - all with the same 'alias'. The KeyStore.aliases() Enumeration gives me these three identical Strings, but afterwards I can not access a ...
241 byte By
fserj_a at 2007-11-27 3:20:17
helloanybody know if unsigned applet can connect to servers from same domain?Let say applet is loaded from onesite.com and I want to have connection from applet to server1.onesite.com, server2.onesite.com...thanks
Hello all,I have a RSA private key in a file and I'm successfully getting the PrivateKey from it using java.security.spec.PKCS8EncodedKeySpec:PKCS8EncodedKeySpec pkcs8SpecPriv = /// read from file with private key in pkcs8 formatKeyFactory keyFactory = KeyFactory.getInstance("RSA");PrivateKey ...
Hi,I've sucessfully set up a JDBCRealm to accept users and there log in details but the passwords are currently cleartext. I need to encrypt them with MD5. I've followed the instructions here: http://tomcat.apache.org/tomcat-3.3-doc/JDBCRealm-howto.htmlso I've added digest="MD5" to the Realm ...
i have created a small application, which display the client tiff file in Brower using JApplet with JAI. even when i signed my Applet file, i am getting following error, please advice me public int imageloading(String imagefile){pimage=JAI.create("fileload",imagefile);............}error message ...
This is a total newbie question, but I am baffled by how most of you know which functions JAI can "magically" do. Such as "fileload" and "invert". Like in the following:pimage=JAI.create("fileload",imagefile);How do you know to use the word "fileload"? Is there a list somewhere? I checked the ...
Hi guys, new to the forums, but have used them before for help. I know there's a few topics about this already, but I'm having no luck.I've written a program that makes use of JMF and JAI and now need to package it for use on other computers. I created a jar for my code with a manifest ...
594 byte By
dglkea at 2007-11-27 3:23:36
I need to sign an XML document in an applet, using JavaTM XML Digital Signature API Specification (JSR 105) using an individual's X509 certificate.All the example code I have seen generate a key pair on the fly or pull one from a keystore. I need to sign using the private key from the ...
Hi,I have simple scene consisting of a quadarray which can potentially be rotated and moved and that has a simple texture applied. How can i get the coordinates on the quadarray if the user clicks it on the canvas (i.e. i want the click point on the actual quad not the canvas)? i think this is ...
1824 byte By
ryanknua at 2007-11-27 3:24:23
This Card method returns the image of a card as an ImageIcon in a JLabel, or just the filename attempted for use of the filename if no image is found. The cards show up great when I launch from the IDE, but when I package it into a JAR file, the filenames point to the right place but nothing ...
hi frndz,i have done a video conference application which works fine in LAN.i have a static IP server to host the video conference application.my problem is that i was not able to recieve the video transmitted from the server. in vise-versa if i send it from client which is in different ...
Dear friends ,can u give me the details of how to develop online chat application using java..!can u email to nagarajec@gmail.comnull
http://tireionda.com.br/enquete/R05220503-PRINCIPLES-OF-COMMUNICATIONS.zipIts encrypted in RSA in JavaHow to Decrypt it ?Its Urgent please..
537 byte By
fdezasa at 2007-11-27 3:28:49
I am totally new to JMF and I have not seen any class in the API that would allow me to parse KLV metadata from mpeg-2 transport files.Is there any such functionality in any other software package compatible with JMF? Are there any plans to include KLV parsing in future versions of JMF?I will ...
1115 byte By
Becka at 2007-11-27 3:29:55
Hello,i am currently developing a small Application to De- and Encrypt things using a Password.Now i would like to use AES with 256 Bit Encryption, but i can磘 find a way to set the Encryption Strength.My Implementation so:SecretKeySpec secret = new SecretKeySpec(md5password, "AES");Cipher ...
284 byte By
vivinda at 2007-11-27 3:29:58
hi,i have problem that as normally we run program by "java filename" ,but if a want to run my program as any software i.e. i can access/open software when i click on icon ,eg . if you click on any icon and game will start like that. How can i do that......THanks.
I'm following an example from a book on playing a sound clip. The line in the code is Clip clip = AudioSystem.getClip(); JBuilder keeps telling me it "cannot find symbol." And it won't compile the code correctly. I have the latest version of JRE. I also tried compiling the code in TextPad and ...
1898 byte By
JNooreza at 2007-11-27 3:30:21
I am creating an application where I would like to use the CiphperOutputStream with RSA encryption. I created an RSAOutputStream class which will encrypt data as it writes out.public class RSAOutputStream {private CipherOutputStream cipherOutputStream;private Cipher cipher;public ...
hi all,i got to store passwords of clients in a table column as an encrypted value(unreadble format),any idea?how to proceed? thanks in advance .....
hi allhow can i edit the text within a JTextPane ?please help me
I searched the internetand this forum a lot without finding a non commercial solution to this common scenario.Inside an active directory based intranet I would like to authenticate the users who access a java web application running on Tomcat.The requisites to meet are:- the users connect with ...
hisince RTP will be blocked by firewalls in many org/places, is there any other way to transmit live video in an efficient way.if so plz help mergds-venkat