Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
73% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~28.1K People Reached
Favorite Tags
java x 193
mac x 25
apple x 25
dylib x 23
Member Avatar for Onur_2

Hello, I'm trying to create a program for a multiple choice test. I have 12 students, and I have the answers, all I need is to learn which student chose how many correct and wrong answers and left how many empty. All I need is something like this Students Correct …

Member Avatar for JamesCherrill
0
262
Member Avatar for scheppy

Guys, Im wondering, If I have another class with a jpanel in it... and I add this to the jPanel, this should work correct? jpanel.add(new DoughOverviewList()); jpanel.repaint(); for some reason its not showing in my jpanel, /* * To change this license header, choose License Headers in Project Properties. * …

Member Avatar for scheppy
0
403
Member Avatar for scheppy

Hey Guys, So I have a JTextfield in the cells of 1 of the columns in my JTable I want to allow only numbers and up to one dot/period. Doesant need to contain a period. The persiod can be anywhere except at the end of the number. 1 ok .1 …

Member Avatar for JamesCherrill
0
767
Member Avatar for scheppy

Hi Guys, I ussually dont post anything here often, just get everything off of everyone elses questions, but I'm having a strange problem that im scratching my head over, I have a JTable where I can Add and remove rows... This is just for testing purposes, I'm about to make …

Member Avatar for scheppy
0
745
Member Avatar for scheppy

Guys, Ive gotten it into my head to do somthing fairly difficult for me, I want to communicate with a swing application, to a proximetly sensor, and track live when it senses somthing and how many times it has sensed somthing, I want to use java. theres alot more to …

Member Avatar for rproffitt
0
422
Member Avatar for mustefa_1

write c++ programming that calculate electricity bill with persons name and id

Member Avatar for JamesCherrill
-1
419
Member Avatar for John_165

I feel hard to understand how the LayoutManager work even the GUI is quite simple. I trying to make the button place below the Tel No JTextField, but it placed beside Address JTextField , not below TelNo JTextField. package gui; import java.awt.BorderLayout; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import javax.swing.Box; …

Member Avatar for JamesCherrill
0
522
Member Avatar for scheppy

I was wondering what would be the best way to implement an algorythm to figure out what side a circle has collided with a rectangle? After check to make sure a circle has collided with the rectangle im trying to figure out how to know what side of the rectangle …

Member Avatar for scheppy
0
4K
Member Avatar for scheppy

Hi Guys, Im currantly having a problem with simulating balls bouncing of each other in a 2d space, everything is working and all, but it just doesant seem natural for me... If we had any math wizzes here now is your time please:) my circles are painted inside of rectangles..... …

Member Avatar for scheppy
0
3K
Member Avatar for scheppy

Hi Guys Its me again, wasnt sure if i should start a new thread so i just did :) I completly redid the code Now im having a problem with the renderer again. It called called in the timer of the controller class... but it doesant get called? Also my …

Member Avatar for scheppy
0
454
Member Avatar for AssertNull

I just posted something and had to go through the "Click the photos with street signs" test before my post was accepted. I was logged in. I don't remember ever doing this before here. Is this new? Is DW getting attacked with bots all of a sudden?

Member Avatar for Reverend Jim
0
532
Member Avatar for scheppy

Currantly trying to make a simple game but i cant get the renderer to repaint. My problem is that i used to make everything in 1 class... much simpler. But now im just not sure anymore. This is what i have so far... it just wont repaint. (Note i have …

Member Avatar for scheppy
0
1K
Member Avatar for Rafin Ishraq
Member Avatar for scheppy

Hi Guys Just starting to make my first java game, im getting a few errors. Im just trying to figure a few things about about the game loops before i get started and this is driving me crazy when i just call the renderer to repaint after i initialize the …

Member Avatar for scheppy
0
1K
Member Avatar for scheppy

Good Day Lets say i have a array of integers.... -always differs in length I need to know all the possibilities the numbers in the string have to add up to a certain number. let say 5; and my array contains 1,3,4,3,5,8,2,1; than the possibilites would be.... (3,2)(4,1)(3,1,1) But i …

Member Avatar for JamesCherrill
0
250
Member Avatar for scheppy

Ok, so I have a JButton on my program and later on in the program i want to put an image on the JButton I have many buttons that start out with images on them, but Im wondering how to add images to the JButton at a later date so …

Member Avatar for JamesCherrill
0
4K
Member Avatar for scheppy

Hey guys I'm looking for some insight in what would be the best way to stop and start a java program remotely with my cell. "For free". Lemme know ANY ideas!!!! Thanks Scheppy

Member Avatar for JamesCherrill
0
112
Member Avatar for scheppy

Hi everyone. Ive finally figured out how to get my JOptionPane always on top no matter what but i cant figure out how to get the results of what button the user has clicked? and how to disable the x on the top left corner? This is what I have. …

Member Avatar for JamesCherrill
0
200
Member Avatar for scheppy

Ive made a java program to do automated tasks for a game. It takes screen shots with java.robot every 250 milliseconds. The program is working great, but it will always crash at around the 30min mark Im running this program on my mac, and this is the crash report that …

Member Avatar for scheppy
0
947
Member Avatar for scheppy

Ive made a java program to do automated tasks for a game. It takes screen shots with java.robot every 250 milliseconds. The program is working great, but it will always crash at around the 30min mark Im running this program on my mac, and this is the crash report that …

Member Avatar for scheppy
0
413
Member Avatar for scheppy

Hello all Im trying to make java robot hold down the command key. I have used the following code. robot.keyPress(KeyEvent.VK_META); robot.Delay(5000); robot.keyRelease(KeyEvent.VK_META); This doesant seem to do the trick. Yes I have searched on how to do this but cannot find a working answer. Am I using the wrong keycode? …

Member Avatar for JamesCherrill
0
2K
Member Avatar for scheppy

Hello All. I have a program that automatically restarts itself atfer a certain amount of time. I am doing this to test some things out. The program is wrapped in a jar. I run the jar from terminal with java -jar ProgramName.jar It will run and will output all the …

Member Avatar for scheppy
0
376
Member Avatar for lstew48

Help, I have a good pseudocode written that is supposed to get the title of a person and how many boxes in an order and print labels. Here is the pseudocode, please help. start Declarations string title string firstName string lastName string streetAddress string city string state num zip num …

Member Avatar for JamesCherrill
-1
147
Member Avatar for ruhulaminice

anybody can help me how i can run a java database program code in eclips software i have tried many times but give no result when run this please help me

Member Avatar for Heanre
0
309
Member Avatar for scheppy

Hi all. What im trying to accomplish is to get strings from within a string. These strings are seperated with "//*//" an example would be String ExampleString = ("//*//helle//*//goodbye//*//1965//*//this is an example//*//the end"); then I would like to seperated into seperate strings. hello goodbye 1964 this is an example the …

