35,618 Topics

Member Avatar for
Member Avatar for Ideteng

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.

Member Avatar for JamesCherrill
0
35
Member Avatar for Krishna1991

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

Member Avatar for JamesCherrill
0
108
Member Avatar for trishtren

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 …

Member Avatar for trishtren
0
193
Member Avatar for mrabrar09

Hi to everyone. I have created jsp report in that date column is there where am showing the date format like this (02-01-2012) <% String Rcheckdate=""; SimpleDateFormat df = new SimpleDateFormat("dd-MM-yyyy"); Rcheckdate=df.format(rs.getDate("tr_dt")); %> <td align='center'><%=Rcheckdate%></td> In report i have given the excel button from there am exporting the data to …

Member Avatar for mrabrar09
0
311
Member Avatar for Andrei15193

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?

Member Avatar for Andrei15193
0
200
Member Avatar for mrabrar09

Why my javascript menu is structing after 5 minutes (measn the drop down menu is not coming ). For that i need to referesh the whole page that page is in jsp. Can anyone help me to overcome from this problem. below is the sample code <td WIDTH=150 onmouseover="awgMnBSpmc('awgMnBSpma0',1);awgMnBSpmd('awgMnBSpm11','awgMnBSpma0');" onmouseout="awgMnBSpmc('awgMnBSpma0',0);awgMnBSpme('awgMnBSpm11');" …

Member Avatar for dany12
0
119
Member Avatar for prnjn

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

Member Avatar for prnjn
0
3K
Member Avatar for prnjn

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 …

Member Avatar for prnjn
0
238
Member Avatar for shsh111

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

Member Avatar for SagarSe7en
0
161
Member Avatar for gabz16

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!

Member Avatar for JamesCherrill
0
2K
Member Avatar for serph09

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 …

Member Avatar for JamesCherrill
0
613
Member Avatar for sofien.fkih

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 …

Member Avatar for JamesCherrill
0
170
Member Avatar for Armanious

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 …

Member Avatar for Armanious
0
182
Member Avatar for aabbccbryanmark

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)); …

Member Avatar for aabbccbryanmark
0
141
Member Avatar for aabbccbryanmark

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

Member Avatar for aabbccbryanmark
0
161
Member Avatar for gamebook
Member Avatar for yup790

I have nearly finished teach yourself java in 21 days. What should I do now to get good at programming, especially java but other languages would be nice. BTW, java is my first programming language.

Member Avatar for godzab
0
100
Member Avatar for ramel.coletana

hey, is there any body there who will give me a sample code of database?----that will save a cellphone number and name.

Member Avatar for neowolfx
0
90
Member Avatar for AireenK

Hey,I am trying to write a code that will pop up anotification when a the system captures time and alert the user that time is up.Please help

Member Avatar for JamesCherrill
0
42
Member Avatar for raviaaaa

HI All, i am doing jdk upgrade version on one application is there any tool whick will convert .class file (which has compiled under jdk 1.4). i don't have .java files(src code) so i want to know is any tool which will convert .class file (jdk 1.4) to .class file …

Member Avatar for JamesCherrill
0
194
Member Avatar for dart.suresh

my client using apache tomcat server in this server form post method not working but instead am using get method its working what the configuration am missing in web xml?

Member Avatar for dart.suresh
0
368
Member Avatar for godzab

I have been programming in java for 1 year, but I would like to contribute to an open source program. The problem is its to compicated for me to join a open source program. Is there any recommendations you guys have for any open source projects I can join?

Member Avatar for rotten69
0
95
Member Avatar for joejo

Need help urgently. Can anyone please help me finish up a project which i have a deadline to meet in 3 hours time. It's a camp application to input and store the records of the children from my church! I have created the GUI and I am left with the …

Member Avatar for Stuugie
0
222
Member Avatar for shantuli

hi everyone, i am very new in java. i am having problem in SWITCH CASE STATEMENT. can anyone please help me to solve the following problem: you have to write a program in java to generate the following menu: 1: DATE 2: MONTH 3: YEAR 4: DAY if the choice …

Member Avatar for Raja Goswami
0
1K
Member Avatar for SagarSe7en

Hy Friends, Have to submit a small routine program. So this is how it goes: There are soaps on the shelves. One soap costs $1 and the next soap costs $1.2 until no money is left in the pocket Each soap is 20% more in price than the previous one. …

Member Avatar for NormR1
0
550
Member Avatar for yup790

I am trying to make a program that displays the nth prime number. I don't get compiler errors but it doesn't display the prime number. I don't know where it stops, ive tried breakpoints but it stilll doesnt work :(. here is the code: package primenumberfinder; import java.util.Scanner; /** * …

Member Avatar for Taywin
0
274
Member Avatar for ramel.coletana
Member Avatar for songokute

Hi, i have a j2me game (in chinese): comments, button text, game guide... are in chinese! I want to make them all (chinese words) be translated into English, but Eclipese doesn't display these chinese words!! I downloaded some Chinese font and installed them, nothing change in eclipse editor! The same …

Member Avatar for songokute
0
181
Member Avatar for cynusalisa

Hello Guys, I am Confused between the two languages Java and C++ that Which is the better Language to learn? What do You Guys Think about These languages and Can You make difference between these Languages Guys?

Member Avatar for rubberman
-1
234
Member Avatar for arunod

The End.