31,001 Topics

Member Avatar for
Member Avatar for perlsu

Hi I want to replace "ta,at,an,bc" in main string {ta,at,an,bc,ta,at,an,bc,ta,at,an,bc,ef,ta,at,an,bc,ta,at,an,bc" with (ta at an bc)*.The result array should be "(ta at an bc)*,e,(ta at an bc)*". Can anyone give me some hint? Thanks in advance.

Member Avatar for NPH
0
158
Member Avatar for Rearden

First, I am running on linux and when i use the java command to run a program (i.e. java foo), it just sits after it finishes. how can I get it to fully close(specifically, the program I am posting at the end of this post) Second, is there an equivalent …

Member Avatar for Rearden
0
152
Member Avatar for nspireing

I am looking for a way to create a menu bar with java ive found a few really good programs that basicly wusiwug a menu bar for you but implementation and the trial version only that comes up and blocks your options is annoying. i even willing went to the …

Member Avatar for server_crash
0
159
Member Avatar for katew

i am having a problem to store the item and call from it.It is like you already created a text file,then you need to assess item from it.the item is in disorder. :sad:

Member Avatar for katew
0
208
Member Avatar for perlsu

Hi I got the error for possibleseq array . The error is java.lang.NullPointerException. As java doesn't support pointer, when want to use dynamic array, how I can use. The array length cannot know exactly . It depends on the possible subsequences. So, Do I count the possible sequences in advance …

Member Avatar for perlsu
0
127
Member Avatar for boyzz

how to store the data read from the txt file, and store it into different array? for example, name,age,address i know how to read them differently, but don know how to store it... :cry: FileReader fr = new FileReader("abc.txt"); input = new BufferedReader(fr); line = input.readLine(); while (line != null) …

Member Avatar for boyzz
0
324
Member Avatar for perlsu

Hi I need to find the repeated substring in string with repeated times = 2. Can anyone help me some hint? Thanks in advance. e.g, input string = abcdcbcbcada repeated string with repeated times 2 = bc

Member Avatar for chrisbliss18
0
101
Member Avatar for vps

hello everybody i am writing a jni for some api's in c++ in linux i sending vector as parameter and returning a vector through the same function. all i need to do is read a file put all the lines in vector. pass the vector object as parameter to function …

0
107
Member Avatar for tyalangan

Hello everyone. I'm just messing around with Java and trying to tone my skills as a programmer. I wanted to develop a type of program that calculates a monthly payment like a credit card. I want interest, APR, final payment all that to fit into the program. Also, would it …

Member Avatar for jwenting
0
93
Member Avatar for Manojsah

Respected Viewers, Hello, I am Manojsah a new java learner. Right now i am learning Data Structure using Java. I am facing lots of problem there in STACKS, LINK-LISTS, QUEUES and especially INFIX POSTFIX PREFIX. So, its my humble request to all please help me and guide me how to …

Member Avatar for Kate Albany
0
119
Member Avatar for glamo

i am trying to make a chat applet ,first problem is that it is working for only single system,i want to know how to connect it with network and second there is some problem in my code it os showing some error which i am unable to debug. so help …

Member Avatar for hitesh_black
0
95
Member Avatar for loser1

hi everyone i'm doing my final year project. most probably i'll be implementing them in java.i have norrowed my choices down to two possibilities......one is the implementation of an algorithm for a perfect hash function. the other project is an XML to relational database converting software product. i m interested …

Member Avatar for jwenting
0
72
Member Avatar for tristan17

hi people, I am a newbie to Java OOP,i cam across this example in a text book, but i just cldn't understand how the area is calculated. hope that someone can explain this simple problem to me the code is: public class TestPassingObject { // Main method public static void …

Member Avatar for tristan17
0
213
Member Avatar for Manojsah

Hi I am having problems in getting Composition ? pls tell about it. thanks Manoj

Member Avatar for Manojsah
0
173
Member Avatar for vps

hello everybody I am writing a jni wrapper for c++ api's the c++ dll is on linux, so i get a .so shared library. I am working on windows, using vc++ 6.0. can i include the .so shared library in my workspace in vc++. when i do it i get …

Member Avatar for vps
0
100
Member Avatar for sarju

Dear friends, I am working on JNI (Java Native Interface) in my project as i have application and libraries in "c" programming language and i wish to make it accessible with java application. But i am facing some problem while writing java code as I am not expert with java …

0
71
Member Avatar for vps

hi everybody i am stuck. i am first time using beans. can anybody please tell me how a file can be copied from one machine to another machine usingg beans. i dont want to use servlets or JSP. regards vps

Member Avatar for jwenting
0
180
Member Avatar for aripaka

hi all, Can we create an exe for a Java application so that we can run it directly by executing the exe?

Member Avatar for freesoft_2000
0
161
Member Avatar for joshSCH

Hi, I've created a GUI program that has JButtons for like a menu. I am trying to get the action listener to do a whole other method. EXample: view.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { menu(); System.exit(0); } But, It will not go to the method. It displays an …

Member Avatar for server_crash
0
171
Member Avatar for audio mobile

Hi, I'm involved in audio mobile and in ringtone production. I produce mobile audio content in more than 30 ringtone formats, including SMAF, MFi (mld imode)... My content is created thinking about quality and little size. For example a file could be at 30Ko, with audio inside 'voices..) and with …

