36,051 Topics

Member Avatar for
Member Avatar for kring08

how can i create a magic square program using jcreator?? pls help me..

0
44
Member Avatar for SCoder1

Hi, I've been working on this project off and on. I am very close to completing in. What it is is a program that calculates temperature from fahrenheit - centigrade - Kelvin. Please feel free to help. Here's my code sorry for the length of it: [CODE]//-- Shaun D. -- …

Member Avatar for thekashyap
0
101
Member Avatar for isuruj

I need to merge two files using cmd argument. So can somebody tell me what is the command for that?

Member Avatar for musthafa.aj
0
114
Member Avatar for skwatamkar

how can insert an image to a ms-access database with using a java swing form and vice versa

Member Avatar for musthafa.aj
0
264
Member Avatar for SORelena

Hello guys I write a program and of the functions that write function calculates the speed of the CPU of a computer Got a problem here and I did not know how to write it?? Can you help me ...? Thank you ^ _ ^

Member Avatar for musthafa.aj
0
151
Member Avatar for TexITTech

I need some assistance with three things in my code. My problems are: Next and Previous buttons do not loop through the array, instead they throw exception errors when they get to the end of the array. Second my image that is required does not show up, my instructor said …

Member Avatar for TexITTech
0
126
Member Avatar for bobscrazy

