Installing Java-plugin 1.3

1011 byte By BarkatzD at 2007-9-26 1:56:30
Hello,I have problem to install Java-plugin 1.3 on the OS Solaris.In the doc, they say: Set the NPX_PLUGIN_PATH environment variable to the directory containing the javaplugin.so file. On SPARC, for example, the directory of javaplugin.so in the default installation location will be ...

jsobject in java plugin

87 byte By cuts at 2007-9-26 1:56:46
Hi all,how to enable JSObject in java plugin?Thanks!

GUI Development..

356 byte By khiz_eng at 2007-9-26 1:57:10
Hi,I had an application which runs at command prompt i wanted it to execute from desktop (as i also wants to make an icon)by building application with new facilities added in it like viewing into the database, display date etc.. for user to easy use of it.Can any body helps me out for thisThanx ...

JavaHelp: Trouble with embedding it to the application

236 byte By spunk at 2007-9-26 1:57:30
Hi, I've got problems with getting the connection between the menuItem help and the real onlineHelp. HelpSet, Map etc. exist and run. Is there someone who could help me or send me an exampleCode?Thanks *****

DEVELOPING A LANGUAGE TRANSLATOR

854 byte By snodx at 2007-9-26 1:57:47
Hi Everybody,I want to add a language translator web-page to my site. The page will accept text submitted in ANY language and translate it to any language requested by the user. The service is also supposed to include displaying the translated text in that language's FONT .i.e if the text is ...

How to blink minimized frame

224 byte By ankireddy_narravula at 2007-9-26 1:57:56
How i can blink my frame when it is minimized ?I designed a chat fram and when any new message comes it should start to blink if my frame is minimized. Thanks & RegardsAnki

Example of Extension installer ?

248 byte By ylamoure at 2007-9-26 1:57:58
HiAnybody has an example of a JNLP application that uses an installer (installer-desc) ?I am tyring to make one, but somehow, I cannot get the application to start after the installer finishes...cheersYann.

FONT problems with UNICODE - URGENT

442 byte By 11037803 at 2007-9-26 1:58:59
i'm trying to present text in different languages, like english, greek or cyrillic and so on. i want to work with the Arial Unicode MS font, that is installed on my system and which DOES appear in the getAvailableFonts() list!!!But when i try to display a greek text i see not all glyphs ...

Specify CLASSPATH

564 byte By berg1375 at 2007-9-26 1:59:12
I am tryig to run a java application on a machine that has both jre1.4 and jre1.1.7 installed on it. I am trying to run the application which was developed in jdk1.4, but am having problems specifying the CLASSPATH.This is what I am trying to do:C:> \jdk1.4\bin\java CartonResearchThis tells ...

JDBC connectivity problem

1381 byte By beeru at 2007-9-26 1:59:30
Hi all,iam writing a prototype java webstart application and i am getting the following error message when i am trying to connect to the mysql on my LOCALHOST, this does not give me problem if i run it in a client server mode.can any one solve the problemadvance thankserror messageJava Web ...

JWS 1.0 - JWS 1.0.1_01 Security

269 byte By MihalyB at 2007-9-26 1:59:32
Hi, Can anybody tell why an application that runs with "all-permissions" security under JWS 1.0 is complaining of unsigned programs using JWS 1.0.1_01?The programs are signed using a self-signed certificate. Thanks, Mihaly

Mouse clicking and mouse dragging

468 byte By ajpurkiss at 2007-9-26 1:59:44
I have a component that extends JPanel, when I click my mouse on it I want it to do one thing (This I can do easily by adding a mouseactionlistener). However when I drag the mouse I want my mousemotionlistener to get the start and end X co-ords so that when the user releases the mouse button I ...

Tomcat on Win ME

563 byte By tomcatz28 at 2007-9-26 1:59:50
Hi everyone,I've downloaded Jakarta-tomcat4.0 beta version. Installed on my desktop (Win NT) and my labtop (Win ME). On my desktop, tomcat is working fine. But it didn't work on my labtop.On my labtop, under tomcat\bin\ dir I have some more extra files which I don't have in desktop such as ...

isResourceCached problem