0
80
Member Avatar for indianscorpion2

hi my name is srikanth.can anyone briefly explain the concept of polymorphism to me in java context. thank you.

Member Avatar for NPH
0
114
Member Avatar for George2

Hello everyone, I have heard that the search engine of Yahoo is based on open source search technology, is that true? If it is true, what open source search technology is it using? Is Yahoo search engine itself open source? thanks in advance, George

Member Avatar for George2
0
280
Member Avatar for johnroach1985

Hi there.I have a quick question.I wrote this program to look like my own browser.It views the code of the url givven and it was suppose to be a browser too.The button explanations are as following: CODE=Shows the code of the given url VIEW=When you push it it was supposed …

Member Avatar for johnroach1985
0
110
Member Avatar for johnroach1985

Hi again.I was just wondering about different layouts I can use with swing and I just came accross a sample program at [url="http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html"]http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html[/url] anyways there was this example program that I just couldn't find the error.Anyhelp would be welcomed. The error it is giving is cannot find symbol variable springutilities …

Member Avatar for johnroach1985
1
408
Member Avatar for indianscorpion2

hi my name is srikanth.i am a eginer in java just learning the basics.i just have one question. why does everyone talk in a confusion manner regarding java like using terms such as j2ee,j2se,core java advanced java. whats the difference? there is no such confusion in C. and what is …

Member Avatar for veecarthic
0
139
Member Avatar for fuehrer

i'm new to java and this is my first post and a silly one too plzz help me out under what context should these both be used and how is it internally expressed or used by the compiler

Member Avatar for fuehrer
0
243
Member Avatar for MastaPho

plz tell me the type of program(application etc.) and the source, hopefully not difficult to understand from C:/Magix also can add //description

Member Avatar for JeffHeaton
0
208
Member Avatar for nishad

Hello everybody, actually i'm having problems with java loops as it is so complicated, dont know where to start. I have 2 questions if u could please answer it. 1. Write a program that generates and ouputs the table below: [B]10 20 30 .... 100 110 120 130 ....200 210 …

Member Avatar for NPH
0
115
Member Avatar for Soni_7

Hi All, I am new to java/jsp. I have made a jsp page. And i have included the java code in jsp itself using <%,%> tags. Now i want to move the code to java files keeping this as plain jsp. I think i need to use java beans.Can anyone …

Member Avatar for jwenting
0
164
Member Avatar for indianscorpion2

hi my name is srikanth.i am a beginner in java just learning the basics.i just have one question. why does everyone talk in a confusion manner regarding java like using terms such as j2ee,j2se,core java advanced java. whats the difference? there is no such confusion in C. and what is …

Member Avatar for catherine1001
0
376

The End.