32,199 Topics
| |
I know j2se a good deal. i also know MySQL, Jasper reporting, Log4j. I'm currently searching for a not-too-hard and not-too-easy software to make. I've currently made a address book and a library management system and i don't want to make games. So can someone PLEASE help me? | |
The scenerio is that I have different type of drawing components on drawing area. In menu I have some combo boxes which apply different properties on these objects. and also add a new UndoableEdit to the UndoManager. Anybody worked with the swing's undo package will get the idea. This way … | |
i have a Struts jsp which creates a textbox dynamically using javascript. function addRow_msgField() { var id =0; var table = document.getElementById("msgfield"); var id = table.rows.length-1; var newRow = document.all("msgfield").insertRow(); var oCell = newRow.insertCell(); oCell.innerHTML = "<input type='text' name=alertFieldName"+id+" class='textBoxStyle' size='12' maxlength='50'/>"; oCell.style.verticalAlign = "top"; id++; } My table design … | |
| I decided to develop a java applet to transfer files to a ftp server. I have no java experience but using stuff from the web and using NetBeans IDE for development, I came resonably close. Here is the code I used. /* * To change this template, choose Tools | … |
Hi all, I have two Java Classes as follows : [CODE]public class A { public int a =5; }[/CODE] and -- [CODE]public class B { public static void main(String[] args) { System.out.println(new A().a); } } [/CODE] Now i want to generate a log file (when the execution of main() method … | |
Hello, I am a python newbie and I am trying to accommodate to the basics. What's the python equivalent for the following Java snippet ? [B]Java:[/B] [CODE]public class Main { public static void main(String args[]){ int a,b,c; a= (int) (Math.random()*100); c=0; while((b=(int)(Math.random()*100))!=a){ c+=1; } System.out.println(c); } }[/CODE] I was trying … | |
Hi guys, Visual studio contains alot of controls which facilitate the development of application using C#. Is there any workaround to use this controls in Netbeans IDE or any plugins to make Netbeans as reach as Visual studio in controls. Thanks in advance | |
I created jar file and it can be run well through comand prompt.. (using java -jar <file name>) How can I make it run by clicking the the .jar file ????? | |
[B]Is it possible calling struts from EJB (or) not[/B]. please I need an example for this...just calling Struts from EJB part is enough. How to call a DAO class from either Struts (or) EJB...I need an example for this too...Calling part and other configuration such as web.xml part | |
Hai, I am developing an application to send and receive data via bluetooth for Symbian mobiles.We have a scanner with built in linux and some C++ program.A C++ Dll is given to communicate by using Windows Mobile 5 and Windows Mobile 6.When we worked using .Net application when the Serial … | |
I created a jar file using cmd prompt. when i run it using : jar cvfm <filename>.jar manifest.txt *.class gives the error: java.io.IOException : invalid header field.... Please help me to solve this... | |
I managed to create a <filename>.bat file using a jar creator . It also creates <filename>.jar file but when i click .bat file it says unsupportedClassVersionError: bad version number in .class file .jar file says could not find the main class... how can I overcome this??? | |
Iam getting an equation as input in a string example: 3x^2+4x^2=0 I have to split the above equation and i have store numbers, symbols, and operators and power number separately ... am using java language... Plz Help me to solve... Thanx in Advance Nithya | |
I'm creating a game where the goal is to roll two dice and if you get a 7 or 11 you win 10 points, otherwise you lose 5. You start with 100 points. I have everything set up so far but I don't know how to keep the program going … | |
Hi all, I have a quick question. Is this a proper way of using blackbox testing to test the stringTokenizer class? If not, would you provide a proper example that displays the pass or fail. [code] string = "cat, dog"; StringTokenizer token = new StringTokenizer(string, ","); if (token.countTokens() == 2) … | |
I have 1 package that manages the main JFrame of my application. This JFrame needs to access an image (which is a resource) of another package. I was able to get it to work using: [CODE=JAVA]new ImageIcon(getClass().getResource("../"+packageName+"/icon.jpg"));[/CODE] But this does not work when using a runnable jar (getClass().getResource("../"+packageName+"/icon.jpg")) returns null). … | |
Hi, Im working on a POC in velocity. Want to know whether using velocity can we populate a template based on records in a JDBC ResultSet instance?If so kindly provide the link that has document or example. Typically a resultset will be put in the VelocityContext. In vm file we … | |
I am having a problem in this program....can anybody help me create a BufferedReader out of this maze problem...then i have to create a text document entitled with maze.txt... well here is my program [code] import java.io.*; import java.util.*; public class Amazing{ public static void main(String[]args){ Scanner console=new Scanner(System.in); FileWriter … | |
send me any resourceful info u have on JAVA to SNIP n I'll be sooo greatful. | |
Hi All, I want to run a java command thru java program. Can any one tell me how can i do it. Thanks , Smita | |
Does a .jar file run on windows with out the JVM installed? | |
hi helper,.... i'm trying to implement meta search engine(java, jsp) for a website. trying to use carrot2 for organising search results and using yahoo search API. pls give me an idea of implementing a meta search engine.i googled but didnot find any material in net. thx beanboy. | |
The program requires an integer input from a user at the command args and prints out the numbers backward. I have this so far, however, it only prints 1 number, which is the number entered into args. [code=java] public class KashiwabaraNicole7 { /******************************************************************************* * Initializes program * @ param commandlineArguments … | |
Write a Java Program that prompts the user to enter his/her first name and last name, then displays a message to welcome the user into the class CIS 226. If the user hits Cancel on either first or last name, show the error message: [code] import javax.swing.JOptionPane; public class Assign2 … | |
I'm attempting to learn Java. I'm finding it to be frustrating and quite foreign from most other languages. I have something here typed exactly as the book has it. According to the book, it should be working, but it's not. Any tips would be SO great! I really feel like … | |
How do I add a picture as a background to my Jpanel??? please let me knw the easiest way... | |
Please let me knw a way to create an exe file (.exe) with my java application..... | |
Hello All, I have developed a utility class for my own purpose to do some repeated task for my work. In that I want to do some routine task when ever I call any of the method of the class through its object. For Example, If my class is StringUtil.class … | |
plaese i need help.I am trying to design a Fish farm diary using Java. Please i dont know how to go about it.It will have the following:- a) Diary Module This is basically a text editor embedded in the main window. The user should be able to select a date … | |
Input Output Less than 10 “Too Cold” 10-20 “Average” 21-30 “Hot” Bigger than 30 “Too Hot” (i) If the user enter 2, (ii) If the user enter 10 (iii) If the user enter 23, (iv) If the user enter 70, can anybody help me......... thanks...... |
The End.