Posts
 
Reputation
Joined
Last Seen
Ranked #440
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
92% Quality Score
Upvotes Received
38
Posts with Upvotes
30
Upvoting Members
16
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
7 Commented Posts
4 Endorsements
Ranked #397
Ranked #517
~141.64K People Reached
Interests
Deep Learning, Generative Adversarial Networks, Neural Networks, Artificial Intelligence, Genetic Algorithms,…
Favorite Tags

286 Posted Topics

Member Avatar for brodeur

first of all you have capitalization problems in your code (Computer). Then you also need to put brackets around each of the cases when you are checking them.

Member Avatar for Zirely
0
243
Member Avatar for darwin_nacional

I have had this same question. Though I could not figure out how to get it to work you use Mysql and JDBC to make an online database on a server. you then connect to the server and write, or read from the database. please message me if you figure …

Member Avatar for Elijah Alfredy
0
2K
Member Avatar for sirlink99

Hello, I am working on a simple timer toolbar app in swift for macOS and I am experiencing a visual bug. Basically, I should be able to add any number of timers to the main screen and they should stack on top of each other. Once the space is filled …

1
278
Member Avatar for sirlink99

I just bought a Samsung Slim External DVD Writer SE-S084F. The computer recognizes the drive, but when I put in a cd the drive constantly connects and disconnects while trying to read it. I have went on the website and I followed the installation instructions, but still nothing. Thanks for …

Member Avatar for roycpo
0
6K
Member Avatar for sirlink99

Hello everyone, I am trying to write an object loader in c++. Currently, I have a file that is made up of many sub objects and I am having a little difficulty figuring out how to process the data. First of all, here is an example of part of the …

0
180
Member Avatar for gavriela

you could get the number and set it as a String, then you can convert the string into a character array, then you can find out the length of the array, and then use a for loop with the length as a parameter, and print it out one by one

Member Avatar for stultuske
0
5K
Member Avatar for sirlink99

Hello All, I am having trouble looping through a 2D array in C++ (should be very easy, but I am just starting C++). At the current moment I have this class file #include "Cube.h" #include <freeglut.h> #include <stdio.h> Cube::Cube(int cx, int cy, int cz , int cubeWidth) { int p[][3] …

Member Avatar for David W
0
474
Member Avatar for sirlink99

Hello everyone! I am writing a GA, and I am trying to implement elitism. My problem is an interesting one. I cannot release too much code because it is an ongoing assignment. I have asked the TA, and he is unable to find the solution as of this moment. The …

Member Avatar for sirlink99
0
237
Member Avatar for scheppy

