31,001 Topics
|
|
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. |
|
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 … |
|
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 … |
|
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: |
|
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 … |
|
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) … |
|
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 |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
Hi I am having problems in getting Composition ? pls tell about it. thanks Manoj |
|
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 … |
|
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 … |
|
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 |
|
hi all, Can we create an exe for a Java application so that we can run it directly by executing the exe? |
|
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 … |
|
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 … |
|
hi my name is srikanth.can anyone briefly explain the concept of polymorphism to me in java context. thank you. |
|
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 |
|
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 … |
|
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 … |
|
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 … |
|
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 |
|
plz tell me the type of program(application etc.) and the source, hopefully not difficult to understand from C:/Magix also can add //description |
|
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 … |
|
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 … |
|
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 … |
The End.