35,618 Topics
![]() | |
Please suggest how thius can be achieved and best approach to follow. a) Suppose server1 have application which is started using "java -[B]Xmx512M[/B] -jar <[B]app1[/B]>.jar" from command prompt from particular directory example C:\proj\application1> C:\proj\application1> Based on certain condition I want to stop this <app1>.jar on server1 and b) Start app.jar … | |
hi. .. im asking for a code of the mastermind game. . . wer d user guess the 3-color pattern randomized by the pc. . .. the user have only 6 guesses. . .. if he guess a color in d ryt position or a color in d wrong position … | |
Hi, I am new to java programming, but i have this problem: I open an image, i put ir in array 2 dimensional, teh idea is like this array[count][0]=x; array[count][1]=y array[count][2]=red; array[count][3]=green; array[count][4]=blue; array[count][5]=alpha; I do so becaude i need to work with colors, but later on i want to … | |
//i have written this code in package p1:: //address of this file is:::C:\p1 package p1; public class balance{ String name; double bal; public balance(String n,double b) { name=n; bal=b; } } //and now i want to import this file in this code //address of this file is:::C:\Program Files\Java\jdk1.6.0_11\bin import p1.*; … | |
I have compiled a java program in suse10 without a problem but it comes to running it i encountered this statement :Exception in Thread "main" java.lang.No such method Error :main | |
hi i have created a page using JSP called Login Page containing Username & Password As its Attributes My problem is that I am not able to connect it with My SQL Database can any body help me regardind connection code | |
GIVEN: patient,doctor,descriptions of doctor,does+medicines,visits,invoice,invoice detail. 1-recognize the given in a table 2-desighn the organized table 3-determine the primary and secondary key 4-describe | |
I am having two combo box value say List 1 and List 2 And user can move the items from List 1 to List 2 and vice versa. After completing the "Move" operation the user would like to "SAVE" these changes. At this point I need to have all the … | |
hi, i'm working on a little project i made for myself, i want to create a menu with 4 choices and i want to use an array cause im struggling to understand how write them, now ive started to do it but i've lost myself in the code and don't … | |
i want to set some initial level parameters before calling main method... how to do... within main i can set it first but it have no effects... | |
Not sure if this is the right place to put this as it's my first post, so if it's not I apologize. I'm wondering if there is a way to put an image into the background of my applet. I've searched all over the place and just can't seem to … | |
Hi! I'm writing a java app with a swing gui. The problem is the following. I am developing on a mac, where it runs fine. but when I run it on Windows Posready09 (Windows XP), which is the platform the app is intended for, or Windows7, half of the window … | |
i want to generate automatic emails. i got the following code by google. i also added the mail.jar file into lib of web inf. wen i execute this code i get exceptions "Could not connect to SMTP host: smtp.gmail.com, port: 25 (javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?)" and "Unrecognized SSL … | |
I have got given a homework: FileDescription program requests (as shown) and reads three lines of text. It then processes the data. For each line the first string (containing no spaces) on the line is a file name – followed by a file description. If the file name has the … | |
Hi to all, This is sridhar. i completed my B.tech in it. I am very much interested in doing proj onjava platform so any one can give me views and ideas and alsocould any one giveme proper guidence in completing the project. | |
I need help with jFilechooser. I've already made the jFilechooser. The problem is that I want to change the text of the "save" butten to "Ok", as I need it to perform a save function, as well as a read function, on different occasions. Changing the code where the jFilechooser … | |
Hi all, I have two jsp pages say jsp1 and jsp2. In jsp1 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="one" scope="session" class="mypackage.myclass1" /> [/code] In jsp2 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="two" scope="session" class="mypackage.myclass2" /> … | |
[CODE] hello everyone! I am a newbei here... Pls help me answering this question: How to write data in a new line in a particular text file? Is there any particular method in the RandomAccessFile class in java that is capable of handling such thing. Here's my code: import java.io.*; … | |
how do establish socket connection over local firewall... i creating TCP socket program in java .. it is working fine when firewall is in OFF... but it is not in case of ON... I DON'T like to switch off firewall..i like to make it genuine... any idea please...(i don't like … | |
watz the use of developing a video chat application using JMF when there are already many chat applications available? how advantageous and how different is it from other applications? plz reply soon.. | |
pls Sum1 help Me Out I need a j2ee Project wid atleast 5 Modules n D titles r as Follows : 1.Complete Mailing System in JSP. 2.E-Space. 3.Video Conference. 4.Virtual Private Network. 5.ATM Banking 6.PC Security Management. out Of des Any 1,i need.. Pls Any 1 out der help me | |
Hello, How could this be possible: SuperClass has a method named executeMe(), Subclass1 that extends Superclass has also method named executeMe(), Subclass2 that extends SuperClass has also the same method. When I try to call the executeMe() method from SuperClass, all classes that has been called with the method executeMe() … | |
Hey, I'm new to the Java arena, and am trying to create an application (using JForm and JPanel) displaying a fireworks show. The problem is creating an explosion for the display. Does anyone have any recommendations for creating an explosion? I've been stuck on this for quite some time and … | |
hi, I had a while loop in a run method, and in the while loop were a series of if stements. the series of if statments were in a try. my hope was if any if statement conked out it would catch the error, and continue the while loop ( … | |
schedule an automatic email that will go out at intervals that you define. Perfect for sending reminder email about accounting meetings, baseball game practices, or even upcoming birthdays. | |
I have a project which I have been working on for the past few days and I have recently reached a point where I don't understand what to do. My program must have a main menu with "Add, remove, List Record #, List All, Sort, Exit" functions. I am supposed … | |
Anyone knows how to code in this: when i delete a particular record,it display first "[ICODE]Are you sure, you want to delete?<br>Yes, No"[/ICODE]all i know is in Vb but i dont know in php..i know if-else statement are present in that code..tnx in advance! | |
i want to add source files that i made in another computer to my project. i want them to be at the same folder as the project. how do i add them to the project? (to copy them into the folder wont help in this case..) thx!! | |
hi everyone, i am very new in java. i am having problem in SWITCH CASE STATEMENT. can anyone please help me to solve the following problem: you have to write a program in java to generate the following menu with submenus: LinkedList 1: ADD ELEMENT 1-1: add first 1-2: add … | |
how do manipulate byte array buffer .. i need its very urgent.. anybody give good example.. |
The End.