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 ...
87 byte By
cuts at 2007-9-26 1:56:46
Hi all,how to enable JSObject in java plugin?Thanks!
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 ...
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 *****
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 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
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.
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 " + ...
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;} ...
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
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.
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 ...
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 ...
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 whether the frame is minimized or maximized. Any method is there to find ?Please help me in this regard.Thanks and regardsSenthilKumar
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
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 *****
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 ...
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() ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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
Love........How can I design my own Layout Managers.some tips.if anybody can provide me few lines of sample code.
How/Where can i get a documentation on java.awt & java.applet classes
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 ...
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
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. ...
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 ...