32,204 Topics

Member Avatar for
Member Avatar for scb10

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 …

Member Avatar for freesoft_2000
0
100
Member Avatar for nccliang

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 …

Member Avatar for freesoft_2000
0
180
Member Avatar for maverick_79in

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 …

Member Avatar for freesoft_2000
0
216
Member Avatar for jigvesh

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??

Member Avatar for freesoft_2000
0
83
Member Avatar for nccliang

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 …

Member Avatar for server_crash
0
93
Member Avatar for Ghost

Hi everybody! Is there a way to compy an Image to the clipboard. I think you need to use Toolkit and transferable. Thanx!

Member Avatar for freesoft_2000
0
176
Member Avatar for Ghost

Hi! Is there a way to interact with the microphone attached to a computer (e.g. record the sounds)? Thanx!

Member Avatar for freesoft_2000
0
286
Member Avatar for heaney37

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!' …

Member Avatar for kirrz
0
122
Member Avatar for miles11

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 …

Member Avatar for flybet
0
130
Member Avatar for CoolHandLuke

Thanks to those who replied. I have seen the light and corrected the problem(s). I'm set. Again, thank you.

0
84
Member Avatar for CoolHandLuke

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 …

Member Avatar for server_crash
0
98
Member Avatar for andy4u

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 …

Member Avatar for Ghost
0
504
Member Avatar for blondie_3233

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 …

Member Avatar for blondie_3233
0
93
Member Avatar for luisator

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 …

0
70
Member Avatar for ramya_rav2000

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 …

Member Avatar for jwenting
0
157
Member Avatar for apcxpc

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 …

Member Avatar for server_crash
0
214
Member Avatar for Wrath

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 …

Member Avatar for server_crash
0
212
Member Avatar for nisaa15

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?

Member Avatar for server_crash
0
142
Member Avatar for spadusca

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 …

Member Avatar for spadusca
0
94
Member Avatar for JGee2005

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. …

Member Avatar for JGee2005
0
95
Member Avatar for catherine1001

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 …

Member Avatar for server_crash
0
170
Member Avatar for spdman01

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:

Member Avatar for server_crash
0
167
Member Avatar for Dark_Omen

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 …

Member Avatar for Dark_Omen
0
255
Member Avatar for bucwyld
Member Avatar for foucault

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 …

Member Avatar for mmiikkee12
0
221
Member Avatar for server_crash

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?

Member Avatar for jwenting
0
125
Member Avatar for twocentwhoracle

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 …

0
86
Member Avatar for Kennedy_f

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 …

Member Avatar for server_crash
0
228
Member Avatar for twocentwhoracle

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 …

Member Avatar for server_crash
0
69
Member Avatar for SunshineBusride

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 …

0
59

The End.