32,204 Topics
| |
I had this crazy idea of creating a media player using java that would stream files from from my desktop computer, which I would set up some sort of server app for, and talk to a portable client app that I could download on any of the other computers on … | |
please help us in getting information regarding working of internet browsers(in general IE or Mozilla etc).... API's involved.. we want to develop a server tool that monitors and logs the users internet activity such as sites visited, on client machines in LAN. | |
I need to get the current date in the format MM/DD/YYYY and compare it to another string in the same format to see if the current date is greater than the string date. What is the best way of doing this? thanks. | |
I'm getting further and further to figuring out how my java program can read from my console application written in vb.net, i have some of my class here that i found on a site: This is mainly to do with reading numbers from input but il change it later. [CODE=java] … | |
Hey, I have to create a program which will accept two lists of words and place the contents of the first list to an [B]unordered [/B] array, to an ordered tree and to a hashtable. then each word in the 2nd list shall be checked whether it is contained in … | |
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... |
The End.