- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 33
- Posts with Upvotes
- 27
- Upvoting Members
- 23
- Downvotes Received
- 8
- Posts with Downvotes
- 7
- Downvoting Members
- 6
- Interests
- software
Re:
Hi all. I have a program that uses a class called PersonalInformationClass. The assignment says: Design a class that holds the following personal data: name, address, age, and phone number. Write appropriate accessor and mutator methods. Demonstrate the class by writing a program that creates three instances of it. One … |
|
Re:
I've opened this thread following rotten69's suggestion for "Java projects for beginners". To get things started I've posted a project in a format that makes sense to me; please feel free to follow that format, or to do it in some completely different style if that seems better. Let's see … |
|
Hi there, I am having difficulties with integrating [datatables](http://datatables.net/). Somehow, my data is being lost/weirdly modified when putting it in my response variable. foreach($aaData as $aData) echo "-".$aData."<br>"; foreach($aaData as $aData) $response['aaData'][] = $aData; My first foreach loop outputs data, and what I see is what I expect. However, when … |
|
Hi guys, I am using tinyMCE editor. In my textarea, I want to let user type some html like <table></table> and store that in db just like that, <table></table>. However, what I am getting is: <table></table> Now, if I go to the edit form for the item that contains that … |
|
Re:
Hey everyone, I really need help in solving a problem that I have to use recursion for. I have a list of paper objects. Each paper object has its own author(s) objects. Each author object knows which paper(s) objects they belong to. I have to build a scholarly neighborhood for … |
|
hey there, I am looking at a maven project that makes use of another maven project. say project A and project B. In context.xml in project A, I see these two lines <value>classpath:oneFile</value> <value>classpath:otherFile</value> I have been trying to figure out what is the actual value of classpath, so what … |
|
|
Re:
Hi all, I have recently been give a project to create an invoicing system for a small business. The system needs to be able to easily add new customers and store them for usage within invoices. There also needs to be a form to enter invoice data and invoices need … |
Re:
A student of mine wrote the following code: public class Counter{ private num = 0; public void inc(){ num = num++; } } which fails to increment. Why? If num starts at 0, then the assignment should be num = 0 then num should increment during the postfix incrementation of … |
|
hey there, in a project I am involved, someone put a test class in main code. eclipse would not find the bug but mvn, not that in eclipse, would report a compile error, and we found the bug. because of that, I wanted to build my new maven project without … |
|
Re:
I am using Robot's screenCapture method which returns BufferedImage, and then send using Socket to client on Android. If I don't reduce Quality then It works fine but it is very slow as Image is large and takes much time to send. I am trying to Reduce quality of BufferedImage(using … |
|
Ok, I am trying to build a jar file and I cannot seem to find my way around. I have attached an image to this thread to show my directory structure. Now, I am navigating to my MultiProjectManagement directory and creating my manifest.txt file with: echo Main-Class: multi.project.management.panels.ProjectListPanel > manifest.txt … |
|
Re:
Hello! I've been busy passing exams, but now I'm free to code around again. So, in my usual style! **The goal:** I've been playing some Battlefield 3 during study breaks, and I've often been pissed off by BF3's autobalance mechanism. It's bad. Horrible. It makes me sad. I usually have … |
|
hey there, I am working on this project where I need to retreive merchant objects and their corresponding number of failed transactions. In pure SQL, I'd just write : "select merchant_id , count(merchant_id) from Transactions where status = 'failed' group by merchant_id" however, the only way I managed to write … |
|
Hey there, I have a question regarding the builder pattern that I need someone with more experience to clarify for me. I have this User class that has an inner, public static Builder class that has the same fields as User as well as the corresponding setter methods. Now, the … |
|
Re:
Hello Everyone... I am new to the Java and want to learn java from the beginning... Please suggest me some good books and references to learn java efficiently... |
|
hey there, I have created this simple app that makes use of a Robot instance. It is a network app that I control using telnet. I have tried it in two different computers. It works fine. However, in one of my computers, I manage to start my robot app through … |
|
hey there everyone. I hope you're all well. Alright, I am working on testing a project using Selenium. I know that this is a Java forum and not a Selenium one, but I am used to using this one so I am starting here. Plus, I am very confident that … |
|
Hey there, I need help with writing a query so I figured I'd ask here. Let me thank you in advance for your answer. I need to see how often a value inside a certain column appears in a table. Say for example I have a table Person, that has … |
|
Re:
Hi, I am reading this book to learn about web services. How do I compile the exercise given in chapter 1. Appreciate a reply. in cmd do i go to eac directory and compile and execute the code. Really appreciate a reply thanks |
|
hey there, I have two classes with a one-to-many relationship. For ilustration: public class Customer { Business business; Date created; } public class Business { } Now, when I do the following: new StringBuilder().append("SELECT business FROM ").append(Customer.class.getName()) it works perfectly fine. However, when I include filtering based on created field … |
|
Re:
I need help with 2d arrays i've posted the problem here [Click Here](http://www.java-forums.org/new-java/71879-please-help-me-im-almost-there.html) (i've posted the problem on java-forums as well) Could someone please tell me what i'm doing wrong or how i could fix this? Thanks! |
|
Hello everyone, I am puzzled... when I run a JUnit test, there is no main method in the class and it still runs. Alo, a java/maven web app does not have a main anywhere. My assumption is that it is hidden somewhere on some class I somehow extend or something. … |
|
Hey there, I have a jsp page and a checkbox inside it: <input type="checkbox" name="some" onchange="test()">Check me</input> I also have this function: function test() { out.println("checkbox checked status changed"); } I want the function test to be invoked every time I check/uncheck my checkbox. It is not working. Since I … |
|
Hey there, I need help with a query. The typical situation is like this: I expect, say, 1000 rows out of a query that is based, say, on lastName column. One column is, say, firstName. I know I only have like twenty unique names that occur on multiple rows. I … |
|
Re:
I'm having tough time with netbeans. I am trying to add external image files to the netbeans project but confused where to place them. I copied the image files in every folder of netbeans(as i was tired) but nothing worked. Where exactly I should place the external resource files(images,videos,auidos etc).. |
|
alright, I have been aware of private, protected, and public access modifiers but just this week I discovered that there is also the default access modifier in Java. In case none of the three p-- modifiers is mentioned in a method header or field declaration, they seem to have the … |
|
Re:
Pls.. Someone help me on how to display in JLabel the product with two decimal places after I click a button.. pls. help I am new in making a swing program |
|
Hey there, I have the following code: int[] x = new int[7]; System.out.println(x.lengnth); x.length = 10; System.out.println(x.length); Of course, line three causes a "cannot assign a value to final variable length". However, line one does assign seven to that variable, length. Now, I have written a Testing class where I … |
|
Re:
first i'm not much professional in JAVA programming but if you mentioned a code how hard is it I'll understand it ... I want to create a desktop application that is connected with an online database to insert/retrieve data from it ... I've searched a lot on google but no … |
|
Re:
The code below compares three numbers and it prints out the Maximum and Minimum value, let me hope it will rescue somebody :) import java.util.Scanner; public class MaxMin { public static void main(String args[]) { int w,x, y; System.out.println("\n\nTHE PROGRAM BELOW CALCULATES AND OUT PUTS THE MAXIMUM AND MINIMUM OF … |