A quick look at the [documentation](http://docs.oracle.com/javase/7/docs/api/javax/swing/JOptionPane.html) suggest to me that there is a getInputValue() function that you might want to look at. I hope you can figure it out!

Member Avatar for JamesCherrill
0
300
Member Avatar for sirlink99

Hello Everyone! I am wondering about the thory behind the box blur. I have an assignment, and I wrote a program implementing the box blur the way it was described in my assignment which is "When centered on a pixel, its values are multiplied with each corresponding surrounding pixel values, …

Member Avatar for JamesCherrill
0
565
Member Avatar for sirlink99

Hello All. I am having 2 problems here with my code. I will start off with the video code first. The video code should capture 20 seconds of the screen at 50fps, however, when I generate it, it generates a 1 minute 7 second video, and I am not sure …

Member Avatar for sirlink99
0
1K
Member Avatar for sirlink99

Hello Everyone, I am experiencing errors when trying to compile a project in Java 8. The errors are caused by swing components. The code I am using is the following: import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; public class Main2 { public Main2(){ JFrame f = new JFrame (); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.setSize(100, …

Member Avatar for JamesCherrill
0
1K
Member Avatar for sirlink99

Hello Everyone. I am wondering if anyone has any experience working with Korean characters. I attempted to find out how to split them up, but I have had no success thus far. What I was thinking is having a character like "안" and having it split up into "ㅇ", "ㅏ"and …

Member Avatar for sirlink99
0
424
Member Avatar for fireballthor

that's easy just put while loop that has a number in it then print the number then put an empty for loop and then add 5 to the number then repaint/ redraw the number and continue. it should look something like this: [CODE] int a = 0; while (a == …

Member Avatar for Slavi
0
339
Member Avatar for sirlink99

I have a computer that came preloaded with windows 8, and I have noticed that when I leave it on without using it for a while (maybe 15 mins, haven't actually timed it) it will say that I am connected to the internet with internet access, but when I try …

Member Avatar for cyberkingz
0
348
Member Avatar for james.lu.75491856
Member Avatar for 2butawil

ok. First there are several thing I would like to point out. When you are summing you set the number at I equal to the sum at I. What you want to do is create another variable outside of the loop, and add the number at the I value to …

Member Avatar for JamesCherrill
0
125
Member Avatar for lf95

As you have not shown any work I cannot provide you with any specific examples, however you will want to take a look at the [Random class](http://docs.oracle.com/javase/7/docs/api/java/util/Random.html) and [arrays](http://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html) Please show the work you have done and ask a specific question to get more helpful results.

Member Avatar for JamesCherrill
0
354
Member Avatar for sirlink99

Good Day. I am currently running into a problem. I have 2 activities. My first activity launches the second one. Once the second one has done some work it calls the finish() method in order to destroy itself. Then my previous activity pops up which is what I would like, …

Member Avatar for peter_budo
0
138
Member Avatar for sirlink99

Good Day. I am relatively new to android programming and I am having problems displaying action Items on my action bar. I can manipulate my actionbar through Java code (show and hide text, Icon and action bar), however when I try to add my own images to the action bar …

Member Avatar for sirlink99
0
172
Member Avatar for sirlink99

I am having a problem deleting nodes from my Binary search tree. What I have so far does part of what it is supposed to do. I read in an input (paragraph of text) to create the tree (organized via ASCII character values). I make it, then print out all …

Member Avatar for sirlink99
0
306
Member Avatar for reincom

First of all when the button is pressed you want to make a connection to the database you are storing the information to. You would probably use [JDBC](http://www.oracle.com/technetwork/java/javase/jdbc/index.html) to accomplish this. Then you would proceed to retrieve the data and store it in the correct fields through the connection. Once …

Member Avatar for reincom
0
1K
Member Avatar for sirlink99

Hello. I am designing a calculator app as part of a project. I have all the buttons inserted in the correct order. My problem is that the last column of buttons horizontally fills up the rest on the unused screen. As the device size scales, the more and more the …

0
88
Member Avatar for sirlink99

Hello. I have just purchased a Lexar JumpDrive S50 32 gigs and I am having trouble accessing the USB. The USB shows up in the my computer window with a grayed out icon and when I double click it it states "Please insert a drive". The same statement is displayed …

Member Avatar for rubberman
0
492
Member Avatar for imBaCodes

Drink coffee and or another caffeinated drink, and listen to upbeat music, while singing to it as well as I can (which is sometimes difficult because I like music that isn't English). Moving my feet and streaching also helps. I also make it as bright as I can, and I …

Member Avatar for Troy III
1
617
Member Avatar for sirlink99

I am wondering how to start drawing a network diagram. The way it was described to me I need to go into the configuration settings of the switches and check what type on connection there is and document where the connection is from, to where the connection is going. Then …

Member Avatar for mrgreen
0
201
Member Avatar for murali2489

Have you tried writing the information in the text fields to a file. You can then read and write to that file to set up the text fields.

Member Avatar for stultuske
0
324
Member Avatar for skp03

I don't know about what to do this time, but next time the way I would do and show him the website is either through your computer, or on a subdomain for your website. That way he can tell you what to adjust and can test it out. Then once …

Member Avatar for <M/>
0
224
Member Avatar for matt.harding.14203
Member Avatar for JamesCherrill
0
269
Member Avatar for matt.harding.14203

I'm not sure. Try breaking it up into multiple steps and print it out step by step to see where it might be going wrong. What happens when you change it to charAt(1), does it return the second character or throw an error again?

Member Avatar for cmps
0
2K
Member Avatar for CoilFyzx

If you want to use graphics, then just use a Rectangle over the area that you want to be clickable. Then when you press the mouse button check the coordinates of the Mouse and it the Rectangle **contains** them. If they do then run the action. If the Image is …

Member Avatar for sirlink99
0
228
Member Avatar for sirlink99

I am attempting to make a Dictionary like software. The way this software will work is that You will be able to enter a word into a search bar, and the dictionary will search for the word. It will display the word, the pronunciation and the meaning of the word …

Member Avatar for sirlink99
0
435
Member Avatar for laguardian

You have created the variables, but you havent initialized them. In order to initialize them you need to give them a value to start off at. For example String a; - this is just created String a = ""; - is created and initialized to an empty string. another one …

Member Avatar for JamesCherrill
0
150
Member Avatar for Jollyboy

Hello and welcome to Daniweb. I would like to refer you to the [rules](http://www.daniweb.com/community/rules) and the [TOS](http://www.daniweb.com/home/tos). Here we are glad to help anyone stuggling with some code, or a concept. In order to effectively help, we need to know as much information as possible. Please provide code examples, error …

Member Avatar for iamthwee
-2
142
Member Avatar for babyani

Welcome to Daniweb! I would like to refer you to the [TOS](http://www.daniweb.com/home/tos) which you agreed to when you signed up. Please provide more information, examples of what you have done, error messages and any other relevant information. We are a community of programmers looking to help other programmers when they …

Member Avatar for JamesCherrill
0
212
Member Avatar for robgeek

Have you tried getting the name or doing anything else with the initial file to see if it works correctly?

Member Avatar for sirlink99
0
8K
Member Avatar for akhildas

Hello and welcome to Daniweb. I would like to refer you to the [Java projects for learners](http://www.daniweb.com/software-development/java/threads/430542/java-projects-for-learners) thread at the top of the Java section of this forum.

Member Avatar for sirlink99
-1
93
Member Avatar for Nelson.Zacharia

Hello and welcome to Daniweb. As you are new I would advise that you clarify your question. Include what you want it to do exactly, what you will be using it for and any other relevant info. The more information you provide the quicker we can help.

Member Avatar for sirlink99
0
201
Member Avatar for murali2489

Make sure the class file is located in the same directory as the html file. also make sure it is actually an applet rather than an aplication (has an init and a paintComponent method and it extends JApplet).

Member Avatar for murali2489
0
280
Member Avatar for mbahny

Like I stated if you are having problems with the grade not displaying, then I gave you a solution on your yahoo answers post. :)

Member Avatar for sirlink99
0
203
Member Avatar for holyboy.makescence

Next time do some research before you post a question. We take time to write down thousands of lines of basic information when it is available for you. If you have a more specific question about networking then start a thread, but make sure you do some research before posting. …

Member Avatar for caperjack
0
214
Member Avatar for sirlink99

I am currently in University studying Computer Science, and I am debating whether or not to buy a server. I have co-op and I am currently working at a company that works with newtorking, programming, etc. and I decided that I would want to learn more about this field even …

Member Avatar for sirlink99
0
217
Member Avatar for Violet_82

The try-catch statement is a way of handling errors in your program. the throws causes an error to pop up. Like in the example if you have a method called divide, then you would need some error to indicate if the user is dividing by zero. Then the user could …

Member Avatar for Violet_82
0
398
Member Avatar for james12James12

For clicking the rectangles you will want to take a look at the MouseListener, MouseMotionListener and the Rectangle class (Rectangle class isn't necessary, but easier). MouseListener: http://docs.oracle.com/javase/tutorial/uiswing/events/mouselistener.html MouseMotionListener: http://docs.oracle.com/javase/tutorial/uiswing/events/mousemotionlistener.html Rectangle: http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html As for the second part of your question. How are the numbers "scrolling" through the array list? What numbers …

Member Avatar for jwenting
0
260
Member Avatar for tanmay.majumdar2

You are passing in a for both the getter and setter. For the getter you want to pass in c.

Member Avatar for tanmay.majumdar2
0
238
Member Avatar for cool_zephyr

generate a number between 1 and 10, then use an if statement to check which number was generated gen < 7 gen = 1; gen < 9 gen = 2; gen == 9 gen = 3;

Member Avatar for cool_zephyr
0
209
Member Avatar for callen91

I'm not sure why you are getting that error. after I removed the duplicate variables and fixed the brackets mine seemed to work fine. make sure you close your if statement brackets and you don't declare duplicates

Member Avatar for stultuske
0
523
Member Avatar for london-G

You could do it in java, however php would probably be easier. Here is how you can send an email using php: http://php.net/manual/en/function.mail.php with java you would have to use the JavaMail API: http://www.oracle.com/technetwork/java/javamail/index.html In both cases what you want to do is run through your database using the primary …

Member Avatar for london-G
0
164
Member Avatar for game06

Here is the general order of how you want to create a frame containing a panel containing a button first you want to create a [JFrame](http://docs.oracle.com/javase/6/docs/api/javax/swing/JFrame.html), [JPanel](http://docs.oracle.com/javase/6/docs/api/javax/swing/JPanel.html) and a [JButton](http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html) Then you want to make sure you set the action command of the button (if you have multiple buttons this …

Member Avatar for pbj.codez
0
256
Member Avatar for sirlink99

Hello. I submitted [this](http://www.daniweb.com/software-development/java/threads/455615/java-decryption-problem) post a little while ago where I had problems with decrypting what I encrypted. Now my problem is that when I encrypt something and then decrypt it, the decryption works with txt files, but when I try to decrypt microsoft documents, then they will not open. …

Member Avatar for sirlink99
0
550

The End.