727 byte By tinca at 2007-9-26 2:00:19
Hi,I need to check independently of JWS if my app.jar is up-to-date (clients are mostly disconnected, due to dial-up access, so the app is offline-allowed. Instead of the error-prone external ways of dialing, our app is supposed to do it automatically. Being off-line jws can't check for ...

easy question-ASAP please

439 byte By deanhiller at 2007-9-26 2:00:26
have a manager that wants a dynamic multilanguage user interface.If I follow the Java tutorials guidelines withresource bundles and all that, Can I just doa revalidate or invalidate and repaint on the top level container after changing the localeand all the text in all the buttons and menuswill ...

Java under UNIX

1767 byte By Jatin2000 at 2007-9-26 2:00:44
HiI have some problem executing class file under UNIX. I have a directory under UNIX,/home/user1wherein I have placed a class file say "JavaProg.class"I execute "java JavaProg" from the above directoryand it generates the desired output. Now, I have another directory,/home/user2wherein I again ...

java.lang.NoClassDefFoundError

676 byte By nishantwaghela at 2007-9-26 2:00:46
class math1{public static void main(String args[]){System.out.println("Max of -8 and -4 is " + Math.max(-8,-4));System.out.println("Min of -8 and -4 is " + Math.min(-8,-4));System.out.println("Absolute value of -18 is " + Math.abs(-18));System.out.println("The ceiling of 45.7 is " + ...

how to delete a directory

1115 byte By johnquest at 2007-9-26 2:02:00
Hi all,I am trying to delete a directory using my java code as,import java.io.*;class dirinfo {public static void main(String s[]){deldir(s[0]);}public static void deldir(String st){File f= new File(st);if (f.isFile()){ try{Runtime.getRuntime().exec("del " + f.getAbsolutePath() );return;} ...

Runtime problem.

238 byte By johnquest at 2007-9-26 2:03:07
Hi, I am trying to execute a dir command using Runtime.getRuntime.exec(). the OS is windows ME. i tried appending command.com/c, c:\\windows\\command.com. but nothing is working. can u suggest a solution?thanks

Sizing window and image for screen resolution

258 byte By FrankJNatoli at 2007-9-26 2:03:26
Applet creates Frame that displays JPG or GIF image. Would like to size Frame, and zoom image, on basis of screen resolution, to avoid necessity to scroll image. How can applet or button or frame access screen resolution numbers? Thanks.

running a jar

483 byte By bhuvana_76 at 2007-9-26 2:04:53
hiI am using JDK1.2.2 with RedHat Linux 6.2. I tried to run a jar after the jar file creation like this:jar cmf helloclass hello.jar HelloWorld.class helloclass is the manifest file which contains the following: Main-Class: HelloWorldAnd i tried to make run the jar file as:java -jar hello.jarIt ...

Canvas object array displays image & text in AppletViewer not IE,Netscape

2179 byte By harsha_pr at 2007-9-26 2:05:19
Hi all,I have an pure awt applet with ScrollPane. The scroll pane displays an array of SimpleCanvas objects one below another using StackLayout. SimpleCanvas extends java.awt.Canvas and can display both text and images.This works correctly in AppletViewer (JDK1.3) But when I run this in IE 5.0 ...

Java 2 SDK problem under Redhat 7.0

717 byte By idIaZaN6 at 2007-9-26 2:05:25
I'm using RedHat Linux 7.0 (kenerl 2.2.16.22, libc-2.1.92.so).I downloaded Java 2 SDK v 1.2.2_008 for Linux from sun.java.com, and installed it to /usr/local/jdk1.2.2 However, I couldn't run any Java command. When I try to compile any java source code, for ...

How to find a frame is minimized or not

182 byte By cpsenthil at 2007-9-26 2:05:42
How to find whether the frame is minimized or maximized. Any method is there to find ?Please help me in this regard.Thanks and regardsSenthilKumar

Performance issues using CAS COM bridge

298 byte By knoxor at 2007-9-26 2:05:46
Hi,I have a question for anyone who has produced an application using the CAS COM Bridge.With every call to the Java class, do we create a new JVM, an if so would this not lead to performance problems if we have multiple calls to the Java class ?thanksPaul

JavaHelp - Problems with HelpBroker

243 byte By spunk at 2007-9-26 2:05:49
Hi, my HelpBroker (JavaHelp for an application) doesn't work in correct way, HelpSet is found but not shown (without an error-message). Has anybody an example-code of a working HelpBroker for me?Thanks *****

how to run a process in background?

368 byte By toonk at 2007-9-26 2:07:02
hallo,I'm starting a process with runtime.exec() like this:Runtime r = Runtime.getRuntime();String[] conv = new String[1];conv[0] = "executablepath";Process p=r.exec(conv);Now I want that the application does not appear and run in background. How do I do this?I'm working with Windows ...

Minimize icon instead of restore in Windows L&F

994 byte By shayl at 2007-9-26 2:07:23
Hi. The following code shows a simple JInternalFrame in a JDesktop applet. When minimizing the JInternalFrame notice the icon of the frame still shows MINIMIZE and not RESTORE.Any fixes/comments?Thanks.import javax.swing.*;public class Tap2 extends javax.swing.JApplet{public Tap2() ...

KeyListener does not capture Arrow key Events in textField

287 byte By shahidjava at 2007-9-26 2:08:19
Love................ I added a key listener to TextFieldit does not detectArrow Keys events in keyTyped, KeyPressed,KeyReleased methodswhy? I want to shift focus from a textfield to other component on capturing Arrow key Pressed How

Interfacing problems using the Activex Bridge

2120 byte By wetfish at 2007-9-26 2:08:21
I have a bean that's based on a JPanel. I am packaging it and then using it in Visual Basic as an OCX component. I have to adhere to an interface on the VB side so that the bean will plug into the rest of our product.I'm hitting several problems, all of which I'm attributing to to the fact ...

Setting MIME type in IIS 4 & 5

2751 byte By greghug at 2007-9-26 2:09:21
Well I am very impressed with this Web Start technology but it was a little slow downloading via sun's site.I set about trying to set it up on my company Intranet server before I demonstrated to my IT director.I saved the swingset2.jnlp file from the sun demo's page, used the Swingset2.jar ...

Can someone give me a concise way to make JAR file?

643 byte By rpk5928 at 2007-9-26 2:09:30
I read through Sun's steps to make the JAR file, but i can never execute the file using the "java -jar filename" command. I always get a "Main Class not found" error. I have JRE 1.3.1.The file structure is kind of weird. All the class files are in a package called PHYSICS. Do i have to create ...

Javabeans - Active X Packager -- Dispatch Error

1169 byte By sai_karthik at 2007-9-26 2:10:11
Hello EveryoneI tried to pack a class containing a simple methode.g:public class Test{public String getName(){String name = "humanbeing";return name;}}I used Visual Cafe with Jdk1.3 to get a jar file and used the Javabeans-ActiveX bridge to get 1. Test.tlb2. Test.reg filesWhen i Opened ...

Java Web Start and BEA Weblogic 6.1 beta

1429 byte By johampton at 2007-9-26 2:10:29
Hi,I'm having trouble access ejbs from java web start with WLS 6.1. I get the following ClassCastException:java.lang.ClassCastExceptionat com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)at javax.rmi.PortableRemoteObject.narrow(Unknown Source)at ...

none rect-linear image transforms

828 byte By parkragsterman at 2007-9-26 2:10:36
I'm working on a project mainly for my faculty where I have developed some image transforms in matlab. I would now like to implement these transforms in java (as an applet)the problem is that I can't find a way to get the image matrix. i have tried to use the PixelGrabber but after changing ...

Object XXXXDispatch Failed..please help

1169 byte By sai_karthik at 2007-9-26 2:10:44
Hello EveryoneI tried to pack a class containing a simple methode.g:public class Test{public String getName(){String name = "humanbeing";return name;}}I used Visual Cafe with Jdk1.3 to get a jar file and used the Javabeans-ActiveX bridge to get 1. Test.tlb2. Test.reg filesWhen i Opened ...

urgent !!! path issue or Netscape issue?

790 byte By chunyun at 2007-9-26 2:11:15
in my application, I have some buttons to launch browser, under solaris environment, i used the following statement to launch netscape:Runtime.getRuntime().exec( new String[] {"netscape", " http://www.sun.com"});it works as in standalone application, but if i integrate it with some other ...

Can Java on Unix Use Windows Fonts?

495 byte By wangshuanhu at 2007-9-26 2:11:32
I am using Java on Unix and would like to use Windows True-Type or Open-Type fonts. Can Java read a Windows true/open-type font (.ttf) file?What should I do to make Java pick up such Windows fonts? How should I name the font on Unix (I mean Unix fonts seems to be named in a ...

Problem with the JWS server concerning JRE

388 byte By Abhi325 at 2007-9-26 2:12:09
Hi!I have Java Web Server 2.0 installed. Until now it was working perfectly. Now i get an error when i start the server 'httpd' saying -"Program c:\JAVAWE~1.0\bin\..\jre\bin\jre.exe exited with code 1c:\JAVAWE~1.0\bin\..\bin\jserv.exec:\JAVAWE~1.0\bin\..\bin\jserv.exejserv: Shutting down ...

Help!!! problem with ImageIcon!!!

724 byte By wflm at 2007-9-26 2:12:18
I use ImageIcon in Local's APP no problem,image1 = new ImageIcon(cnopensource.MainFrame.class.getResource("Open24.gif"));I make this APP into a jar for jws.when it excute at the client, The jws console printava.lang.NullPointerExceptionat ...

japanese in unicode ! urgent

505 byte By jane75 at 2007-9-26 2:12:25
How can I convert the japanese data written in unicodelikeString nihongo = "\u65e5\u672C\u8A9E";to japanese word ? I have tested with code below :byte[] nihongo_sjis = nihongo.getBytes("SJIS");but it just given me the result likeb343er34343not the real japanese word.How can I convert this ...

How to install Linux .rpm.bin

217 byte By FrankJNatoli at 2007-9-26 2:12:49
Downloaded Linux Java release, j2sdk...rpm.bin. Can't find anything willing to process a bin file. Know how to use console rpm or Gnome RPM, but neither will touch a bin file. What to do? Thanks.

ItemEvent do not fire when I change the itm staete thorugh

416 byte By shahidjava at 2007-9-26 2:12:58
love.........................I have 1- List2- Two ButtonsIn event handler of button action evnnt I got list selected indexthen use select method to incresed index by one.list.select (list.getSelectedIndex() + 1);List item is selected but problem is that ItemEvent do notfire at all, although ...

Urgent Requirement

203 byte By khiz_eng at 2007-9-26 2:13:16
Will it be possible to execute command line java program execution in GUI environment.If yes, how?Please provide me as soon as possible.Thanx in advance.khiz_eng

How to design Custom Layout Managers

148 byte By shahidjava at 2007-9-26 2:13:20
Love........How can I design my own Layout Managers.some tips.if anybody can provide me few lines of sample code.

AWT Documentation

87 byte By sairam_simha at 2007-9-26 2:14:53
How/Where can i get a documentation on java.awt & java.applet classes

Failed to load Main-Class manifest attribute from TextEditor.jar

1137 byte By TimRyan at 2007-9-26 2:14:54
Hi, I'm trying to make a JAR file containing a Java application that I can run by double-clicking under windows.Everything works fine, except I get the error "Failed to load Main-Class manifest attribute from TextEditor.jar"I have tried to set up my manifest file to contain the Main-Class ...

How to resize

243 byte By kamal_jdk at 2007-9-26 2:14:55
Hi all,I got a problem. When user resizes the frame (window) all the components in the Frame(window) should automatically resize to occupy the Frame (window). thanks in advance.kamal

removing default 'handles'

301 byte By stcampbe at 2007-9-26 2:15:34
HiWould anyone know how to remove those pesky node handles from each category in Java Help? I have managed to display other images to replace the default category and topic images and also the top level folder but i'd like to remove the node handles too. Any ideas?Thanks. ...

Absolute position of a Canvas?

2246 byte By Phulip at 2007-9-26 2:15:43
I've extended Canvas to make a custom button, but when I add() it to my applet it pops up at the top of the display area. setLocation(int,int) doesn't make a change. I've read something about Layout managers, what am I supposed to do?CustomButton newButton = new ...