35,618 Topics
![]() | |
Hello. Me and my classmates are working on a project and we ran into some trouble. We are making an online storage system and for the storage we need a map. We decided to do it with a table (letters from A-Z are rows, numbers from 1-10 are collumns) that … | |
I am new to java programming. I am trying to create a GUI which includes JLabels, JPanels, JButton, text fields and labels. I am not using layout manager. Is there a particular structure in laying out the code that I should follow.? Thanks . | |
Hello I am learning JSP authentication and am having issues. I think my code for this simple test looks pretty good but everytime I try to login I get my login error page: web.xml <!-- Define security roles --> <security-role> <description>administrator</description> <role-name>administrator</role-name> </security-role> <!-- Restrict access to all files in … | |
| |
Hello! I am working on a server program that has a connection to a MySQL database. In one of my sql:s i need to use [URL="http://dev.mysql.com/doc/refman/5.0/en/user-variables.html"]User-Defined Variables[/URL] but i can't get it to work. The sql looks something like this: [ICODE]"SET @rank=0; SELECT id FROM (SELECT @rank:=@rank+1 AS rank ..."[/ICODE] … | |
** Having trouble running this code as the compiler keeps having issues with the method 'public void mannipulate()', I'm new to java so forgive my ignorance, but I've been trying to rearrange everything in every which way to please this thing and its just not turning out right. I'm sure … | |
How exactly would I go about doing the following in C#? public class Test { public static void main(String[] args) { Test(new TestInterface() { @Override public void SomeMethod() { //create instance of the interface within parameters of a method. } }); } public static void Test(TestInterface _interface) { } } … | |
please give the code for searching a value from mysql databse in jsp page?... i created **1.search jsp 2.searchAction.jsp 3.searchBean.java** and created **DBConnection.java** for db connection and i need to view the search result in new page which is **searchresult.page** | |
Lets say we have an 1d array called array. Now I know array.length gives me how many primitive types or objects are in a 1d array but what does it do for a 2d array with rows with different rows? {1, 2, 3, 4} array.length would be 4 but if … | |
Hello, Iv been working on a project in java and i want to implement an export to HTML 5 feature. I have looked around and not seen many useful discussions on how to implement this feature. A number of software products i looked into such as scirra construct and adobe … | |
hi friends, suggest me a good book and link to get a good practice in java | |
![]() | So it's my first time trying to do a loop and I've come across something that I'm not experienced enough to explain... My program compiles fine, but after I enter my third number (variable "a", see code below) it just skips a line and does nothing. It just lets me … ![]() |
Hi, I need to build a rating system for a travel community . It will contain user preferences such as say average time of the aircraft,aircraft age,legroom,number of stops, route quality. These might be modelled as checkboxes on my web page. The user can then select which all criterias he … | |
HI, I have a spec for a golf tournament report. in it it says that to generate a report for less than 200 players the processing time of the report should be within 15 minutes. how can i test this in junt the uril for the SRS is below (section … | |
Hi Does nayone know how to test a test suite in cmd line? (in java) thanks | |
I believe the title of my thread explains what I am trying to do... I have a .class file, I need to look at the code has generated the .class. is this possible, and if yes, can you tell me how? | |
Hey How do I correctly validate that a email is in the correct format? I tried using the Apache Commons Validator library but, since Im using a web service, it seems not to want to fix it up and use it. I comply the code, make the aar, put it … | |
I have an array of objects but when i traverse throught it to display its contents, it gives an error, but only if it is not full. Any suggestions? Below is the code snippet: for (int k = 0; k < array.length; k++) { msg += String.format(array[k].toString()); } JOptionPane.showMessageDialog(null, msg); | |
I am trying to find the point of intersection of a circle and a line through its center. I want to put an arrow on the point actually, to make a directed graph. After some calculations, I found that the math that would go in is,  The figure … | |
I am a recent immigrant from c++ to Java. I have this problem: I have an array of objects (not yet initialized using the new operator), that I need to pass to a member function of another class for storage. In c++ I would have made a pointer to the … | |
Hey, i was wondering whether anyone ever came accross developing something that would allow to have a software installed on the vm. What i mean by that is that i would want to install ie (internet explorer)/or any other windows application whithin my java app. so it could be opened … | |
Hi all, I have a java program when I compile it, it compiles fine, without any error or warning. However, when I run it, I get the following warnings. [code] bash-2.03$ javac CountSessions.java bash-2.03$ java CountSessions Writing data to file... Data written to file !! log4j:WARN No such property [maxFileSize] … | |
How can i call ? i am so much confused now ? can anybody please help me ? | |
I am going to build a desktop software with client-server facility.What are the things i need to do for client-server? 1.Should i make 2 different version of the software?One with database for the server and one for client without database. 2.Or should i have some options in one software inside … | |
Pl. help in handling button events in JSP like calling a servlet on Button click or executing java code. | |
hello all how can i clear the DOS screen through java program i hava search so many web site but i can't found the proper ans. thanx in advance [:)] | |
The Application should be able to add an entry , view an entry and delete and entry.. All other functions are working properly but my applica tion cannot delete.. Please assit where i shuld place my delete method import com.jjpeople.addressbook.action.actionresult.ShowAddressActionResult; import com.jjpeople.addressbook.actionargument.ShowAddressActionArgument; import com.jjpeople.addressbook.actionargument.DeleteAddressActionArgument; import com.jjpeople.addressbook.businessdelegate.AddressBookDelegate; import com.jjpeople.addressbook.businessdelegate.AddressBookDelegateException; import com.jjpeople.addressbook.businessdelegate.AddressBookDelegateImpl; … | |
What I'm doing is making a game and I need to do this for my items: - Have an "Item" Class - Have other superclasses such as:Weapon,Armor,Food - Read XML file with items on it. - Create appropriate Item classes with the correct extended class. - Fill the fields with … | |
![]() | Hi everyone, I'm trying to write a basic program to find the root of an equation. I just tried compiling it for the first time and I get the following error: RootFinder.java:6: <identifier> expected public static double searchValue(double x0, x1, a) { ^ RootFinder.java:6: <identifier> expected public static double searchValue(double … ![]() |
hi all , I know how to develop Mvc architectur application , Now I paln to learn frameworks, which one will be best choice structs or spring? , should I learn both ? |
The End.