- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 23
- Posts with Upvotes
- 8
- Upvoting Members
- 14
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
- PC Specs
- MB: LGA1155 B75, PCIe/DDR3/SATA3/GLAN/7.1, CPU: Intel i5-3450, RAM: 8 GB DDR3, GPU: AMD Radeon 7770…
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, so I've got this multithreaded server which correctly waits for clients and assigns them to a worker thread. From there, the client is sent an object `Packet` which contains variables `Player` and `Round` (simplified, it contains more data but these are the most important). I'm building a simple top … |
|
So I'm building this pretty simple top trumps card game as part of an assignment. I have the game logic built, the swing GUI is in place and I plan to do all the calculation on the server app and have it update the client up with the game's state, … |
|
Hi! Straight to the problem: I'm building this server application which will monitor SQL databases. I want it to remember any number of connections so I've made a few methods which I thought would do the trick, except they don't. The program should add any new SQL connection to a … |
|
i need desperate help with this one nested loop program: 123454321 1234-4321 123---321 12-----21 (the '-'s are actually supposed to be spaces) |
|
I've managed to construct a working code for John Conway's Game of Life. Now I wish to GUI-ize it. My only problem is printing a matrix. I want a huge text field to print "_" for no life and "X" for life in each cell (much like I did in … |
|
I found this game on another forum and found it really very interesting lets start it here :) hope everyone will enjoy it Make a wish, and let the next poster give you some bizarre result based upon your wish. Example: I wish I had a million dollars. Reply: "You … |
|
What is your favorite thing/person/animal/etc.? Basically, all you do is say what is your favorite based off of the previous persons subject. For example, **Favorite Forum** Response: **Daniweb**. And after you give your response, put in another question saying what is their favorite whatever. Okay, hopefully you guys get it... … |
|
Hi everybody, I'm back and I bring problems. :D I've done a fair bit of research - I know Android can't run JRE 1.7, and I know JRE 1.7 is needed to get Java to read SQL. I've got this project that says I need to make a way for … |
|
I am trying to get my method to return to the main. I have tried return statements but when i run it all it gives me is nothing. It just follows what the main method has but the other methods do not get to return to the main method so … |
|
So, I am trying to test my if else with two Character.toUpperCase answers and I keep getting this error: 1 error found Error: bad operand types for binary operator '^' first type: char second type: boolean I tried && and & and it won't work. If I don't use anything … |
|
I've got a JTable called chances_T full of doubles ranging from 0 to 100. I'm trying to set the background color of each cell based on the cell's value. So I built a custom cell renderer: class CustomRenderer extends DefaultTableCellRenderer { @Override public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, … |
|
Hello dear codegurus! I've been working on a pet project of mine for 3 weeks now, and I think it is ready to be released into the open! However, just for cosmetic purposes, I would **LOVE** to add an icon (both for the application and in the upper left corner … |
|
Hi everyone! So, I hereby hope to show that I've made progress in coding java (largely due to the help of this great community). I want to thank everyone for dealing with me (especially James). :) The goal: The code below is supposed to seed a layout of boats into … |
|
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 … |
|
No double posting. Add only one to the number of the previous poster. Go! 0. |
|
I have Class called ConnectionDB and in this class I have Main method and another function in the class ConnectionDB,That is private static Connection DBConnectionstring() In this function I have Connection URL ,Drivers inside this function . I want this function to be used in another class (GUILogin) with main … |
|
Hi, thanks for looking at this thread. :) **The goal:** I have this 2D boolean array (from my [decoder](http://www.daniweb.com/software-development/java/threads/452559/decoder-simulatorcalculator-complement-of-2-problem) thread). I managed to write a method that goes through the rows and appends a '1' or a '0' to a string based on what's in the array (1 for true, … |
|
Hi! It's me again and [this](http://en.wikipedia.org/wiki/Decoder) is a decoder! **The goal:** And I'm trying to make a program that solves logical problems related to the decoder device. For that I need a loop that write true/false into a boolean[][] based on the rules. Say we have a decoder with 3 … |
|
I'd like to see long codes collapse automatically because I think Daniweb would benefit from a tidier thread system. That's all. :) |
|
Hey guys! I am working on a school project where I choose "The Evolution of Technology" as my topic. It'll be from making stone tools and fire to the modern information age. I choose a videogame to represent my research and outcome and I'll use Java. I already knew a … |
|
Allright. It's me again. :D This time, I'm making an alarm clock program. I've already completed the bit that gets and displays the system time: Date vrijeme = new Date(); int sati = vrijeme.getHours(); int minuti = vrijeme.getMinutes(); int sekunde = vrijeme.getSeconds(); Also made a method that compares that time … |
|
I just needed some assistance on formatting the output into a specific fashion. I satisfied all the requirements of the assignment, except the output. I apologize for the bad format of this post, any suggestions and help is greatly appreciated. I need the output to look like: Mr. Random - … |
|
Hello, I have build my application and now that I am trying to run the jar file by double clicking on it nothing happens. I tried to access it from my terminal(mac OS) using this line: java -jar "C:\Users\Me\NetBeansProjects\BS1\dist\BS1.jar" But get the following error: Unable to access jarfile Can anyone … |
|
Hello can i ask,.because i am a student of java programmer i want to asking how to fast learner of the program,.please help me i want to be a proffesional programmer,.thanks,.. |
|
Any tutorial step by step yo provide modular application development and dynamic deployment for Net Beans by using OSGi with Felix? |
|
This is based on John Conways Game of Life, a simple yet awesome code that simulates life. Rules are simple, if a cell has less then 1 or more then 4 living cells next to it, the cell dies. An empty cell with exactly 3 living cells next to it … |
|
Oh mighty Sages of the Code, I bring before you my humble self, a commoner among the many. I wish to become an Apprentice of the Code, for I have witnessed it's powers to create and destroy. Please accept my membership in the Academy of Java, where I may unlock … |
|
Hello, I'm Mirza and I'm in the first semester of an IT university. I like to experiment with Java, and occasionally I run into problems. Now, I've been visiting daniweb for quite a while now, and I've always found solutions to my problem, but this particular problem I just can't … |