32,204 Topics
| |
Hi, I have to create a tree for Minimax algorithm upto depth d. I am not getting how to create.Could anyone please suggest me a method? Thanks. | |
| |
How do you implement in java to select only data from a Column i a database using java | |
Any help with this would be appreciated. Basically I need to setup a function that will track both the getUserChoice/GetCompChoice scores for each of the 10 Games, however lets say out of 8/10 games the user has won 6 so therefore the user cannot come back to win the most … | |
I am using spring with hibernate in my project. I am new to springs. I am getting this exception in browser when i send request to a action class. org.springframework.orm.hibernate3.HibernateQueryException: unexpected AST node: diet near line 1, column 94 [select productCatNo from ds.ORM.ProductCatSubcat pcs where pcs.productSubcatName=kitchen and diet]; nested exception … | |
Hello, i need help on how to create a JLabel as a status bar that display count representing the number of each shape display in addition i need to create a class called MyShape and make it a superclass this my code for for al shapes : [CODE]package Lab8; import … | |
I get the error test cannot be resolved to a type here [code] test[] arrayOftest = new test[ 3 ]; [/code] - ideas or help? [code] public class Test { public static void main( String args[] ) { Point point = new Point( 3, 3 ); Square square = new … | |
Ok, I read other posts on the same topic, but i didn't get what i exactly wanted.. 1- i want to add JCheckboxes in one of the JTable columns 2- i want to handle events for it.. e.g adding new row when checkbox is clicked etc I referred the java … | |
I am currently attempting to write a single [B]recursive[/B] method (per instruction) whereas the items in a binary tree are displayed in a horizontal hierarchical manner (level order traversal). The UML describes the method as: levelOrderTraversal(TreeNode<T> tree, Integer indent) - tree: a node in the binary tree - indent: describes … | |
hi i have to make tool which is similar to google search editor right know i only needed graphical help that is hot create that component according to me it is an drop down list with editable facility is there any way for that in java description when name enter … | |
Hey I was just wondering what them definitions were for the following errors: runtime compile time execution error logic error Thanks Dave | |
Hello Can someone please assist with the following question; static int add( int a, int b ) { return a + b; } ... int result = add( 2, 3 ); 1) int a, int b is the _________ 2) 2, 3 is the____________ a) parameters b) arguments c) method … | |
Hi there, I am creating a cinema booking system for my assignment, I have used filewriter to create my file called Movie.txt, i have 3 string one (title, director, info) i would like that my file display in a JtextArea, any help how to do. i have my menu bar … | |
i amconfused that which layout do i used for placing noumber of panel in Frame in following ways 1) first variable lenght(heigth) with is fixed to width of frame 2) second panel in similar fassion 3) third panel in similar pasion and so on | |
Hi all, i am writing a program which displays the data from the file on the applet. but i m not able to do it. I think we cannot access files through applet due to security reasons. is there any alternative to do this? | |
Help me guys..im trying to make event handling for button "Report" to display Value and Result on another window... i dont know what the problem...~ help me guys.. and can someone teach me how to do the meter to kilometer if i press "Convert" button.. p/s : sry for my … | |
i googled for awt learnings then found a thread that awt is not necessary, you can directly go to swing. then i started swing, but i can't underdtand it that easily. now i know the very basic in swing, will you please help me to increase my accuracy by giving … | |
Ok I'm stuck on my school work. No I don't want someone to do the work for me but I need a good tutorial or pointers on how to get this assignment done. Write an Java Server Faces application using a MySQL database driver that connects to the registrar database … | |
im having hard time to get the output of the the ff. data: name of smallest pet, name of largest pet, name of the oldest pet, name of the youngest pet, average weight of five pets and average age of the five pets? this is what i did import java.util.Scanner; … | |
Hello, I've written a fairly simple program to print a string in a window...But my Java compiler (JGrasp) will not compile it. It says: JDemoGraphics.java:7: cannot find symbol symbol : method String(java.lang.String) location: class JDemoGraphics String companyName = String("Event Handlers Incorporated"); ^ I've checked my capitalization, run a debugging program, … | |
Hi, I have a value in a string variable in java, and I want that string to get print using a printer. Please help me.. | |
Hey guys, I've taken on a project where I have to code an applet that gathers information and sends it to a database. The thing is though, that the client's website is being hosted by some other unknown company. I have the impression that in order for this to work, … | |
Hi, I am running Ubuntu in my machine and I tried this code: [CODE] import java.io.InputStream; import java.io.IOException; import java.applet.Applet; import java.awt.*; public class execute extends Applet{ String output=""; public void init(){ try { // Execute command String command = "ls"; Process child = Runtime.getRuntime().exec(command); // Get the input stream … | |
Hi, everyone i am still could able to use Nested sub-header though i have found a link. Will anyone please come come forward and provide me some valuable suggestion. I have found the link but i could not able to use database values. http://www.swebb99.f2s.com/GroupableHeader/ How to include database values here.... … | |
Hi, I am pretty new to Java, only started learning bits here and there last Sept. Recently, I have been trying to implement a SMS sender with the help of RXTXcomm.jar What I didn't realise was that the RXTXcomm.jar that I have only works for 32bit Windows. I only realise … | |
Hello Members, How do you color a range of cells in a WritableWorkBook (in Jxl)? Thank you! | |
hello programmers is it possible to extract some part of 2D array and make a new 1D array? for example from this array String[][] twoDarray= { {"s", "y", "r"}, {"s", "n", "r"}, {"w", "y", "r"}, {"r", "y", "p"}}; take first column of twoDarray[0] and make this `arrayString[] newArray = {"s","s","w","r"};` … | |
Hi everyone, I'm working on a small project and have run into some problems. Briefly described, what I'm attempting to do is: I've a rather large text file with a different sentence and I need to find all the words in each sentence and add them to some sort of … | |
So I tried to write a program that creates 15 random strings then allows the user whether he wants these strings sorted in descending or ascending order. the original strings and the sorted one to be displayed accordingly as well. Here is my attempt: [CODE]class Sorted strings{ final static int … |
The End.