414 byte By
admsuss at 2007-9-26 1:26:17
I am trying to do some studying (I am in a java class) from home. I have downloaded the JSDK and have added the path to autoexec.bat.However, when I try to run a simple html doc with the <applet> tag in it to start an applet, it prints out that line from the code as text on the page.Any ...
283 byte By
gopisuri at 2007-9-26 1:26:18
Hi,I have written two programs (two main()'s) who refer to a common class. This common class holds some date.When I run these two programs simultaneously with different values, would there be a concurrency issue? Which values would the common class hold?
I am preparing an application using java. This application I always run on desktop. Where in I can see the url(web link) in the applet and when I click on the url it should open a new web page of that link either in IE or Netscape.... Is this possible using java? If yes how can I acieve that? ...
Is it possible to have a menu on menubar say Edit...when user clicks it, my program would decide what will the menuitems be. This could also be done by updating the menu all the time that it changes but program will be faster and easier to write if it's decided when user clicks it... ...
683 byte By
javaqq at 2007-9-26 1:26:21
I have a JTable which is instantiated like this:"class table2 extends JTable { private int rows = 100, cols = 8;private Object[] rowData = new Object[cols]; ..." When I try to refer to it as "table2," I get a null pointer exception.My questions:What is the name of that class?Is there a way to ...
trying to work out how to create .java files and what type of text editor can create them (notepad?) please help as am only used to using the system at college thanks for your time much appreciated - b
243 byte By
imtariq at 2007-9-26 1:26:24
Help me outwell, seeing the powerful concept of java, i diverted from vb to java. But my application requires that it should be minimized to system tray. please help me out. that how can i do so in java.Tariq
Could anyone please explain me the use of thread groups.Also, could anyone explain me what is daemon and non-daemon threads and their use?thanks in advance.(I need to know it for the SUN certification exam.)
how do insert a path so that into my autoexec.bat file eg PATH C:\jdk1.1.8\bin;that sort of thing? my .bat is as follows at the mo!REM [Header]@ECHO OFF REM [CD-ROM Drive]REM [Miscellaneous]REM [Display]REM [Sound, MIDI, or Video Capture Card]REM [Mouse] ...
108 byte By
valjok at 2007-9-26 1:26:28
I want to see 240 on my console, what should I do?System.out.println((byte)240);
561 byte By
dimopule at 2007-9-26 1:26:30
Hello, I am writing a project about java which requires collecting info on :aims of the language,primitive data types,flow control statements,subroutine calling mechanisms,etc.It also requires writing a program in java which sould do a binary search in a list and should reveal, as far as ...
how would you change a registry key value data using java? I simply want to change the desktop background under the current user by editing that reg key. And i also need to know if there is a way to see where the users windows directory is, for example, instead of saying C:\windows just ...
how would you change a registry key value data using java? I simply want to change the desktop background under the current user by editing that reg key. And i also need to know if there is a way to see where the users windows directory is, for example, instead of saying C:\windows just ...
I'm searching for a strong standalone graphical java debugger that can debug individual programs. In other words, debuggers that you don't have to define a "project" but rather just specify a class file with a main method.I would prefer if it we're freeware or open source. Perhaps just a ...
453 byte By
nadaqam at 2007-9-26 1:26:38
Hello ,suppose i have the following class :class MyThread implements Runnable { MyThread() { new Thread(this).start() ; }public void run() {.........}the question how we can avoid any subclass from class MyThread to override run method ? i try to make run method final , static but it doesn't ...
Hi there,I am using Windows ME operating system and require to download the compiler for Java. You will have to escuse me as i am totaly ignorant and don't know anything about Java at all. If anyone out there would like to guide me in the correct direction that would be most appreciated. I ...
-Does any body know if there is an actual Java OS, or JOS for download? And if there is an actual Java OS where can I download it?-
I want to use Tree not Jtree but AWT TREE ( if possible)Jtree is so heavy to use in PDA programming.
I want to use Tree not Jtree but AWT TREE ( if possible)Jtree is so heavy to use in PDA programming.
299 byte By
neocrom at 2007-9-26 1:26:48
I saw many questions about this problem...If HTML document is somewhat complex, HTML document appears strange when showing in jEditorPane...If anybody solved this problem...Please tell me the way...(It dosen't matter using third party component....)
hyei'm about my final project....and i need to code of E-mail system,because my project about it,it's for intarnet system.....i mean, code about how can i send,open,write,delet...etcplz help me if you don't mindand thank youall of you
I need to execute commands on the linux server from my NT workstation using java programs. Anyone has any idea how to go about doing it?
176 byte By
chemah at 2007-9-26 1:26:57
How do i know if an internal frame is being resized?Is there any event?And how do i update it, i mean refresh it?And how do i refresh a desktoppane?
1280 byte By
brenock at 2007-9-26 1:26:58
I use Visual J++ for developing. I'm trying to use Drag & Drop i.e. the java.awt.dnd.* package.I downloaded the JDK1.3 version and added it to my CLASSPATH.CLASSPATH=d:\java\jdk1.3\src.jar;When I try to import the dnd package only the dragsource events and listeners are listed. The ...
116 byte By
JTHOR2 at 2007-9-26 1:26:59
I don't want my users to be able to move columns around in my JTable...how do I disable that feature?
274 byte By
srjg75 at 2007-9-26 1:27:00
Hello all,I have a java class with a main() method. I need to make this class asynchronous and synchronous so that calling programs can either wait for the class to be executed or continue. Please let me know.ThanksRegardsRam
206 byte By
dengwu at 2007-9-26 1:27:02
Hi,I want to convert Java application to executable file on DOS6.22, just like compiling MS C 7.0 source code to .exe that can be executed on MS DOS6.22Thanks a lot.Dengwu
361 byte By
NewWave at 2007-9-26 1:27:03
Hello All,I'm attempting to pull a specified URL (via a specified param in the HTML), parse it, then display the results (preferably by printing out more HTML which the browser can render). However, I have no clue what so ever where I should start. Any direction for any of these steps would be ...
Hello all, i'm much interested in makinga java file to be in .exe form without using anyIDE's available for JAVA .Is it possible for us to make the .exe form of a java file to be executed in a machinewhich has only JRE AND JVM.
290 byte By
chamilap at 2007-9-26 1:27:10
Hi,I wrote a simple chat server using java. It works fine within the local network. As our institute uses a proxy server i am unable to communicate with a out side machine using it's IP address. Please someone tell me how to modify my server to perform the above task.
290 byte By
chamilap at 2007-9-26 1:27:11
Hi,I wrote a simple chat server using java. It works fine within the local network. As our institute uses a proxy server i am unable to communicate with a out side machine using it's IP address. Please someone tell me how to modify my server to perform the above task.
768 byte By
sjjung at 2007-9-26 1:27:12
Now, I'm implementing the TreeCellEditor interface.I need to add the JTextField to the JLabel as follows.class MyCellEditor extends JLabel implements TreeCellEditor{ JTextField editor; ... private void prepareEditor() {...editor = new JTextField(str);add(editor);revalidate();... } ...}But, The ...
218 byte By
johnled at 2007-9-26 1:27:14
hi,I 'm learning how to use javadoc to make the HTM files,but i can't use the params at the same time,just like:javadoc -author|version Helloworld.javaplease help me.
642 byte By
Burned at 2007-9-26 1:27:22
Java applet works fine. Need to use it for web page, but when use html converter to place it on a web page, it does not run.i get this error..General Exceptionjava.lang.NoClassDefFoundError: Calculator$Button button is a class inside Calculator class I made. it uses JFrame (javax.swing). below ...
66 byte By
kenni81 at 2007-9-26 1:27:24
How to change HTML's scrollbar color...any script?
193 byte By
banad at 2007-9-26 1:27:27
Is it possible to get a list of all the tables in a DataBase?I think it involves the getMetaData() method but I am not quite shure how to use it...Thanks.Dan.
261 byte By
tuanyou at 2007-9-26 1:27:28
I'm working with "design" in JBuilder, all components are "Swing" but when i run my program then it's not display in Metal model, it's display in Windows model.How i do to my program display in Metal model? Please eveyone help me!
261 byte By
tuanyou at 2007-9-26 1:27:29
I'm working with "design" in JBuilder, all components are "Swing" but when i run my program then it's not display in Metal model, it's display in Windows model.How i do to my program display in Metal model? Please eveyone help me!
251 byte By
johnled at 2007-9-26 1:27:30
hi,I 'm learning how to use javadoc to make the doc files(output is .html),but i can't use the params at the same time,just like:javadoc -author|version Helloworld.javaplease help me.
We decare methods in an interface and whichever class that implements the interface has to provide implementation for the methods....if any way implementing class is providing the functionality what is the purpose of interfaces? This question may sound very basic level question.pls post your ...
152 byte By
dengwu at 2007-9-26 1:27:36
Hi,BakrudeenI've seen the your advice, but I can't find the KVM for DOS6.22. Any other solution?Thanks a lot.Dengwu
686 byte By
shaghab at 2007-9-26 1:27:42
hi!I want to make a site (servlet based) which sends reponses in wml. I have tested th epages using nokia emulator. I am very much new to wap. I noticed one thing that if responses are in wml (content-type: wml) then we don't really need Nokia WAP server.My question is when i will actually out ...
619 byte By
alvamak at 2007-9-26 1:27:44
Hi all, I want to use Vector to declare the content of the table with two column. I tried to use data model, however, I cannot declare two dimensional Vector in the table, so I cannot show correct content in both column, would you mind the help us. Is it the only way to do is using 2d array? ...
As creating a gameeditor I found out that objects in game have many common behaviour, like theyre clickable, they have area in sceen (bounds), they are painted (painter). I have interfaces like I_Bounds, I_Painter, I_OnMouseClick, I_OnMouseMove, they have just one method for example Painter ...
2380 byte By
PanTau at 2007-9-26 1:27:47
Hi, I have a problem with the focus-handling on JInternalFames. What I want: I want to set the focus on my JIF to the first enabled component like a editable JTextField.-> I try to get all focusable components in a recursiv method. Than I set the focus to the component in the upper left ...
383 byte By
karjala7 at 2007-9-26 1:27:55
Is there any really fast way of streching an Image when painted on screen ? The image is .jpg and it is loaded through URL with the getToolkit.getImage(URL...) -method.The idea would be to strech an image size of 384x288 to the size of 768x576. The getScaledInstance seems to be working too ...
545 byte By
reetis at 2007-9-26 1:27:58
Hi:I'm using JTextArea for my application. My requirement is when I'll select some text then instead of selecting in general mode where it selects the entire lines in between it needs to select the text in the block selection mode. Means when I press and release the mouse then the text which ...
974 byte By
snodx at 2007-9-26 1:28:00
Hi all,I have a Cobol application running on a Linux machine. The application takes in certain inputs from the user (from the Linux command prompt) and stores them within text files in its local directory. Again when the user enters a search keyword the Cobol looksup these files and retrieves ...
HI ALLplease tell me the method of implementing passwordprovision for some folders/files in the system.it should ask for password authentification beforeopening when i click on the folder.please help urgentthanksbelur
HI,I am working on JAVA TAPI now, I downloaded JTAPI and written one sample program by fetching in the document and complied, when I am executing it is giving an error as Cannt find Provider and throughing an exception as "Cant get Provider: javax.telephony.JtapiPeerUnavailableException: ...