35,618 Topics
![]() | |
Hi everyone, PLease help me out with permuation cipher, an example given to me shows a plain text as abcdef...up to z and ciphered text as fghijabcdevwxyzklmnopqrstu.. Im seeing some sort of a pattern with this text,Can you guys give an example java code to cipher of decipher using permutation … | |
can anyone suggst a link where i cud find the list of various packages and classes already defined in java library | |
I want a java program of ceaser cipher encryption and decryption technique. in which you have to take input(plain text) from input.txt file and encrypt it with program and save the output(cipher text) in output.txt file. again you have to take input from output(Cipher text) and apply decryption program and … | |
Hi, Im trying to create three pages for Inserting, deleting or viewing database contents. On my main or home page the database contents are shown. I want to create a "Delete" hyperlink in the last column of every row so that the specific record is deleted on clicking that. I … | |
Actually i m doing constructor implementation.But i am new to java, can any tell what going on from line 11 to 14.I am having problem in understanding the bold in line 12 and line 13.Plz help..... 1. public class Animal { 2. String name; 3. Animal(String name) { 4. this.name … | |
[CODE]import java.awt.*; import java.awt.event.*; import java.awt.image.*; import java.io.*; import java.sql.*; public class RefHistTest { public static void main(String args[]) { int iw2, ih2; Image img2; int pixels2[]; double[] hist2 = new double[256]; int y; ResultSet r; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection c=DriverManager.getConnection("jdbc:odbc:CBIRS"); Statement st=c.createStatement(); r=st.executeQuery("select Images from ImageTable"); byte[] bytes=null; while(r.next()) … | |
hi friends please tell me anlog with code how to upload the excel file | |
can anyone provide with java code for performing text similarity calculation using cosine similarity. it is a part of my project.. the context is a pair of records P12 = {r1,r2} , where r1 and r2 can come from same or different data sources, as a similarity vector V12 = … | |
Hello, I am a new bee in developing large java projects so need your help in this regard. As a part of our project we need to upload a image to a site(say picasa) or any photo sharing site. I would like to know whether it is possible to retrieve … | |
The timer is not working perfectly. it gives a very off estimate of the elapsedtime each time. Please Help [code] import javax.swing.*; import javax.swing.border.*; import java.awt.*; import java.awt.event.*; import java.util.Random; public class JumpingPanel extends JFrame{ public static final int BUTTON_WIDTH = 45; public static final int BUTTON_HEIGHT = 45; static … | |
[TEX]. . . i need some tips on programming java with looping structure, tnx . . .[/TEX] | |
Can someone help me solve this! thx Conditional structure , include also the console result. 1. Using switch case design and write a java application that takes as input a single letter and displays the corresponding digit on a telephone. The letters and digits on a telephone are grouped this … | |
Hello Members, I am trying to multiply two matrices using multithreading. I get a NullPointerException on the line that is commented in Bold. Following is the entire code. Any input is much appreciated. [CODE]import java.lang.*; import java.io.*; public class Matrix_Mult extends Thread { static int a[][]; static int b[][]; static … | |
Hi everyone I have a project that I have created in Netbeans. I would like to deploy it as a JAR file, so i have "build"'ed it and I have a jar which runs nicely in the /dist folder. Problem is, the program in question requires reading from and writing … | |
I have 22 errors for cannot find symbol.....Please help! [CODE] import javax.swing.*; //needed for swing classes import java.awt.event.*; // needed for the action listener import java.awt.*; //needed for the boader layout class import java.io.*; //need for the file and IOException import java.util.Scanner; // needed for the scanner class import java.util.List; … | |
Hello, everyone! I am unable to start a OSGI bundle. I'm using Apache Felix and this is my bundle: 1) Activator.java [code=java] package Example2; import java.util.Properties; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import Example2.Service.IDictionaryService; /** * This is the bundle. * @author Pierre-Alexandre * */ public class Activator implements BundleActivator { public … | |
Just a begginner question Object x = new Object(); System.out.println(x); everytime i get sthg. 16:18:35,222 INFO [STDOUT] --java.lang.Object@adfaec 16:19:26,937 INFO [STDOUT] --java.lang.Object@181db77 16:21:34,538 INFO [STDOUT] --java.lang.Object@14e5e21 what is the thing being printed? the object memory place? please help a beginner | |
I designed to look like that picture click here: [url]http://i195.photobucket.com/albums/z285/boiishuvo/eg.jpg[/url] But I got two errors shown below: Pizza.java:150: cannot find symbol symbol : constructor Labels(java.lang.String) location: class Labels localJPanel5.add("North", new Labels("PIZZA")); ^ Pizza.java:187: cannot find symbol symbol : constructor Labels(java.lang.String) location: class Labels localJPanel12.add(new Labels("PRICE")); ^ Can anyone fix that … | |
Am developing an accounting system for my end year project. I intend it to be able to generate weekly report for sales. Is there any inbuilt java fuction for this@? | |
When we use File.getAbsolutePath() we get the path of file as C:\BlahBlah\Blah.txt. But I want the path name as C:/BlahBlah/Blah.txt i.e instead of backward slash "\" i want a forward slash "/" in the path. How to get this. I tried to create a parsefile method. [CODE] public String parsePath(String … | |
Hi, I wanted to created a java file base on the given javadoc below. I am currently stuck on the embezzle method. First, i don't understand what's the "BankAccount" in 'public void embezzle(BankAccount other)' do or is. Second, How can i add funds from the other account to the other … | |
[B]Html1 code:[/B] [code=html]<html> <HEAD> <title> Employee Login Page</title> <BODY> <H1> EMPLOYEE LOGIN PAGE </H1> Enter User name: <input type=text > Enter password: <input type =password> Enter Employee id: <input type=text > <form method="Post" action="http://localhost:8080/sonu1/ServletOne"> <input type=submit value=Login!> </form> </body> </html>[/code] [B]ServletOne.java code:[/B] [code=java]import java.sql.*; import java.io.IOException; import javax.servlet.*; import javax.servlet.http.HttpServlet; … | |
[code]<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@ page import="java.sql.*;" %> <%@ page import="java.io.*;" %>> <%Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Database Page</title> </head> <body background="AC.jpg"> <a href="home.jsp"><font color="white"size="3"><b>Back to Home</b></font></a> <% try { String a=request.getParameter("Book_Id"); String b=request.getParameter("Book Name"); String c=request.getParameter("Author name"); String d=request.getParameter("Publisher name"); String e=request.getParameter("Department"); String f=request.getParameter("Edition"); String g=request.getParameter("no_of_copy"); Connection … | |
please any professional out there can suggest me with project ideas . . for my final year project work . . plz. .plz. . | |
I'm new to java , i've tried to make simple jdbc application . I can store a value in database and also can retrieve it but only in console window. i've got the variable String name in package db, and what should i do to display the value of that … | |
I am getting the following errors when I try to compile this: thoughts? _______________________________________________________________________ BankAccount.java:11: <identifier> expected public BankAccount(String, double, double) ^ BankAccount.java:25: ')' expected public abstract void updateBalance(); ^ 2 errors ___________________________________________________________________ [CODE] protected abstract class BankAccount { public BankAccount(String, double, double) { String accountID; double balance; double interest; … | |
In the cose below I am fetching & displaying result set in a table format. This table also contains 2 buttons Udate & Delete. Following are the issues: 1. When user clicks update, I want to send E_ID to Update.jsp. I want to know, how to send Only E_ID without … | |
hi guys can i ask a favor?? do you have a EBooks for java?? can i ask it from you??? if you dont mind.... i know some syntax for the codes but i want to gain more knowledge through reading some EBooks and also practicing how to construct codes and … | |
I am wanting to reference an object of type JTextField and convert it to JFormattedTextField. Is it possible to convert to a subclass? I tried coding something to the affect of [CODE]ClassA.object = new JFormattedTextField(); ClassA.object.setValue(new Integer(number)); [/CODE] But no success. Any suggestions? |
The End.