35,618 Topics

Member Avatar for
Member Avatar for gaurav_kl

Hi all, I have a task in which I have data of different classes.And I have to perform K-means clustering on each class to reach the right combination of clusters. Can somebody give any link of code or help for this. Thanks Gaurav

Member Avatar for kvprajapati
0
32
Member Avatar for sarie

hi everybody.... i need to make an application to display images in j2me form. i can display those images but the problem is i have to display it in a row... from right to left until all the images has displayed.. and if the screen is'nt enough it will display …

Member Avatar for peter_budo
0
71
Member Avatar for peggie1990

Hey, I really need you guys help as I had been searching info on displaying blob images from database for weeks:( I tried to add in the code that i think would display however it only display the path instead if the image. [CODE]<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ …

Member Avatar for peggie1990
0
1K
Member Avatar for ThinkFree

Please help me in setting apache-tomcat-6.0.20 on linux. When I use the code [QUOTE]sh startup.sh[/QUOTE] I see this. [QUOTE] Using CATALINA_BASE: /home/apinder/apache-tomcat-6.0.20-src Using CATALINA_HOME: /home/apinder/apache-tomcat-6.0.20-src Using CATALINA_TMPDIR: /home/apinder/apache-tomcat-6.0.20-src/temp Using JRE_HOME: /usr/java/jdk1.6.0_14/[/QUOTE] No error message is shown here, but if I open [url]http://localhost:8080/[/url] tomcat default page doesn't open. I haven't changed …

Member Avatar for ThinkFree
0
126
Member Avatar for anusha88

i want to create a moving graph whose y value progresses with the slider value.i am confused whether to implement it using JFreechart.Is there a simpler method? How should i go about doing this?

Member Avatar for di2daer
0
191
Member Avatar for MonicaClare

hi.. this is my new program .. i want a fix or constant answer like, when the answer in: Student Name: Monica Clare then it proceed to another question.. but when.. Student Name: blah blah then. it shown error_message that it is invalid answer,, .. please help me debugging this …

Member Avatar for masijade
0
151
Member Avatar for RobRob666

I already have 3 Javascripts working that I trigger within my <td>'s like this: [code]<td onMouseOver="mover(this)" onMouseOut="mout(this)" onClick="mclick('test.html')">Test Button</td>[/code] I have now coded up 1 Javascript function to handle all 3 events (using if statements). But how do I trigger the calling of that function inside my <td>'s? I was …

Member Avatar for RobRob666
0
2K
Member Avatar for bringoutthejams

I saw a similar problem to this, but couldn't understand the solution the guy used. I have to sort this tunes program in order by title. It seems like there is a problem with my sort algorithm, but I cannot figure it out. Here are the classes. [code] public class …

Member Avatar for JamesCherrill
0
126
Member Avatar for manfosys

Hello Sir /Mam, Im starting learner in java.I used db queries like insert ,delete,update only.I want to learn how to use store procedure ,triggers,function with java.can u give some guidence refer some good website to learn db with java and books,tutorials. Plz help me to learn those things.Hopefully i expect …

Member Avatar for masijade
0
75
Member Avatar for sridarravi

I have a small question. I am using a JFileChooser in one of my projects and I want to make it so that I cannot edit the file name. Is there any way to do this?

Member Avatar for JamesCherrill
0
101
Member Avatar for b_pallu

plz tell me something abt industrial pro developments in C++/ JAVA i m a diploma student

0
59
Member Avatar for kakakon

Hello, I have a Tree that consists of TreeNodes, where TreeNode is public class TreeNode { private String label = null; private String data = null; private TreeNode parent = null; private Vector <TreeNode> children = null; } I also have a HashMap <String, TreeNode> that keeps the label of …

Member Avatar for JamesCherrill
0
2K
Member Avatar for jeff_00789

Hi, i want to know how to extract values from drop down box for processing in next field. In my file first drop down has list of countries taken from a database. I want to show location of that particular country in the other dropdown. The list of all locations …

Member Avatar for manfosys
0
182
Member Avatar for java_programmer
Member Avatar for ThinkFree

Want to create a small project for online exam using jsp. As of now I am unable to find, how can I > Get random questions from mysql database > Put the timer, so that the exam result is shown automatically after the specified time for exam is over More …

Member Avatar for ThinkFree
0
364
Member Avatar for akulkarni

i am not getting the desired output(the contents in a text file which i have saved in the jdk bin here is my code i got. Also what is return in the try catch block i wanna know. it says file not found [code] import java.io.*; class FileDemo { public …

Member Avatar for akulkarni
0
262
Member Avatar for ravi_kos

I want to create a forum for the college. Could anyone tell me the [U]suitable platform or software[/U] that supports forum creation.

Member Avatar for kvprajapati
0
101
Member Avatar for swathirao

I have installed on Linux Tomcat 5.5. I have no problem accessing jsp pages. However, I have problem accessing a test hellow world servlet. I tried the following url on my local tomcat on win xp and it worked. [url]http://localhost:8080/hw[/url] Attached is a copy of my web.xml file I used …

Member Avatar for ayaz786
0
105
Member Avatar for smictague
Member Avatar for Demicks
Member Avatar for Web_Sailor

I was trying to read a file and print it to the JTextArea in other class. My program complies but its not printing the file content in JTextArea. Here is my MouselIstener Code [CODE]class MySaveMouseListener extends MouseAdapter { MyClass1 myobj = new MyClass1(); public javax.swing.JTextField myjtext = myobj.getTextField(); public String …

Member Avatar for JamesCherrill
0
147
Member Avatar for farahshafilla

my code : ********uploadImage.jsp************* [code=JSP]<form action="UploadImage" method="post" enctype="multipart/form-data" name="productForm" id="productForm"><br><br> <table width="400px" align="center" border=0 style="background-color:ffeeff;"> <tr> <td align="center" colspan=2 style="font-weight:bold;font-size:20pt;"> Image Details</td>[/code] ******UploadImage.java****** [code=Java]import java.io.*; import java.sql.*; import java.util.*; import java.util.regex.*; import org.apache.commons.fileupload.servlet.ServletFileUpload; import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.*; import javax.servlet.*; import javax.servlet.http.*; public class UploadImage extends HttpServlet { @Override public void …

Member Avatar for kvprajapati
0
2K
Member Avatar for alsoumhi

Hi all , I have a servlet program, this program will get a user name and password from a web page. I need to check the user name and passsword entered by user with a data file has all user names and passwords. the thing is I know how to …

Member Avatar for alsoumhi
0
88
Member Avatar for prasannakarthik

Hi, I like to add textbox based on the user selection in drop down box,I have used an function to do that but its not workin,also i like to append the selected value(from drop down) to the input from the text box. Cheers! lpk

Member Avatar for CoSIS1
0
3K
Member Avatar for nipa.pillai

I want to create a tabbed menu using jsp. Any example would be helpful so that i can start working on it.

Member Avatar for CoSIS1
0
337
Member Avatar for Ismael_Jay

[code] package awt; import java.awt.*; public class GraphicPanel extends Panel { GraphicPanel() { setBackground(Color.black); } public void paint(Graphics g) { g.setColor(new Color(0,255,0)); g.setFont(new Font("Helvetical", Font.PLAIN,14)); g.drawString("Pusyy Cat Program!", 300, 100); g.drawOval(150,200,50,50); g.drawOval(200,200,30,30); g.setColor(new Color(1.0f,0,0)); g.fillRect(30,100,150,10); } public static void main(String[] args) { Frame f = new Frame("Pussy Cat Window"); GraphicPanel …

Member Avatar for Ismael_Jay
0
88
Member Avatar for nishant52

I'm retrieving a list of names from MySql database in Java using JDBC with the help of CachedRowSet. After retrieving the list I'm appending a counter value to every name. Finally I'm updating the modified names in the database. I'm using: MySql: 5.1 Connector/J 5.1.7 JRE 1.6 Win Xp SP3 …

Member Avatar for nishant52
0
408
Member Avatar for nittynotty

Hi!!! am a cse student How to create packages in java? i used da "package" keyword and created a class in dat file . It gets compiled , but while execution i get dis error: "Exception in thread "main" java.lang.NoClassDefFoundError:" if i try to execute it by givin "java packagename.classname" …

Member Avatar for nittynotty
0
100
Member Avatar for purijatin

can you pl help me out on this problem ..i have spent a lot of time on this question but iam unable to find the answer What if i want to write a class in such a way that only one instance of it can be created , and anyone …

Member Avatar for JamesCherrill
0
2K
Member Avatar for punnakl

Here there is a requirement in my project, like sending a automatic mail to a particular person,at particular time. for examples: If there is an expiry date for a customer's account, a week before the expiry date a mail should be send to the customer as a remainder. But, at …

Member Avatar for GökhanBarış
0
103

The End.