Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Tags
java x 28
c++ x 18
dev x 4
php x 4
Member Avatar for KRUX17

Hi, I was wondering why my application doesn't list the changes while the application is running. For e.g I create a new job and then my application should show the new job in the list that is provided. I used **ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE** this but doesn't seem to work. Thanks Kru

0
93
Member Avatar for KRUX17

Hi, I'm having some issues with getting next data from the database, it seemed to be working before, but now it doesn't change the textfields to the next data just appends the data into TextArea1 and TextArea2, the other data TextField1 etc.. Doesn't even change, so I do not know …

Member Avatar for KRUX17
0
198
Member Avatar for KRUX17

Hi, I'm having trouble with my session variable. When I add this code in the while loop it doesn't add the product in, but when I put it outside it adds the product to the cart. Can anyone tell me what's wrong with my code? It would save me a …

Member Avatar for LastMitch
0
160
Member Avatar for KRUX17

Hi, I really have no idea why my if statement is showing **no products** when the quantity of my products is not 0, if it is then it will show **no products**, but the quantity of the products is more than 0. Also, there are jsut two items stored in …

Member Avatar for LastMitch
0
253
Member Avatar for KRUX17

Hi, I wanted to know how I can add data to an ArrayList if the collection is not: `Private ArrayList<String> files;` and instead: `Private ArrayList<People> files`. Would the code look like this: public void addPerson(String name){ files.add(name); } or: public void addPerson(String name) { People people; // Declare an object …

Member Avatar for jalpesh_007
0
211
Member Avatar for KRUX17

Hi, This code doesn't seem to compile. I can't seem to figure out what's wrong with it. The error I get is: **cannot find symbol - method contains (java.lang.string)** public void getName (String name) { for (olympian filename: Olympians) { if (filename.contains(name)) { System.out.println(filename); } else { System.out.println("Nothing found"); } …

Member Avatar for NormR1
0
254
Member Avatar for KRUX17

Hi, Why does this piece of code throw me an error saying: **cannot return a value from method whose result type is void**? public void orderTotal() { int total; for (Order filename: Orders) { total = filename.getQuantity(); } return total; }

Member Avatar for KRUX17
0
203
Member Avatar for KRUX17

Hi, Can anyone tell me what is wrong with this code? It seems to be throwing me some error: **non-static method getName() cannot be referenced from a static context.** public void printOrders() { for(Order filename: Orders) { System.out.println("Name: " + Order.getName()); System.out.println("Quantity: " + Order.getQuantity()); } }

Member Avatar for KRUX17
0
110
Member Avatar for KRUX17

Hello, I'm having trouble with the ArrayList add method it seems to be giving me an error in BlueJ. It say's no sutiable method found for add(int) method java.util.ArrayList.add(int,Order)... And how would I create a new object inside a method which will add the parameters to the arraylist. Thanks Here's …

Member Avatar for KRUX17
0
170
Member Avatar for KRUX17

Hello, I'm quite stuck on how I can sell limited tickets I've put this question up before, but I haven't got the right solution.I know I should do my own project, but I really can't seem to find the solution to this.If someone can just help me with this problem …

Member Avatar for KRUX17
0
139
Member Avatar for KRUX17

Hello, I would like to know how you can keep running a function over and over again, so that it can keep adding the stored value. For example If Bob uses a program to purchase a ticket, lets say that Bob purchases 5 tickets out of 55 tickets (There's only …

Member Avatar for irre
0
196
Member Avatar for KRUX17

The code below takes the quantity of tickets from the 55 tickets that is available and it stores the value in a text file. What I want the program to do is to store the amount of tickets that is available and then each time the program executes it will …

Member Avatar for KRUX17
0
102
Member Avatar for KRUX17

Hi, I was wondering is there a way where you can sell limited tickets. For example there are 55 seats in a bus and 55 people bought the tickets for the bus,the people who want to buy those tickets for the bus must wait for an hour. How would I …

Member Avatar for KRUX17
0
245
Member Avatar for KRUX17

Hello, I'm working on a project and the value of num is AdditonalAdultQty + AdultQty (AdditonalAdultQty and AdultQty will be inputted from the user) Then those two values will be stored in the text file. When the program runs again and a different user will input how many tickets he …

Member Avatar for KRUX17
0
166