32,204 Topics
| |
i need a code that allows me to take an array search it on another txt file and replace the new string with the string after the (,) and save the changes in a new file. how do i do that???? i have this: file1.txt sd00100 test on 24 ago … | |
hi guys , i have a query if some group of people are using the same java application and are connected via LAN . It is like in the java application , i want to expose other people ip address , so that i am able to send message via … | |
Hi, Well i am new to these forum as well as IT field.But i was looking for a right form to post up my add for help. I am an Aerospace student from scotland dont knwo much about IT. I have been assigend the IT Project from the university to … | |
I wanted to know that is it possible to change the background of a frame and put an tiled image as the background instead? If yes, then how?? | |
Hi guys , i was wondering how could you create your own UDP ports in java ? To be more specific , its like i have a communication application in java which i can use it to interact between different computers in LAN . However this application usto transmit data … | |
Hi everybody! Is there a way to compy an Image to the clipboard. I think you need to use Toolkit and transferable. Thanx! | |
Hi! Is there a way to interact with the microphone attached to a computer (e.g. record the sounds)? Thanx! | |
HI there, sorry, this is an incredibly basic problem, its just confusing me no end - no previous programming experience and trying to get my head round java - i have followed some guides for the source code and have came up with the following to display 'welcome to java!' … | |
Hi All-- I basically am trying to write a piece a piece of code for an application that will list all the open frames in the program, and if you click one, it is selected and brought to the top of the program. I have a menu bar, and I … | |
Thanks to those who replied. I have seen the light and corrected the problem(s). I'm set. Again, thank you. | |
I am attempting to learn Java and am having a time of it. I am wanting to write a program that will allow a user to input number...then output them in reverse order. If someone would be so kind as to look at it and provide me with suggestions or … | |
Hi mate...This is Andy here.... I need help in JAVA...I know nothing abt JAVA...& also very poor in programming..... The following is question for my assignment.Can you plzz help me out... Problem Situation You will write a small application which might be used by a shopkeeper to hold and maintain … | |
I am new to Java and have ran this several different ways nothing works. My instructor is requiring that the BufferedReader be used in the program I am attempting to write. I can convert to doubles and can do String but it will not work with integers. (This method for … | |
Hi every one I am working in an appliction that lets the speaker get access to the rtp stream coming from an Ip telephone. The idea is to have all the soun of the telephone in the PC. I get the voice but I also get a horrible noise al … | |
Hi I am using Nokia SDk for J2me and am trying to compile. I do not know how to set the classpath. I set it by going to Control Panel -> System->advanced->Environment Variable. There I clicked on the Edit button after selecting the "CLASSPATH" variable My classpath is "C:\WINNT\System32\QTJava.zip;C:\Nokia\Devices\Series_60_MIDP_SDK_for_Symbian_OS_v_1_2_1\lib\Series_60_MIDP_SDK_for_Symbian_OS_v_1_2_1\j2me-debug.zip" BUt … | |
Hi all... I have a JFrame, which contains a JTabbed Pane, which contains two JPanels. The problem is that when I run the program, a completely grey frame shows up, and the contents only becomes visible when I click on the border of the frame. Here is the code. Compile … | |
i know java, ive had two classes in it but ive only written it in notepad.. lol so here im trying to make an applet in netbeans and implement an action listener.. why do i get an error at my first line here: [code]import java.awt.event.*; import java.awt.*; public class applet1 … | |
hey, wanted to know if anyone knew how we would use a 'directed acyclic word graph' (dawg) to generate a computer players move in scrabble. Know of any algorithms, have you got any code snippets i can see? | |
I am very new to java and have to create a programme to average data. The scope is as follows: I have two .txt files with collumns of data: file1.txt is something like 2 xxx xxx xxx 3 xxx xxx xxx 4 xxx xxx xxx ... 100 xxx xxx xxx … | |
Hi there I am new to JAVA, I would like to create a line 2 pixels wide that moves across my screen. The line should be a bezier curve and should animate pixel by pixel. I would like to have 200 fps and four seconds from animation start to end. … | |
I’m here because my best buddy has told me to go into forum do discussed with people and reach to your resolution. I've downloaded ucertify java test software, next month mye xam will go. Less time, the TestKit provides 5 full-length exam simulations, containing 285 questions, 150 pop quiz questions … | |
I'm new to Java and the Prof. asked us to create a program that prints out the Avg, Min & max of a set of Array values and I can't find a class or method that seem to do this . Any help would be much apperciated!!!! :rolleyes: | |
Hello everyone, I just started learning Java, I like it so far because it is very similar to c#, which I am familar with. But I can't get programs to compile for me. It gives me an error saying 'Exception in thread "main" ' I am using NetBeans to compile … | |
heres an easy one..how do I make it... rob | |
Hi everyone, Take a look at the following code block. [CODE] ->Class InterruptionDialog public class InterruptionDialog extends JDialog { //Fields Thread currentThread; JButton interruptionButton; //Constructor public InterruptionDialog(JFrame parent, boolean modal, Thread t) { super(parent, modal); currentThread = t; interruptionButton = new JButton("Click to interrupt"); interruptionButton.addActionListener( new ActionListener(){ public void ActionPerformed(Event … | |
I started over with reading my certification book, and I'm now on page 113. It says that an interface can extend one or more other interfaces.....I thought you could only extend one thing, or do they mean the interfaces that the extended interface extended? | |
So, in my applet, I need to run two threads, each using the same "communicationDriver" class: comIn, and comOut. Each has a socket connecting to port 2002 and 2001 respectively. I init my applet as such: public void init() { javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { makeGUI();}}); } Then … | |
I'm seeking for java2 certification. I downloaded ucertify product. Question are on right quality. 150 challenging practice questions have been included to closely model the format, tone, topics, and difficulty of the real exam. If i purchased it before release then i could have able to got 40% discount. Test … | |
I have an applet that needs to have a sending socket and a receiving socket, each unidirectional, on ports 2001 and 2002. now, i tried making each one in a thread and it did not work. can someone give me a code example as to how to do this? i … | |
hi guys, im in my first few weeks of working with java, and am finding it hard to complete an excercise i've been given. We are working with a java program that works over 3 files, and we have to "fill in the blanks". trouble is, i don't know what … |
The End.