32,204 Topics
| |
I can't seem to figure out how to reverse the order of the letters in a string. This is what i have so far... [code] [COLOR=Blue]public String reverse(String normal) { //reverse the letters in string char last; //last letter of string int leng = 0; //length of string int i; … | |
## Sub-Heading Here ## > im working with time in and time out app which compute all of the hours that you've been working. > and i got this error.! i dont know how to fix these. plss help me im a beginner. > > error: variable th1 might not … | |
am trying to load a csv file on my application which allows the action listener to call a readfile method and displays the 2d array on the file to the textarea. i am getting a compliation error of such. pls how do i rectify this setText(java.lang.string) in javax.swing.text.jtextcomponent cannot be … | |
i am developing an app that can import csv file and display its content on the text area of the GUi. the challenge am facing is calling the readfile method from the event listener to display the data. the readfile method is void and wouldnt be accepted. based on my … | |
And I want to show the different words in two text files and make them bold, show on the screen. my code compiles when entering a word show the common words in two txt files and underlined them. instead of entering the word, I want to read a txt file, … | |
Hi, I need help in downloading the files from here https://svn.java.net/svn/nbribbonbar~nbribbonbar/ Based from this tutorial ( http://platform.netbeans.org/tutorials/nbm-ribbonbar.html ), I need to download the files in the link but I can't seem to find a way how. Can anyone help me out? Thanks! :) | |
I am having a lot of trouble with the game I am supposed to be creating, so I'm going to put it out here for the many minds smarter about this stuff than I am to see if they can let me know whats wrong... I am brand new to … | |
Hi, Please anyone help me to develop **OSGi bundle with JAX-WS** and how can I deploy it into **jboss eap 6**. If anyone provide me sample hello world example or any tutorial link that is also helpfull for me. Thanks. | |
(duplicates http://www.daniweb.com/software-development/java/threads/430259/reading-a-contents-of-txt-file-compare-the-contents-other-txt-files) | |
hello frnds!! i want to know which things in programming slows the running process of program..... i want that my program should run in minimum time..... | |
So I have successfully implemented a search feature into my tiny program but when I click the button to sort, it works fine but the images don't display. In the columns called "A" and "B", images are supposed to show up but they don't. http://i46.tinypic.com/2mx3og8.jpg . import java.awt.Color; import java.awt.Component; … | |
Plain Text : ABCDEFGHIJKLMNOPQRSTUVWXYZ Cipher Text : HETJWOPSQYAZIVMBDUKNRGLCXF Turns the plain text "BOY" into the cipher text "EMX". Note the substitution is a permutation of the 26 letters of the alphabet, so we can uniquely decipher a cipher text by reading the substitution backwards; that is, cipher text "A" is … | |
Hi Friends, I am developing one application using Struts1.3+Spring2.5+Hibernate3.6 to do practice. In this application I am using Spring AOP transactions, but transaction is not working for me. Please check my code snippets and help me. web.xml ======= in addition to general entries, I have added the following code as … | |
Hello everyone, I would appreciate if somebody could tell me how to find L*a*B of an image in java Also how to find texture of each pixel.I know how to find RGB value but i am unable to find L*a*b Pls help | |
Hi guys, I'm trying to create an array with the length according to the number of rows in my database. So here is my code. I getting "array out of bound". import java.sql.*; import javax.swing.*; public class prg extends javax.swing.JFrame(){ String nameC = "HDB"; String nameCC = ""; int count=0; … | |
Hi! I have a huge problem with my PERT program. I've been trying to figure out how to display all of the data in jTable with one click and how to delete all them as well, like if I click on "reset" or "clear". What I've done is just the … | |
I am in the process of learning how I could use a JListDataListener to change JList elements at runtime: I am goggling this right now to collect examples: I would like to see some code on the subject if anyone has some examples -thanks Here is some code to create … | |
Please, how do I pass values from mysql into an arraylist. I also need to pass the arraylist values into new methods and send the result back to mysql table. | |
**3. Write a java program to create a frame with a menu File->Open The frame should consist of a combobox. On select of an item from the combobox display the item name within the message box On click of the “Open” menu item display an internal frame with a text … | |
Hello, I am trying to recreate a data type in java used by adobe, it is an unsigned integer 30 bits long or U30 by the specification. Anyway i am having problems understanding the binary output, the definition states: "The variable-length encoding for u30 uses one to five bytes, depending … | |
Hey guys. Which is better? .NET or Java. I know .NET isn't really portable, however independent projects (Mono Project, MonoXNA) are trying to give it some portability. What benefits does Java and .NET offer and what downsides do they have? | |
How to set image of my own choice say baby.jpg as an icon on the title bar of the jFrame.. Please also help with codes if required ,, i am newbie in java and NetBeans.. | |
As i said earliar i am making HRMS , the last phase is logout button. when logout button is clicked , an option dialog should appear which ask for yes or no . PROBLEM is i dont know how to use JOptionPane.YES_NO_OPTION so that i can give user choice of … | |
i hope someone here can help me with this quistion... Finding Tandem Repeats: Suppose that we want to find all short tied repeats w within a string A = xwwy, |w| < 8. This type of repeat is called a tandem repeat and it occurs very often in biological sequences. … | |
Hi programmers i need to have a GUI code for 4 cpu scheduling algorithms OR AT LEAST THE THREE, W/O THE ROUND ROBIN.. can you help me interface(menu): Cpu scheduling algorithms 1.FCFS 2.SJF 3.PRIORITY 4.ROUND ROBIN CHOICE:______ NOTE:5 DEFAULT PROCESSES ARE GIVEN. PLEASE HELP..THANKS! | |
So I have the code below. The whole program just reads from a text file and prints certain characters if it detects specific characters from the text file (in this case I just made it mimics what the text file has). My text file contains this: .........www... bbb..........ww ...bb....ww.... The … | |
I'm having a problem of displaying all the data of a column in a text file I can display only the first data, so please someone tell me what can I make to display them together in a text file. Connection con = DriverManager.getConnection(host, uname,password); Statement stmt = con.createStatement(); ResultSet … | |
This is basically the layout of my task at hand: I have one "host" program - the basic GUI for the entire application running at any given time. It contains a JTabbedPane. When the user adds a tab, I want the program to start a completely new process (new JVM … | |
can someone give me an idea how I limit the decimals in the output of this code: /** * @(#)Text1.java * * * @author Bryan Mark * @version 1.00 2012/8/4 */ import java.io.*; public class Converter { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); … | |
can someone please help me with this java application that will display the output below: "Enter Middle Name: Gosling" "You Middle Initial is: G" and also java program that will let the user to enter value for fahrenheit & convert it to celsius. can someone give me codes for this.. … |
The End.