3290 byte By
vijaykmr at 2007-9-26 2:52:29
I want to draw a rectangle in an applet and trace the mouse pressed action only inside that rectangleTo achive this i have created 3 classes 1.Class RectThis class extends Component and used to draw the Rectangle using drawRect() method2.Class ControlThis class extends the Class Rect and used ...
698 byte By
abcdefg2 at 2007-9-26 2:52:48
I have been using various JOptionPane dialogs to let the user know something about my program, but if I use the YES_NO_OPTION then the following happens:The dialog pops up, with the Yes button having focus. If I press the tab key then it looks like the No button has focus (the little blue box ...
has anybody successfully used ARCHIVE param in Object Tag?If so please let me know the tag definition.Thanks
194 byte By
modelart at 2007-9-26 2:53:27
I want to write an application with an windowbeing always on top. Thus, any other windows will not cover it. Does anyone know how to achive this?thanks
932 byte By
gtz1 at 2007-9-26 2:53:36
In our Windows 2000 workstation configuration normal users are not allowed to install programs, which modify the registry. Thus, administrator priviledges are required to install Java Webstart.The problem is that when the normal user logs into the machine the webstart icon does not show up on ...
389 byte By
ibamsey at 2007-9-26 2:54:02
I want to create a JComponent that is a BeanContext. I've read the tutorial on BeanContexts which suggests this is achieved by implementing BeanContextProxy. I guess this is something like:class MyComponent extends JComponent implements BeanContextProxy {}However, I'm not sure how this is ...
1993 byte By
poorani at 2007-9-26 2:55:07
Where I can find the error codes, anybody could help me out this.I have the error message in exec(),err, java.io.IOException: CreateProcess: C:\WINNT\Profiles\ismp001\66409.tmp\TestProductAction.class error=193STACK_TRACE: 19java.io.IOException: CreateProcess: ...
472 byte By
chemali at 2007-9-26 2:58:21
For some reason, I cannot start the J2EE server properly.I am using JDK1.3.1 and J2SDKEE1.2.1 on WIN NT. After running cloudscape.bat -start I type from another prompt,j2ee.bat -verbose and get the following output,prg.com.CORBA.INITIALIZE: Could not find the POA-to-id mapper. Please ensure ...
I have seen several posts on this topic in the archives, but haven't been able to get my applet to resize when the browser is resized.Is there an official example on how to do this?My applet is not the only element on the page. I tried setting the height and width to 100%, but this had no ...
2121 byte By
chemali at 2007-9-26 2:58:37
I am using JDK1.3.1 and JSDKEE1.2.1 and the j2eeserver does not start!!! Here's the output. C:\j2sdkee1.2.1\bin>j2ee.bat -verboseJ2EE server Listen Port: = 1049org.omg.CORBA.INITIALIZE: Could not find the POA-to-id mapper. Please ensure od has been started. minor code: 0 completed: Noat ...
203 byte By
armelin at 2007-9-26 2:58:42
Hi,i need rotate string 45 degrees, but i can't usethe class Graphics2D, but i want make this in a Applet, sory mi bad english!TanksEduardo Armelin
476 byte By
safir at 2007-9-26 2:58:55
hi,Spent 4 hours to find a way to use non-ASCII chars in applets (buttons, textareas), but didn't make it.Simply saying TextFieldObj.setText("\uxxxx");//or any equivalent obj. Ex. of \uxxxx: \u015Fdoesn't work. I even went into Graphics.paint() example, but it too can paint only ASCII ...
hi all,JDK version 1.2.1installation done !path set !can compile !But cannot runerror message="exception in thread "main" java.lang.noclassDeffound"Pls help !Thank !
548 byte By
garylook at 2007-9-26 2:59:38
Hello,I am trying to run a GUI I created using the Runtime.exec() command like so:Runtime rt = Runtime.getRuntime();Process p = rt.exec("java myGui");However, nothing happens; my GUI doesn't show up. I've seen a number of articles, most notably one at ...
97 byte By
iewvul at 2007-9-26 3:00:10
I want to display a special symbol (copyright) as a label. How can I do it? Thanks.
373 byte By
jbuser at 2007-9-26 3:01:05
I installed jre 1.3.1 and then installed Limewire. When I try to run the runlime.sh script I get the following error,Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFoundError java/lang/Object Aborted (core dumped)Any thoughts? I am not very familier with java so ...
Why is there so much confusion about mouse buttons and modifiers?Looking over past postings there seems to be differing opinions abouthow the mouse buttons work with modifiers in mouse events.My specific question is how to use ALT as a modifier.Using InputEvent.BUTTON*_MASK, *=1,2,3, you can ...
Dear JWS Team,at the moment, I'm starting to deliver a program toa moderate workgroup (about 50-100 users).Having testet JWS very thouroughly, and using itfor internal deployment, I would love to use it for thisproject.I have two problems to solve:- The JVM needs to be installed. I solved that ...
382 byte By
smt123 at 2007-9-26 3:01:51
Hi,I want to design a page wherein i have a grid ,i have add/del buttons which will add ordel rows from grid.Also my cells of the grid can be a DDList Box,a textfield.I don't want to use Applets ,is there any other alternative.Please help.Let me know some sites wherein u can find this same ...
Just studying Jtables, but I do not understand some principles. one of the problems is which method in which class do I have to overwrite, so that I can handle mouse and keyboard-Events?I believe,Using a glasspane is to complicated!CAn somebody please "put my nose" into the right direction ...
816 byte By
TST1 at 2007-9-26 3:02:11
I have this problem with JDK/JRE 1.2.2 as well as with JDK/JRE 1.3. I already posted this about a year ago but didn't get any replies. Although I have only the full JDK installed I think it is definitely a JRE-related problem:I can only run Java apps on Windows NT4 or 2000 if I have logged in ...
494 byte By
siv-viv at 2007-9-26 3:02:18
hello,i have a bean which gets the users name and password using two methods called getuser()and setuser() what i have got struck is that i should get this values into a class which has a method like this Geninfo("user" , pass") ; actually the values which i get from the bean properties should ...
586 byte By
mporta at 2007-9-26 3:02:51
under unix the cache is saved into $HOME/.javaws/cache however under windows it is saved into c:\program files\java web start\.javaws\cache. why? under win 2000 if i'm not the administrator i probably cannot write into c:\program files, so i cannot install any app !!!!please note that the jws ...
492 byte By
jmschrei at 2007-9-26 3:02:52
I am writing a program and currently trying to use internationalization. Is there a way to change the language displayed on a MenuItem on the main window that never gets closed while the program is writing.ie. The user clicks the new language on a Change Language window. I set the new Locale. ...
347 byte By
rahulman at 2007-9-26 3:02:54
Hi,I want to run a java program on a windows NT server continously. The program should automatically start when the server is started and etc...Does anybody know how to register a java program as a windows NT service? or is there any other way to accomplish my task?Any help is greatly ...
347 byte By
rahulman at 2007-9-26 3:02:58
Hi,I want to run a java program on a windows NT server continously. The program should automatically start when the server is started and etc...Does anybody know how to register a java program as a windows NT service? or is there any other way to accomplish my task?Any help is greatly ...
774 byte By
lives78 at 2007-9-26 3:03:51
hii installed j2sdkee1.3 and had set the folloeing variables in the userconfig.batset JAVA_HOME=D:\jdk1.4set J2EE_HOME=D:\j2sdkee1.3set PATH=D:\j2sdkee1.3\bini m using jdk1.4when i start the server : j2ee -verbosei get the following error . has anyone come across this ...
Japnese font size, brightness of text when made BOLD is different in Jdk1.3.1 as against Jdk1.1.8 in "tab panel".Should i have to go with this or can i get this corrected.I need it to look same in both jdk1.1.8 and jdk1.3.1 for my application.
781 byte By
carlosnf at 2007-9-26 3:05:26
Hi,This might be an FAQ question but some of the info I've gotten over the web so far is conflicting.How do I allow a user to enter Chinese text into a Java Text Area (using an english keyboard)?All my users have:*English Windows 2000 with a multilanguage pack.* I cannot change this.But, I can ...
383 byte By
josh_a at 2007-9-26 3:05:30
when i am using applet tag in ie5.5 it communicatewith servlet engine( tomcat )but when i am using plugin it is not calling my servletprogram even more it doesn't show any error in my plugin console window even i have static ip not proxyconfiguaration...i am using object communication method ...
144 byte By
zbnjava at 2007-9-26 3:06:05
hi everyone:how can a java application run when i double-click the *.class files? thanks.zbnjava
150 byte By
suchen11 at 2007-9-26 3:06:36
I have a problem. i drwa e.g. a rectangle in green. how can i save this rectangle?has anyone examples?thanks thomas
Hi there I hava a problem that has been bothering me for some timeI have a realy large application and I would like to solve a problem with the eventlistenersthis is how my application is build upp with objects Object 1 Includes JFrame etcObject 2,3 & 4 are Modules to my programObject ...
hello ,am new to java could you please help me? i have already written on two occasions about the same problem and am still awaiting a solution after searching your library files for a solution. Both the packages(abovementioned) are installed in the C drive(WIN98). I have entered the following ...
846 byte By
jplerxt at 2007-9-26 3:08:18
I have an object whose functionality is spread out over 3 classes: an abstract base class with a contained GUI class and a concrete derived class. I want to make this into a java bean. Is this possible? All the examples I've ever seen do not have this functionality distribution. Here's what I ...
When a browser window is resized, can an applet fill the space available?
346 byte By
stcampbe at 2007-9-26 3:09:29
Hii'm trying to distribute my freeware app that contians JavaHelp functionality and it all works fine apart from the JavaHelp. I get the error "java.lang.NoClassDefFoundError: javax/help/HelpBroker.I tried adding jh.jar to my CLASSPATH etc but it sill won't work on my test machine. Could ...
91 byte By
pengyl at 2007-9-26 3:09:40
i got a .jar file as JDBC Driver, how could i unpack it?thanks a lot!!
265 byte By
Amreeta at 2007-9-26 3:09:42
I'd like to write an AWT application but not sure about the version of JDK to use. Would ideally like to use 1.3. I need to display 2-D graphical data (X vs Y curves) with point, click, drag and drop features on the graph.Thanks,Amrita
362 byte By
ecspasc at 2007-9-26 3:10:03
Hi!Just wondering if it is possible to block a user from accessing a deployed application?Can I use the access-permissions on the webserver as a way of enforcing access control... Say, I have 6 apps on the server and user X is only allowed to access 1 through 4, can I prevent X from accessing 5 ...
451 byte By
tapodaca at 2007-9-26 3:10:11
I am trying to do a check on a client machine to see what version of plug-in they have on their machine. They need to have 1.3.1 or better to run the program we are writing. Does anyone know how to write a check or some type of validation to see if and what version they have on their machine? I ...
1113 byte By
limerdm at 2007-9-26 3:10:32
Greetings, I'm having a heck of a time figuring out why the java Date is off 3 hours from the sysdate on an AIX 4.3 machine (running IBM's JDK v1.30).Yes I've set the timezone specifcally to EST, using -Duser.timezone=America/New_York, and EST.I print out the timezone, it says Eastern ...
729 byte By
tapodaca at 2007-9-26 3:10:40
Here is my objective...I am trying to print from an applet. Everything works with plugin 1.3.1, but if the user has 1.3.0, then the call_javascript() function catches an error>Reset printing pageAttempting to call parent.reloadPrintPage()A java.net.MalformedURLException: unknown protocol: ...
190 byte By
Amreeta at 2007-9-26 3:10:52
Hi all,Could you please point me to tutorials on using AWT splitters? Would there be any glitches in using a JSplitPane in an AWT application?Thanks,Amrita
I just started working with JavaBean. I have been reading the concepts involved but I still have problems understanding the difference between a normal object and a bean . Can anyone tell the exact difference ?
1377 byte By
JH3 at 2007-9-26 3:11:18
We have a java application named "foo" that we would like to deploy via Webstart.The original version of foo is packaged into a single foo.jar archive. Foo creates a textfile "info.txt" outside of foo.jar. "Info.txt" stores information that we would like to remain constant for each client ...
674 byte By
ryanmicj at 2007-9-26 3:11:23
I have a class which uses some native methods. It works fine when I build it into the jar file with my entire application. I would like to make this class part of another jar file, and dynamically load the class when it is needed (using a URLClassLoader derivative). Doing it this way, the class ...
Guys,How come there's no spanish locale in java.util.Locale? Is it ok to just do new Locale("es")? How about DateFormat and NumberFormat? Do they support Spanish?Miguel
I have a login dialog.In that after entering username and password and clicking the OK button i am calling the dispose() method.In the application i am storing all the information in the log file. In the log file i am getting the following information after clicking the OK ...
392 byte By
Abhi325 at 2007-9-26 3:12:39
I have JWS 2.0 which had JRE version 1.1.7. I upgraded it to JRe 1.2.2_008, but now I get an error while starting the JWS server -Program c:\JavaWeb~1.0\bin\..\jre\bin\jre.exe exited with code -1073741819c:\JavaWeb~1.0\bin\..\bin\jserv.exec:\JavaWeb~1.0\bin\..\bin\jserv.exejserv: Shutting ...