I don't know a thing about Java, but I have been asked to find out if it is possible to write a java module that sits on the desktop (Mac clients, NT servers) and has the capability of opening direct links in different applications from across a LAN.We are hoping to have a module created that ...
501 byte By
cesarloo at 2007-9-26 1:34:18
I have put together a class that extends from japplet; i ran it on appletviewer an the applet works ok; however, when i call the applet from a browser using html's <applet> it doesn't find the applet (the status bar of the browser says .class SSS not found). i know that it isn't a ...
210 byte By
changc1 at 2007-9-26 1:34:19
The float value is 7.00000000000000e-011using numberformat (nf.setMinimumFractionDigits(8)) for a scale of 8 returns a value of 0.00000000How do I format the value to 7.00000000e-11?
how can I change the layout of the forms in forte? right now I'm use to VB forms, and Java forms has this North, east, west, south, center thing going on. Can I turn this off, and place the items I want anywhere on the form?
5016 byte By
CharneyJ at 2007-9-26 1:34:23
Hi there. I a a new student to the Java Language (I am actually taking a Java programming class this summer) anyways I have to design a program using a JTabbedPane providing one tab to input user data such as the name and address of a person and another tab to input information about a pizza ...
I've opened a socket and I'm able to access the OutputStream. However, when I try to wrap a ObjectInputStream around the socket's InputStream, I get this error:SocketException: Connection reset by peer: JVM_recv in socket input stream read.What should I be looking for?Larry ...
421 byte By
dlpasco at 2007-9-26 1:34:31
DatagramChannel.receive() appears to have a peak rate of about 6000 messages.Bug 4463693 ("Performance of DatagramChannel.receive should be improved") is very sparse. A fix is mentioned in merlin-beta2.I suspect, but don't know, that this hasn't been released yet. Does anyone know when this ...
hi. i'm new to java and i want to make my program interact with a C++ program and i'm having trouble with inter-process communication. when i call Runtime.exec( C++ prog ) i get the Std input and output streams and use them to construct an InputStreamReader and OutputStreamWriter. i can ...
5084 byte By
CharneyJ at 2007-9-26 1:34:34
Hi there. I a a new student to the Java Language (I am actually taking a Java programming class this summer) anyways I have to design a program using a JTabbedPane providing one tab to input user data such as the name and address of a person and another tab to input information about a pizza ...
364 byte By
amit10 at 2007-9-26 1:34:35
I have to add JCheckBoxes to JScrollPane. To add JCheckBoxes to JScrollPane, I havea JPanel. I am adding JCheckBoxes to JPanel and JPanel is added to JScrollPane.Problem is when I add less than 4 JChecksBoxes to JPanel, JScrollPane gets bigger thanits defined size. Does someone know what could ...
Hello,i searched the forum for this but didn't get the answer.in my server.xml file, the reloadable flag is set to "true" (for the context i am using) and the webapps directory is not in tomcat's classpath (Jason Hunter's book says that such classes are not reloaded)but, if i change a ...
320 byte By
gil_e at 2007-9-26 1:34:42
I'm trying set the column headers in a JTable to be JButtons that can be selected to sort items in the table by that column. I've got the buttons in place with a call to setHeaderRenderer(TableCellRenderer) and calling my own renderer. But the button does nothing (i.e. won't even ...
200 byte By
gneti at 2007-9-26 1:34:45
Hi ,I have a very intreseting question for you guys out thereCan any one tell me, weather Java Swing components like Buttons and text fields with HTML Pages.....Neti
Hi all I have been looking at the pay for jsp/java vs asp/vb developers. I have found that for years it has been the same .For a person with say 3-4 years of either the salary tops tends to be comparable.Can anyone confirm this ? Does anyone know why ? I have found it strange because it appears ...
413 byte By
dimopule at 2007-9-26 1:34:54
Hello,I am writing a project about java that requires describing all the flow control commands,(if else,for,while-do while,break-continue,switch) in two ways.First by using bnf and second by using syntax diagrams.It also requires the same for the subroutine calling mechanisms, if there are any ...
142 byte By
macnero at 2007-9-26 1:34:59
Hi,I am using Java sdk1.3 with a pfe editor and I want to create a jar file of my applet, how do I do this?macnero
497 byte By
yeahking at 2007-9-26 1:35:00
Hi, I am having trouble displaying html documents in a browser.I know that I should use AppletContext.showDocument( url ).the problem is that AppletContext is an interface. I tried create an Applet object: Applet a = new Applet();and then: a.getAppletContext() to return an AppletContext. But I ...
100 byte By
fhalsema at 2007-9-26 1:35:02
Does anyone know where I can find java or JSP source to plug in a fourm to a web site?
192 byte By
SSingh73 at 2007-9-26 1:35:04
Hi all,Just wondering if there is a forum/news group dedicated to XML/JAVA questions and answers. Any pointers will begreatly appreciated.Cheers,Sunil
887 byte By
MatLL at 2007-9-26 1:35:05
Hi all,I've been tasked with developing a class that will format dataobjects in what could potentailly be multiple applications. I will need to collect the formatting rules from a database and as a result I will have to (at least) handle SQLException and NamingException errors. To top it off ...
541 byte By
neeluap at 2007-9-26 1:35:07
I am observing this weird behaviour while profiling a java application. It seems like java actually inlines methods while running. For example, considerint foo() {int x;x = bar(x);return x;}if foo is called 100 times, it calls bar() the first few times (28 times ) but soon stops calling bar(). ...
355 byte By
kimro at 2007-9-26 1:35:09
I tried to compile a program saved as'Grades.java' and got the following error.C:\JFiles\Grades\Grades.java:1: Grades clashes with package of same nameclass Grades {^1 errorI have done a search of my PC and cannot find any other files named 'Grades.*' with any kind of extension. What am I ...
67 byte By
geotdw at 2007-9-26 1:35:16
Does JCE support decryption also or only encryption ?
I am an old VB programmer trying to convert to JAVA.I use a Jframe with a listbox to display and store general messages about the program status, etc. It is like a console or running log of events and messages. In VB, I know the form name and just call the function to add strings ...
Hi,May be its ironic but I'm new to Java. I've installed the JDK 1.3.1 version on my system which has Win98 OS installed on it. I execute the simple HelloWorld program and I get the following error. Can some one help me with this?Exception in thread "main" java.lang.NoClassDefFoundError: ...
236 byte By
gopisuri at 2007-9-26 1:35:36
I would like to know if there are any performance problems related with calling Data() and Time() in a java program. My program needs to create a timestamp for each record it reads in from a file. Is there any alternative?
210 byte By
jagillis at 2007-9-26 1:35:51
Hello,I am searching for a java editor with syntax highlighting ect for my cassiopeia e-100.....know of any?I am also looking for a compiler that will work on the same device.thank you all!
779 byte By
audus at 2007-9-26 1:35:52
My popup window has a textfield and a scrollPane with a ListPanel in it. The Listpanel is my own implementation of a list that can contain any component implementing Listable. These listables are usually panels themselves.If i select anything in the ListPanel ... the textfield loses focus (of ...
441 byte By
jovie at 2007-9-26 1:35:54
Hi All,Hope someone can give a shot with this prob of mine..I am trying to get the maximum value of long for the yielded millisecond(type long) using this statements..Long ldg = new Long (trialTime.getTime()); long date = ldg.MAX_VALUE;but i keep on getting the same output which is ...
441 byte By
jovie at 2007-9-26 1:35:55
Hi All,Hope someone can give a shot with this prob of mine..I am trying to get the maximum value of long for the yielded millisecond(type long) using this statements..Long ldg = new Long (trialTime.getTime()); long date = ldg.MAX_VALUE;but i keep on getting the same output which is ...
440 byte By
jovie at 2007-9-26 1:35:56
Hi All,Hope someone can give a shot with this prob of mine..I am trying to get the maximum value of long for the yielded millisecond(type long) using this statements..Long ldg = new Long (trialTime.getTime()); long date = ldg.MAX_VALUE;but i keep on getting the same output which is ...
I need to access a part of a program (namely ArcPad) that reads GPS coordinates every 5 seconds (for example). The GPS coords are read by the software, but how do I tap into this part of information when it is essentially embedded within the makeup of the program. I think this one is going to ...
894 byte By
egbuck at 2007-9-26 1:35:58
Does anyone know of a way to upgrade a Mac running OS 9 to use Java version 1.2 or 1.3? I know that by upgrading to OS X I can accomplish this. However, for OS 9 it looks like the latest version of the MRJ (MRJ 2.2.5) still only includes the Java 1.1.8 codebase. Is there any way to upgrade the ...
715 byte By
geekseem at 2007-9-26 1:36:03
I am getting an exception thrown from my code where instead of seeing something likejava.lang.NullPointerExceptionat MyClass.mash(MyClass.java:9)at MyClass.crunch(MyClass.java:6)at MyClass.main(MyClass.java:3)I am seeing "compiled code" instead of line numbers. However, this is my own code and ...
I am curious about I topic that I have just recently learned about and would like to post it for discussion.Does anyone know of a practical example of the use of an initialization block? Why would one want to use an initialization block? What can be accomplished with an initialization block ...
How can I use main to run servlet?I cannot put request and response object into doGet(request, response) methodI want this because I want to run this servlet daily and I plan to put it in cron jobCalvin
789 byte By
pakadol at 2007-9-26 1:36:29
Hi guys....please give a hand on my problem here.There is 1 table(named employee) in my Access 2000 consist of field NAME,SALARY AND JOB DESCRIPTION. By using the ResultSet in trying to insert into this table(assume not data at all ). Inserting the data will worked fine until i'm trying to ...
789 byte By
pakadol at 2007-9-26 1:36:30
Hi guys....please give a hand on my problem here.There is 1 table(named employee) in my Access 2000 consist of field NAME,SALARY AND JOB DESCRIPTION. By using the ResultSet in trying to insert into this table(assume not data at all ). Inserting the data will worked fine until i'm trying to ...
350 byte By
wthomasu at 2007-9-26 1:36:38
Dear All..I am a rookie of Java and i have a stupid problem..Is there any defferent from int a = 1; and Integer a = new Integer(2); it makes me so confuse,can anyone explain for me ..thanks a lot ...
I'm creating a customised table model to create a table with column header and empty rows.But it is throwing Component paint_imediatly error.If i pass in empty string to the row vector then setNumRows then no problem. If i do like this later it throws me error in my addNewRow method which was ...
Hi all,I want to create an applet which downloads the encrypted image from the server on the client browser then do some processing like decrypt it and display it to the user.If anybody had worked on this type of applet please guide me. I am novice to the applet. Or send me example ...
1000 byte By
nguba at 2007-9-26 1:36:46
Hi! I'm doing an HTML Editor that mimics the Microsoft Word interface (FontFamily and FontSize selection appears on a JComboBox) but having problems implementing it.The StyledEditorKit.FontFamilyAction(...) works fine when implemented thru an ActionListener added to a JMenuItem or a ...
I'm having this JLabel's in my tollbar option in my applet.i could add display mnemonic key but i don't know how to capture the key action from key board to perform the action.i dun want to use buttons and menus.Can some one help?i would realy appriciate Your help . Thank You.reg,kavitha ...
What is the reason for the following. When you explicitly specify a package name for a class that contains the main method, why do you have to specify the fully qualified class name when you invoke the JVM?For example:package Exercises.Chp8.ExerciseTwo;import Exercises.Chp8.Interfaces.*;class ...
360 byte By
vijay55 at 2007-9-26 1:36:55
I have a GUI which needs to create Dynamic menus by reading an xml file of format say.<MenuBar><Menu name ="File"><item name ="Open"/><Menu name = RecentFiles><item>Exit</item></Menu></Menu></MenuBar>How do i do itpls help ...
ok heres my problem im trying to do a simple rotation im useing a formula which i got out of a book however it doesnt look like its correct ive used several variations and none of them work can someone tell me were the problem is import java.applet.*;import java.awt.*;import ...
hi java guruscan anyone show me some sample code that can find the number of lines in a given file (empty or otherwise) ?please helpthanks
851 byte By
mwrfsu at 2007-9-26 1:37:06
I need help retrieving the input that the user has entered. I have an OptionDialog box with 4 Textfields.Object[] message = new Object[8];message[0] = new JLabel("Website");message[1] = JTextField web = new JTextField ("WebSite Address");message[2] = new JLabel("Username");message[3] = new ...
HIHow to obtain size of directory ?I have 4 files in directory.Without accessing the files, How to findsize of directory?I am getting 0 in every case.ThanksPathreading
could anyone tell me info about daemon thraeds?thanks