32,199 Topics
| |
Hi all, I want to make an executable JAR file, and am facing some problems. Here's what I have tried: My program is in the following folder C:\extract\ExportTest.class I created a Manifest (Manifest.mf) file in the same directory and the content of it is: [code] Main-Class: ExportTest [/code] There's also … | |
Guys, How to check for java installation in windows, i want some code/pseudo code/algorithm.. Help me out..... | |
plss give me some basic example of sorting with user input!!!! thx | |
Can you please help me to write code on SRTF (Shortest Remaining Time First) on my O.S. subject! The requirements are: Enter No. of Jobs, Arrival Time and the Burst time! PLZ HELP ME! | |
i devlop a intranet application in java. can any one give me idea about how i show runnig process on remote machine using java programme. trhough wmi application i get information in vb,c# and c++ language. but i cannot find any solution in java. | |
i want to move a single file from a folder. i tried my level best. but the all the files from the folder is moving. pls anyone is there to solve my problem. | |
Hi, I am new in programming snmp using java. I found snmp4j api for java to snmp programming but it does not contain any example to create agent and deploy it. Any one have solution for my problem. One more question using snmp can we deploy snmp agent remotely ? … | |
Hi, My java file is compilin fine but wont execute. its a simple hello application.i have set classpath as .;C:\Program Files\Apache Group\Tomcat 4.1\webapps\myfolder\WEB-INF\classes;(even if i remove the semicolon at end it doesnt work) and path as C:\j2sdk1.4.1_01\bin This is where my class and jdk are saved. i've tried all the … | |
I have data in a list and each entry in the list is seperated as follows: XXXXX,XX/XX/XXXX Where the X represents a number. The data after the comma is supposed to be a date and could possibly be null. I need to take the first part of the data before … | |
Hi friends, I am trying to develop the smiley installer which will install the smiley/emoticons on messengers installed on your system. Can anyone help me for below. 1) which language/technology should I use for it? 2) Give outline/algorithm ? Thanks in advance. Regards, mahendra | |
right I am trying to practice with my programming taking my lectures advice and breaking the problem down into steps, then when I code, code a small amount, compile it check it works and then code the next bit. So I have an exercise I am trying out. Part of … | |
Hi all, I want to run an OS command from my Java code. Basically I want to delete an unknown number of file from a particular directory from my Java code (in windows). But the way "del *.*" commnad works it prompts you whether you want to delete it or … | |
Hi all, I want to read a properties file from the same directory as my program, e.g. my program is in C:\WorkSpage\Myprogram.java and I have a properties file called index.properties how can I read the file, without specifying a path? I have tried the following but it doesn't read the … | |
I've recently been trying to download jGrasp on my home computer because this is the program I am using at school to start to learn Java. I keep receiving the same error message when I try to compile a simple "hello world" program. "----jGRASP wedge2 error: command "javac" not found." … | |
hello friends,I want to use simple Java Beans in Struts Architecture..can we use simple beans with struts? | |
import java.util.Scanner; public class TuringMachine { private static char[] array_in; private static int dir=0; private static int state=0; private static int i=0, i_clone; public static void main(String[] args) { Scanner read = new Scanner(System.in); do { System.out.print("Input Number: "); String str = read.next(); array_in = str.toCharArray(); if(!isNotValid()) halt(0); else break; … | |
Since Input of ENTITY and of it's attribute is ok I am trying to op the value of the entity and it's attribute details so my modified code abt ENTITY is: package datamodel; import java.io.*; import java.util.*; public class ENTITY{ String entity_name; int no_of_attribute; int no_of_entity; attribute attr1; public ENTITY(String … | |
Hi, I am planning to take Sun Certified Java Associate exam. Please give me some tips regarding how to start. Also if any of you have passed SCJA exam please provide some piece of advice. Thank you. | |
i have to write a program that has to subtract the purchase price from 100 and then determine the number of qtr,dms,nkls,pns.. when i run it my results are in decimal am not sure how to change it..any advice thanks alot.. import java.util.Scanner; public class Subtract { public static void … | |
I write text to a pdf template based on the client's spec. I can set all the font name, sizes, etc pdf.beginText(); pdf.setFontAndSize(arg1, arg2); pdf.showTextAligned(align, text, x,y,0F); pdf.endText(); The problem I have is this part [B]pdf.setCharacterSpacing(float a);[/B] When I look at the properties of the text on the pdf (by … | |
1. For each of the following mathematical functions state the equivalent Big-Oh function, keeping in mind the general rules for using Big-Oh as described in the textbook and lecture. Assume very large values for n (i.e., as n approaches infinity). a. 100n2 + 87 b. 2n3 - 7n c. 70000000n2 … | |
import java.awt.*; import javax.swing.*; import java.awt.Color; import java.awt.event.*; import javax.swing.event.*; import java.io.File; import java.util.*; /* <Applet Code="MyPaint.class" width=400 height=400> </Applet> */ public class MyPaint extends JApplet { /* Declaring the variables.*/ JPanel panel; JPanel textAreaPanel; JTextArea drawTextArea; JScrollPane drawScrollPane; JLabel line, color, paint,kid,cil; JButton circle, rect, poly, ellipse; JComboBox cbLine, … | |
Hi, I am new to javascript using Firefox. I don't know the basic principles of change in syntaxes if i have to make page compatible with FF. We've created javascript which is working fine with IE 6.0/7.0 and safari but it is not at all wokring with FF. Below is … | |
hi i need help regaurding the software development on java.we are trying to develop a administering software for internet usage... | |
is it possible to combine codes from VBScript and java to run together, which the VBScript could do some operation native to the operating system, while java couldn't........ | |
I don't know if this is the proper forum for my question, but I'll give it a try. We have a few standalone Java applications sitting on a remote AIX box. These applications are listeners, so they start up and wait for events, i.e. they remain running, kind of like … | |
Hei guys, I have a c++ library of sorts. A user has written a Java Applet and wants to be able to call the C++ library functions. This is something my supervisor proposed. He suggested that Applet via a web service call (AXIS-C++) and using tomcat server , will call … | |
Respected sir/madam 1> how to call project folder in netbean? i am trying to run full online exam project at netbean. am getting exact display at tomcat. but am getting error at netbean.(like am keeping all jsp pages in subfolders like for exam, test...etc) 2> how can i make connection … | |
import javax.swing.*; import java.awt.*; public class ImageObsApplet extends JApplet implements Runnable { DrawingPanel fDrawingPanel; Image fImg; int fImageNum=0; String fMessage="Loading.."; boolean fDoneLoadingImage=false; public void init() { Container content_pane=getContentPane(); fDrawingPanel=new DrawingPanel(this); content_pane.add(fDrawingPanel); fImg=getImage(getCodeBase(),"Sunset.jpg"); } public void start() { Thread thread=new Thread(this); thread.start(); } public void run() { int width=fImg.getWidth(this); if(width>=0) { … |
The End.