My problem is getting snum in the main class to transfer over to the sub class, so that the snum in that class = snum from the main class The code is; [code] package workstation; import java.util.Random; import javax.swing.*; public class Main { public static void main(String[] args) { int …

Member Avatar for hafizullah
0
104
Member Avatar for aladar04

[CODE]/*manimbo_mp4.java*/ import java.io.*; public class manimbo_mp4{ public static void main (String[]args) throws IOException{ BufferedReader br=new BufferedReader (new InputStreamReader (System.in)); /*initializing STRING FORMAT variables *smmort holds monthly mortgage amount *spaym holds mortgage payment amount *sremb holds principal amount*/ String smmort,spaym,sremb; /*initializing LONG FORMAT variables *lmmort holds monthly mortgage amount *lpaym holds …

Member Avatar for aladar04
0
400
Member Avatar for pac-man

Hi guys, I found this thread ([url]http://www.daniweb.com/forums/thread19814.html[/url]) that gave me guidance on this topic but I wanted to further develop my understanding. I understand that in Java, everything 'passes by value', even references. That is, a copy of the value is passed to the parameter so the original value is …

Member Avatar for JamesCherrill
0
189
Member Avatar for jemz

plz help me how to make this code that accepts 10 integers and display the largest.thanks in advance ...hoping for your positive responds

Member Avatar for jemz
0
104
Member Avatar for Clawsy

Hi, I have an application with one JFrame and two modeless JDialogs. When I mimimize the JFrame, the dialogs are still there, not minimized. So i need to hide them. I can hide them with WindowDeactivated event which runs one time when the JFrame is minimized but when I want …

Member Avatar for Clawsy
0
1K
Member Avatar for stocean

i've got a 404 error when i tried to call a servlet it said Not Found The requested URL /Login was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument handle the request. please help me solve this problem Thank …

Member Avatar for stocean
0
88
Member Avatar for gingerfish

How to make so the new and old JOGL packages both work? :?: thanks :icon_cheesygrin:

0
85
Member Avatar for kevndcks

[CODE]private JButton getBtnSave() { //if(btnSave == null) { btnSave = new JButton(); btnSave.setToolTipText("Save scan output"); btnSave.setText("Save"); btnSave.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { try { String lines[] = taOutput.getText().split("\\n"); for(int i = 0; i < lines.length; i++) { System.out.println("Value: " + i); BufferedWriter bw = new BufferedWriter(new FileWriter("audits.txt")); String …

Member Avatar for javaAddict
0
424
Member Avatar for cwarn23

Hi and I have made a simple Java function/method and for some reason it is not working. It doesn't show errors. It doesn't display results. It returns nothing and forces other things around it to do nothing. Below is my script. [CODE]private String get_url(String address) { String result=""; try { …

Member Avatar for padtes
0
126
Member Avatar for polisetty

i tried to copy the result of the java compilation to the text file using javac zz.java > compile.txt It works if the program has no errors and it did not work if it have errors

Member Avatar for parry_kulk
0
105
Member Avatar for musthafa.aj

hello! i written a program..it has for loop and calling thread.sleep for every increment of for loop.. at the same time i initially called Swing Jtable which shows status of every for loop increment... when i executing main program swing table appearing but no content filled for every execution ... …

Member Avatar for rahul8590
0
103
Member Avatar for isuruj

I need to checkout from svn repository using cruise control. Without using ANT target for checkout I need to do it by the config.xml file. So can somebody send me the code for that.

0
50
Member Avatar for Flufferman

Hi, I'm having troubles with my JMenuItems and Jframe. I want that when you click on a JMenuItem the previous JPanel dissapears and the one you clicked for at the JMenuItem will appear. Now, I don't really know how to accomplish this. Someone said to me I should use the …

Member Avatar for gunjannigam
0
85
Member Avatar for teen-omar

Hey guys, I'm quite new to Java and I usually try to get things done on my own, but it seems like I'm just sooo lost now. Would really appreciate any help you guys can give me So here's the problem: I need my program to read a text file …

Member Avatar for javaAddict
0
134
Member Avatar for sushantp

People who have worked in JTAPI applications or more so with Cisco JTAPI must be aware of the makecall.java program. Well I am new to JTAPI and what better to start off then this example provided with the cisco SDK. Well I am using CCM 1.4 and its working perfectly …

Member Avatar for knowledgelover
0
269
Member Avatar for JBeginer7891

Hi everyone please help on this: I am developping a program in java, but I need the user to enter his/her details if they are compatible with the values in a database table he/she get access to the main interface. here is what I've done so far [CODE]import java.awt.BorderLayout; import …

Member Avatar for JBeginer7891
0
129
Member Avatar for polisetty

I tried to copy the content of one folder to another using the batch file. The below is the example. copy *.class c:\tomcat 5.5\webapps\serv\WEB-INF\classes In this, *.class is source which is correct c:\tomcat is the second arguement 5.5\webapps\serv\WEB-INF\classes as 3rd arg the 2nd ,3 rd arg are wrong how to …

Member Avatar for musthafa.aj
0
82
Member Avatar for basketball4567

I do realize that this is ugly code but i cant seem to have this program output "Your old". I dont know why my if statement is not working. Thanks [CODE]/* This class is to be used as new readline method */ import java.io.*; class ReadInput { public static void …

Member Avatar for darkagn
0
122
Member Avatar for eeeraser

First of all hi guys, sorry for not being that much active. Lets get in the subject: I'm planning to make a big application that will help me in my job. I need first to define the requirements of my application a bit more: * It will be UI Web-based. …

Member Avatar for Stefano Mtangoo
0
121
Member Avatar for billybobc

Hi all, I was hoping somebody might be able to help me out w/ a pretty basic question. I'm creating a web app and trying to use the MVC pattern where I have a controller servlet that intercepts requests, does some work (like say reading from a database), possibly setting …

Member Avatar for billybobc
0
139
Member Avatar for rahul8590

Hello everyone , i am trying to create a multi threaded web server, i did the basic part (socket programming ) successfully . Ref: [URL="http://www.daniweb.com/code/snippet217312.html"]http://www.daniweb.com/code/snippet217312.html[/URL] now , the next step , i am trying to establish it by making it multi thread or repetetive polling for client request (yet to …

0
116
Member Avatar for M.Khan

i want to make tabpanel in which the tabs are in two rows...dnt require them in a single row...cuz the no.of tabs are more. can any1 help me in doign that in jsp??

Member Avatar for masijade
0
41
Member Avatar for musthafa.aj

hello! i want to create jtable dynamically... i have two class one is add records to Data Base another one is show records list that were inserted... how do pass each records in JTable without replacing existing on... i need to grow the table every time the records success fully …

Member Avatar for javaAddict
0
116
Member Avatar for Genni

import java.awt.*; import java.lang.Math; public final class mastermind extends java.applet.Applet { int i,j,k; int pointX,pointY,pickX=-1,pickY=-1,dragX=-1,dragY=-1; int dotMap[],pointMap[],secretCol[]; static int shadX[]={0,8,142,142,136,136,0}, shadY[]={242,246,246,10,0,242,242}; int pickedCol=0,changedCol; int pickedDot,changedGrfx,currentRow; boolean drawBoard=true,gameGoing=false; boolean pickable[]={true,true,true,true,false,false}; boolean finished; Color lights[],darks[],darkGray; Image buffer,peg; Graphics bufg,pegg; Math m; public void init() { dotMap = new int[32]; // Holds colored …

Member Avatar for javaAddict
0
99
Member Avatar for l_03

hello guyzz,,i really need your help,,we are about to make a mastermind game in java,,i already have the code,,,but it has no main method..and i dont know how to implement the main,,help guyzzz,,,we are about to pass it next week.... import java.awt.*; import java.lang.Math; public final class mastermind extends java.applet.Applet …

Member Avatar for Genni
0
251
Member Avatar for jaytheguru

Dear all, No matter what I do, I can't seem to be able to make the JSP with Database work. How can I connect to an Oracle database which is hosted in our University, over a JSP page. I have a project where we need to connect to Oracle database …

Member Avatar for parry_kulk
0
384
Member Avatar for musthafa.aj

hi ! Happy new Year!!!! I struggling with open IE browser within swing .... like frame content pane showing IE... any help please......

Member Avatar for musthafa.aj
0
126
Member Avatar for musthafa.aj

hello! i want to convert my jar application into exe.. because i need seal all class files extracting from jar... any freeware available for this.. i found something that are not free... thank you!

Member Avatar for kvprajapati
0
282
Member Avatar for corey.alexander

I am having a problem using both ActionListener and KeyListener in the same class that extends JPanel for a basic game i am working on. For the KeyListener only the KeyPressed class is implemented and is implemented as such. [code=java] public void keyPressed(KeyEvent e) { switch(e.getKeyCode()){ case 37:{ grid.moveSelectedWest(); break; …

0
183
Member Avatar for nyny11211

I'm hoping someone out there can help me. i have to use a 2nd class to create a JMenuBar to attach to a JFrame i get an error :49: incompatible types found : javax.swing.JFrame required: java.lang.String return aTestFrame; (i have also tried something else and got a static/non static error) …

Member Avatar for gunjannigam
0
149
Member Avatar for adams161

I have a chat window, JTextBox i think, and you hit enter and it invokes an action listener, to send text. It generally works, but now and then i hit enter, and nothing. I have to hit enter again and typically it sends text. the focus is there for typing, …

Member Avatar for adams161
0
103
Member Avatar for Zaney

:cry: I have searched forever, need help, I am an older person, who ejoys to play games, for some reason one of the sites I was using I can no longer get into. I get the java applet failed, and applet not inited, I have checked in internet options and …

Member Avatar for rocker2686
0
174
Member Avatar for sindhu1

hi friends i am doing project on "design and implementation of misused intrusion detection system by using autonomous and mobile agents " if u have aglet code for this one , plz send it to me. It helps me a lot to go further work. i hope u will do …

Member Avatar for masijade
0
51
Member Avatar for seriousgeek

Hi all.. AJAX is famous for its dynamic displaying feature(forgive me if the desc. aint right, i just wanted you all to get the point). I want to do a non-web based project which will implement this feature. I've read that AJAX can be used only for web applications. Is …

Member Avatar for masijade
0
91
Member Avatar for ramjeev

How to kill the running .jar file from another jar in java? There are two jars running A.jar & B.jar Both jars are running. I want to kill B.jar from A.jar. Pls let me know, if any one knows. Thanks in advance.

Member Avatar for valatharv
0
4K
Member Avatar for semsem-6321

Hi all, it's my first post. i'm using tomcat 6 and put under it website done by jasper . this website contain xml.html ang jsp pages .the jsp pages needed to be encrypted, i try using ant but i'm fail may be i don't use it right. could you please …

Member Avatar for c_blimey
0
101
Member Avatar for adams161

I got a basic telnet socket connection working in an applet. YOu can log onto a server and type and read text. My issue is to show the servers chat i'm using a JTextArea. now this may be the best to use i dont know, maybe i just need to …

Member Avatar for adams161
0
141
Member Avatar for shani1986rox

Hi, thank you for havin me in the forum... I'm kinda newbie to java... This is the code that I wrote for heapsort, but it seems like there is problem, can you pls pls help.. coz I'v been workin on this for a whole day, and i'v to submit it …

Member Avatar for adams161
0
117
Member Avatar for araaraa

[code] <?php include "config.php"; include "header.php"; echo "<tr>"; echo "<td width=\"250\" valign=\"top\">"; include "left.php"; echo "</td>"; echo "<td width=\"4\" bgcolor=\"#CCCCCC\">&nbsp;</td>"; echo "<td width=\"550\" height=\"320\" align=\"left\" valign=\"top\"><h3 align=\"left\" class=\"pagesect judul_besar\"> &nbsp;<span class=\"menu1\">&nbsp;&nbsp;Sistem Pakar Gangguan Perkembangan pada Anak</span></h3>"; echo "<p class=\"pagesect judul_besar\">"; echo "<blockquote>"; if(!pasien()) { echo "<div align=\"center\"><span class=menu>Access Denied !!!</span></div>"; …

Member Avatar for javaAddict
0
100
Member Avatar for Crushyerbones

Hello, is there an acceptable way to do the following? [CODE=java]public CriarEquipamentoGUI (boolean showWindow) { if !(showWindow) dosomething(); return; else initComponents(); }[/CODE] Currently the return statement completly screws up the window.

Member Avatar for Crushyerbones
0
83
Member Avatar for yramu

Hi all, Here i pasted some code, In that i added to images to container but it is displaying the last one only, and one more thing is how to set the boundaries for jbutton, TextArea and Image. I need the code of count down timer. Thanks in Advance............... [code]import …

0
45
Member Avatar for isuruj

If somebody knows how to merge two SVNs plese tell me. I need to merge the code in local svn into client's svn. Actually there are 2 SVN servers.

0
52
Member Avatar for musthafa.aj

Can anybody giving or suggest java solution to fill form in website automatically...

0
74
Member Avatar for jadeite100

Hi: I took a course on Spring 2.56 from Interface21 and the labs I got get it to work during the training. But when I tried it at home it doesn't work. I go to the following url and it's find. [url]http://localhost:8080/accounts/[/url] It display "This is my JSP page. " …

Member Avatar for phpbeginners
0
144

The End.