32,199 Topics

Member Avatar for
Member Avatar for devapatnipoorna

hi can any help me to develop aa complete mobile to browser end to end application like what technologies are used and what are the platforms. Thanks Poorna

Member Avatar for peter_budo
0
80
Member Avatar for kuay

[code] package caesar; import java.util.Scanner; public class Caesar { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int key = scan.nextInt(); String str = scan.next(); String encrypted = encrypt(str, key); System.out.println(encrypted); } CAUSES public static String encrypt(String str, int key) { String encrypted = " "; for(int …

Member Avatar for kuay
-1
364
Member Avatar for lalchetian

[code=html] <A class=F11 id=moreFF4Link style="DISPLAY: inline" onclick="showMoreFF4('on');clickTrackSwbdAttr('BP:Attributes:Additional Info:Show More','Trattoria-Pizzeria-Roma Inc','Pizza Restaurants, Restaurant Management &amp; Consultants')" href="javascript<b></b>:void(0);"><BR>Show More &gt;</A>[/code] This is the html of that page. I am looking forward to clicking on 'show more' I am using a instance of Ie to open this page, As this is supposed to …

Member Avatar for vb5prgrmr
0
80
Member Avatar for anusha88

i wish to display the substrings of a string with each move for the Jslider.what is the way to achieve that/?

Member Avatar for crunchie
0
67
Member Avatar for CodeBoy101

Hi all. I was wondering if there's a way to assign the value in a text field to a variable in jsp using Java (not Javascript). Normally in Javascript you might do something like: [icode] document.formName.fieldName.value[/icode] to access the value. How can this be achieved using Java? :icon_confused:

Member Avatar for javaAddict
0
12K
Member Avatar for scream2ice

I have this code here: it uses text files and hash tables to keep some student records: can somebody help me with the 'FindEntry' Method, i don't really get why it doesn't work.... [CODE] public class HashTable { public static class StudentRecord implements Serializable { public String name,family; public int …

Member Avatar for ithelp
0
125
Member Avatar for PR!M3

hi, i've just started JAVA. m facing some problems in making chat module using core JAVA. Plzzzz help me out.....

Member Avatar for masijade
0
25
Member Avatar for solris

Im new to java. I Created this code to get a better grasp and idea how files works. The code executes but the file never appears on my desktop, can someone tell me why and how i can correct this issue. [CODE] import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; …

Member Avatar for javaAddict
0
99
Member Avatar for Kathleen Tillma

Hi all - This is my first time posting here, but I'm hoping someone can help me. My homework assignment is to make a GUI number guessing game with the number of guesses shown. I've gotten the entire program working, but for the life of me I can't seem to …

Member Avatar for VernonDozier
1
1K
Member Avatar for kmullin

When I compile a program in JCreator, I see this message: Error : Invalid path, "C:\Program Files\Java\jre6\bin\javac.exe" -g -classpath "C:\Documents and Settings\Kevin Mullin\My Documents\Data\Student Data Files\JavaClass" -d C:\Documents" and Settings\Kevin Mullin\My Documents\Data\Student Data "Files\JavaClass @src_ch01.txt" Note the extra " after the -d option. Where did this come from? I can't …

Member Avatar for kmullin
0
142
Member Avatar for 3houd

I am a beginner in Java programming and I want you to provide me a code of the following steps: First: create 2-D environment 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 …

Member Avatar for BestJewSinceJC
0
105
Member Avatar for dorota16

1) CarPool (for problem 1) Research several car pool websites. Create an application that calculates your daily driving cost, so that you can estimate how much money could be saved by car pooling, which also has other advantages such as reducing carbon emission and reducing traffic congestion. The application should …

Member Avatar for javaAddict
0
976
Member Avatar for farag

iam preparing now to get sun certified java program (SCJP)for the Java Platform, Standard Edition 6 and i almost finish the certification guide. So, i want the testking or testkiller or pass4sure for JAVA 6 J2SE "Exam 310-065" to study it before taking the certificate. if anyone can help me....... …

Member Avatar for xuenv2005
0
123
Member Avatar for kuay

You are the leader of a crack intelligence unit, and today your team intercepted a set of encrypted messages ('ciphertexts') from 'IndyBoy', a well known and much feared terrorist leader. It is thought that these ciphertexts contain instructions to his henchmen on which targets to attack next. Your team knows …

Member Avatar for kuay
0
92
Member Avatar for lalchetian

<A class=F11 id=moreFF4Link style="DISPLAY: inline" onclick="showMoreFF4('on');clickTrackSwbdAttr('BP:Attributes:Additional Info:Show More','Trattoria-Pizzeria-Roma Inc','Pizza Restaurants, Restaurant Management &amp; Consultants')" href="javascript:void(0);"><BR>Show More &gt;</A> This is the html of that page. I am looking forward to clicking on 'show more' I am using a instance of Ie to open this page, As this is supposed to back …

Member Avatar for Teme64
0
276
Member Avatar for CodeBoy101

Hi I'm trying to create a mortgage calculator using Java (not Javascript) on a JSP page and I need to know if there's a way to set the values of textfield so that I won't have to send information from one page to another.

Member Avatar for kvprajapati
0
182
Member Avatar for desmiserables

i have a textarea where a user can enter free flow text.I want to seperate out lines/occurences in my java class based on the below conditions: Unless the user presses the enter key i want to get substrings(texts) of 15 characters each or else whenever the user presses enter i …

Member Avatar for kvprajapati
0
91
Member Avatar for localp

I need to Stream [B][COLOR="Red"]Live[/COLOR][/B] Audio and Video, i went through a web site, and it gives a code, [URL="http://www.cs.odu.edu/~cs778/spring04/lectures/jmfsolutions/examplesindex.html#transmitboth"]http://www.cs.odu.edu/~cs778/spring04/lectures/jmfsolutions/examplesindex.html#transmitboth[/URL] in this, i dont no how to run the application, because we should have 2 port addresses each for Audio and Video. how do u compile this(The Command line arguiment) …

0
83
Member Avatar for peter_budo

I'm having small issue with drawing on panel. Neither image or text appears, however background is set correctly therefore it has to be due some issue inside my paintComponent() method. [code=Java] import java.awt.Graphics; import java.awt.Color; import java.awt.Dimension; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO ; import javax.swing.JPanel; public class …

Member Avatar for peter_budo
0
155
Member Avatar for Lensva

if using tomcat with eclipse plugin everything works fine through the eclipses built-in browser. is it suffice to say if i copied the eclipses project to tomcats webapps it should work as well? heres how my eclipse project looks like: [URL="http://i40.tinypic.com/315e713.jpg"]http://i40.tinypic.com/315e713.jpg[/URL] invoking html is in WebContent\ WelcomeServlet.html proccesing .class in …

Member Avatar for Lensva
0
98
Member Avatar for bensjomic

Hi all, I'm trying for a long time, to make a program working in java. I would load a JPanel in my java programm when i press on a menu item. Now i have made a function ChangeRoot(); in the main class. After that he must change the contentPane();. Can …

0
45
Member Avatar for weblover

hi all ..how are u ? i have a security project in java ...i have to implement the DES cipher and the Stream cipher ...with GUI ..where can i find a working source code for these ciphers ...can someone help plz ...and thnx in advance?

Member Avatar for weblover
0
123
Member Avatar for henks

[CODE]class Panelz extends JPanel{ public String test; Panelz(KeyListener ky){ addKeyListener(ky); test = "Empty"; } public void paint(Graphics g){ g.drawString(test, 10, 10); } } public class Begh extends JFrame implements KeyListener{ Panelz a = new Panelz(this); Begh(){ super("Press"); setLocationRelativeTo(null); add(a); setSize(500, 500); setVisible(true); setDefaultCloseOperation(EXIT_ON_CLOSE); } public static void main(String[] args) { …

Member Avatar for henks
0
111
Member Avatar for baftjar

Hi folks, Guess what....I am kind of new to OO programming programming. However, I have this task to complete in next week and if someone is willing to help, would be much appreciated. Task: Given input file A, translate the content to produce output file B File A: Consists of …

Member Avatar for Salem
0
161
Member Avatar for multicoder

My application uses many such packages which are not inborn sun packages and need to download and configure them for application to import properly. like import org.apache.commons.lang.StringUtils; or like import org.apache.log4j.Logger; etc. and also the java advanced packages like group of javax 's packages, I dont wanna to download the …

Member Avatar for multicoder
0
147
Member Avatar for Lotus_2011

Hi : I am beginner in using java , I tried to add bignumber using java my program enter numbers and add them , stop when user enter 0 then show the summation. [CODE] import java.util.Scanner ; import java.math.BigDecimal; public class CODE { /** * @param args */ public static …

Member Avatar for Lotus_2011
0
136
Member Avatar for vanpersie

Hi guys Iwant to connect java to oracle ,but Iam not familiarneither jdbc nor in setting classpath however depending on my little information,I used the following code [CODE=java] import java.sql.*; public class OraThin { public static void main(String[] args) throws ClassNotFoundException, SQLException { Class.forName("oracle.jdbc.driver.OracleDriver"); // // or // DriverManager.registerDriver // …

Member Avatar for vanpersie
0
238
Member Avatar for nickguletskii

Toxic. When I set look and feel, and have a static JProgressBar, the look and feel resets to "Metal". Anybody, please explain this behaviour.:@ :icon_mad:

0
57
Member Avatar for smoore

Hey guys. In my Data Structures Class today somehow we ended up talking about the Monty Hall Problem for a little while. Anyways I got bored and wrote code to statistically check if it is correct (even thought I know it is). For those of you who don't know what …

Member Avatar for yilmazhuseyin
0
263
Member Avatar for jamojo

Hello Everyone, Can you give me some idea on how to connect to an https site which requires user name and password? I would like to download or upload a file to the https using Java. Is this possible? Any suggestions are greatly appreciated. Looking forward to your replies. Thanks …

Member Avatar for jamojo
0
111

The End.