35,618 Topics
![]() | |
Hi My problem is that , The Jframe window does not remember it's position after minimizing ....suppose I minimize at co'ordiates (45,89)..but after maximizing it again open at (37,28)..means at different co-ordinates ..i want that jframe should open at the same position...after maximizing..like remeber it's position.. please help | |
Need some help regarding this program. I had done a similar program having output as:- S A I F E E S A I F E S A I F S A I S A S Its output is as follows:- [code] class Name { public static void main(String args[]) … | |
Hello all, can anyone tell me how to make a JFrame fixed, by not allowing user to drag it somewhere else in the window? like doking the JFrame in the screen, also disallow user to resize it. Thanks. | |
Hi, I'm just a little confused as to what to we call a reference. [CODE]A ob=new B();[/CODE] Here B is a subclass of A. Should we say "ob is a reference of A which has been assigned an object of B" or "ob is a variable of A which has … | |
Actually ,i made one project for web based application,but now i have to use for desktop application.and also i don't want to show my code to customer to whom i will give my project.While running WAR file in tomcat ,it automatically makes source code file,please help me out. In advance … | |
i am engineering student developing project on shopping cart...how to implement cart using jsp cookies..when user clicks on one item and add to the cart and next if he wishes to go to next page and add another item to cart, then both items value should be added in one … | |
Hi there, i want to redirect from the SERVLET page to an HTML page after 5 seconds. Please help..!! | |
hi frnds m doing project on tracking keyboard,mouse & URL activity. which programming language is much easier to implement this project? Is Java better or VC++ is more better option? plzzzzz suggest me as soon as possible. | |
i just show the code [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NewJFrame1.java * * Created on Jun 26, 2010, 9:54:49 PM */ import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * * @author THKFC … | |
[code=java]import java.io.*; import java.util.Scanner; public class FloatList { public void getList(Scanner inFile) throws IOException { float item; String data; while (inFile.hasNextFloat()) { values[numItems] = inFile.nextFloat(); numItems++; } } public void PrintList() { int index; for (index = 0; index < numItems; index++) System.out.println(values[index]); } public FloatList(int maxItems) { numItems = … | |
hello everyone i have been trying to run my ejb-jsp code using j2ee server and have connceted to oracle using sun.jdbc.odbc.jdbcodbc bridge driver. but i am encountering this particular problem again and again and no data is inserted into database Error java.sql.SQLException: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed … | |
Hellow everyone, I have this Java Method below. I used a link which requires authentication and when I ran this in Eclipse, it worked well. validURL("http://localhost/context/myfile.pdf"); However, when I deployed this in Weblogic, the method returns an error which was " 401Unauthorized". I tried this link but did not work: … | |
Hey, I'm working through Objects First with Java and using bluej. I've just gotten to where I call other classes and methods, and sometimes I can get it to work. Other times, like the example below, I'm completely suck. I've tried every combination I can think of to get the … | |
Hi experts, I would ask you how to create dynamic image in JSP along with other content | |
Hi every Body ! I'm so happy that become members Daniweb and thanks for usefull subject's friends May be help me ?!! I want program code 8 puzzle with greedy search algorithm with Java Thanks[code][/code] | |
How to build a [B]case sensitive[/B] bubble sort and selection sort for a 2 dim array Here is what i currently have but it does not work properly [CODE]static void bubblesort(String[][] Array){ String datae = null; String temps; String tempse; for(int x=1;x<i;x++) { for(int y=0;y<i-x;y++) { if(Array[y][1].compareTo(Array[y+1][1])>0) { temps=Array[y][1]; Array[y][1]=Array[y+1][1]; … | |
I am santhosh martin, I am mca final year student, our 6th is projects, any body help me to select a good topic of system side projets(using J2EE) | |
hello all, i m a final year student doing software engineering. now its time for me to submit idea for my final project but i m unable to get any idea which is gud and still easy to implement, as i m interested in doing solo project. i have almost … | |
hey there, I have the following code: [CODE] String[][] candidates = new String[4][3]; for(int i = 0; i!=4; i++){ for(int j = 0; j!=3; j++){ switch (j){ case 0: {candidates[i][j] = JOptionPane.showInputDialog("Give name of candidate " + i);} case 1: {candidates[i][j] = JOptionPane.showInputDialog("Give address of candidate " + i);} case … | |
I have this javascript that is working great in Firefox but will not load in IE. Can anyone help me please? <body OnLoad="rotateImage('rImage', 'link')"> <center> <a id="rLink" style="color:white"><img id="rImage" width=198 height=150> </a></center> </body> <SCRIPT LANGUAGE="JavaScript"> var interval = 5; // delay between rotating images (in seconds) var random_display = 0; … | |
Simple package loader to load all packages contents from directory-based or from JAR-compressed class path entry. | |
Hello, am new to the real programming but i have very much interest. As a first real java project am trying to develop a P2P network application which can be used for chatting, but the problem is: Should it load as a server.and if so how do i get it … | |
Please, someone, help me out to check the errors in this code. What is the proble? I'm new to Java applet and I'm using notepad. I copied this code from a site to test but it is not working with me in the notepad and command prompt. import java.applet.*; import … | |
[B] Hi, i written a code for delete particular file which it was saved in some folder "temp" which it was shown in the below. [CODE] try{ java.io.File objFile = new java.io.File("F:/temp/FirstPdf-022.pdf"); objFile.delete(); } catch(Exception e) { } [/CODE] In the above code, i delete the file "FirstPdf-022.pdf". But i … | |
[B] Hi guys, [CODE] if(IsColor.equals("Y")) cell.setBackgroundColor(new Color(240,240,255)); table.addCell(cell); [/CODE] This [U]cell.setBackgroundColor(new Color(240,240,255));[/U] is for set back ground color as a blue. I need Green color. So, is there any values for green. Please contribute your advice... [/B] | |
Hi, I have been wondering about how implementation/extension works : Let me give you an example and then ask you my question : [CODE] public abstract interface A_int {} public abstract interface B_int {} public class A implements A_int, B_int {} public class B extends A implements A_int [/CODE] okay … | |
Hi I have a simple jsp page in which there is an ajax call on an input string which returns the upper case of the string in json. This is working for the first time but not on successive requests. I am using the GET method. Why is it not … | |
Can somebody help me to read a csv file into an arraylist in JSP. that source file can be browse anywhere in the pc. | |
Helps to filter objects by interfaces and annotations their contains/implements with respect to parental relations. | |
I'm doing a project on geometric hashing. Of which i am unsure about the basis generation (meaning, finding only a pair coordinates that coincide with the X-axis) from all the invariant points in the coordinate file of a given 2D model which would have been hashed already. This case being, … |
The End.