Member Avatar for scheppy
0
285
Member Avatar for scheppy

Hi all. Im having trouble getting my menu to work on my window. this is what I have so far as for my code. package sparepartinventory; import java.awt.Dimension; import java.awt.Toolkit; import javax.swing.*; /** * * @author jonathan */ public class SparePartInventory { /** * @param args the command line arguments …

Member Avatar for JamesCherrill
0
275
Member Avatar for scheppy

I am having a problem with setting JButtons so the are not opaque to i can see the image behind them. I also have a JTextfield and here it is working, I dont know what i am doing wrong, I'm creating a gui for the mainmenu of my game. here …

Member Avatar for scheppy
0
318
Member Avatar for scheppy

I know that .bat isnt java, but I dont know were else to place this thread So ive finished my program, has sounds, images and other junk all in a folder on my desktop. as soon as you open the folder you can see the file program.java and also folders …

Member Avatar for DavidKroukamp
0
299
Member Avatar for scheppy

ok, so i have lots of audio in my program that only plays once, and that all just works fine and perfect This is what i do to play music [CODE] try { InputStream a = new FileInputStream ("Sounds-Music/MainTheme.wav"); theme = new AudioStream (a); } catch (java.io.IOException z) //catching the …

Member Avatar for scheppy
0
886
Member Avatar for scheppy

I'm having some trouble using getClientproperty() to get a string value btw, im using java 1.4.2, so no autoboxing I know how to get int values, and here is an example, which works perfect in my program, [CODE] cx = ((Integer) btn.getClientProperty ("cx")).intValue (); [/CODE] but when i try to …

Member Avatar for JamesCherrill
0
247