32,199 Topics

Member Avatar for
Member Avatar for divinity02

hey you guys I just want to take this time to wish your guys a merry christmas and a bright and prosperous new year, I know that I will have to do over this programming course in the next semester even though i havent got any result yet. still havent …

Member Avatar for JamesCherrill
3
148
Member Avatar for hwoarang69

I have created a height score class by keep track of time. In this class top 5 score are saved in file using Preferences and than they are display on screen. First I am setting up top5Time array by filling in all zero's. Than I am getting top 5 time …

Member Avatar for Traevel
0
249
Member Avatar for hwoarang69

I have a 2d array and I want to check if its in increasing order. here is a example of 2d array increasing order: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, here …

Member Avatar for JamesCherrill
0
245
Member Avatar for hwoarang69

How can I create a TextureRegion into button in libgdx-android(java)? I found a simailar solution here: http://stackoverflow.com/questions/21488311/libgdx-how-to-create-a-button problem is that it is using BitmapFont and I am not. I upload a image using TextureRegion and now I want to turn this image into button. any ideas?

Member Avatar for hwoarang69
0
181
Member Avatar for smurfy

Hello Geeks; In the eve of new year i have some fresh topics for you. I heard that web is full of real life oop design samples and comprehensive object oriented design guides. Which sites would you offer or which tutorial sequence should i follow ??? PS. Of course other …

Member Avatar for JamesCherrill
0
232
Member Avatar for rhada79

Need Assistance Please. My code is not adding the size and the toppins: import javax.swing.*; import javax.swing.border.*; import java.awt.*; import java.awt.event.*; import java.util.EventObject; public class PizzaCalculator extends JFrame implements ActionListener { JPanel westPanel = new JPanel(); JPanel eastPanel = new JPanel(); JPanel centerPanel = new JPanel(); JPanel northPanel = new …

Member Avatar for rhada79
0
3K
Member Avatar for Steven_10

Hello I am studying for the 1Z0-803 (Oracle Certified Associate, Java SE 7 Programmer) exam and I have the hardest time with following the flow of nested loops. On practice tests I do ok on more complex concepts like polymorphism but I miss over half of question with nested loops. …

Member Avatar for JamesCherrill
0
275
Member Avatar for jalpesh_007

Hello, I am working on project of developing video stagenograhy. i have referred following link. http://www.dreamincode.net/forums/topic/269189-video-steganography/ also read a lots of material on it and found total 10 encoding and decoding algorithm. please send/suggest me good material for video steganography. Just let me know how can encode/decode my message using …

Member Avatar for rubberman
0
154
Member Avatar for divinity02

hi all just a question. if you are making a if statement in a game and the compile is not reading the condition in the if statement and it jumping out and reading the rest of the codes what is the cause of that. I am trying to build my …

Member Avatar for rubberman
0
167
Member Avatar for divinity02

hi Iam doing a payroll system for a compny where I have to implement a program to calculate workers pay. for commission paid workers, hourly paid workers and fixed monthly paid worker. i have done the codes but something is wrong somewhere between the codes. cant tell if it is …

Member Avatar for JamesCherrill
0
274
Member Avatar for jonardy

This project deals with EOF-based loops, using the while construct where we do not know the exact number of times a loop will iterate (perform the associated block of code). We will continue to build on our knowledge of if/else constructs. Use the variables given below to solve the problem. …

Member Avatar for JamesCherrill
0
214
Member Avatar for divinity02

it it is me again. I am know guys are probably thinking am bothersome here is my question. it is about the java game am building no I havent finish it yet, still having some trouble i have declare this syntax, I know that I have asked this question before …

Member Avatar for divinity02
0
243
Member Avatar for ankit1122
Member Avatar for JamesCherrill
0
147
Member Avatar for sallubhai

Hi I wanted to draw a field like this photo which I have attached. I would appreciate your help. I have wrote so much now: for (int x = 2; x < 12; x++) { for (int y = 2; y <= 12; y++) { g.drawRect(40*x, 40*y, 40, 40); } …

Member Avatar for JamesCherrill
0
301
Member Avatar for chahinez.abdelo.9

product between 2 arrays of 2 dimensions and be the score is stored in another array using ecplise and gridsim for exemple: mat3[i][j]= mat1[i][j]* mat2[i][j]

Member Avatar for chahinez.abdelo.9
0
190
Member Avatar for FruitPunch

I can't figure out the code for, 1) Get an error message dialog when there's no input in the textfield. 2) Get an error message when you put alphabets or other characters except for numbers.

Member Avatar for Freaky_Chris
0
261
Member Avatar for GoneGirl

SO i feel totally annoying but I got to ask for advice. As you see in the title im trying to call a constructor from an other class. Im trying to add and create a new gymMember for every weight that is found in the file into a new array …

Member Avatar for GoneGirl
0
163
Member Avatar for My_1

I got 1 when i pass button and if i pass the second timeis still 1 not is ++ int click = 0; public ButtonHandler(int x, int y, MineGrid g) { row = x; col = y; grid = g; } public void actionPerformed(ActionEvent event) else { click ++; JButton …

Member Avatar for My_1
0
175
Member Avatar for StarZ

How come this program doesn't run? Well.. not just this program, all my other ones. There are no mistakes, I wrote the code as this textbook says but its not running and its giving this error (on dr java): 1 error found: File: (no associated file) [line: (no source location)] …

Member Avatar for stultuske
0
426
Member Avatar for jonardy

This class is designed to test the efficiency of the two search models. You will simultaneously populate both arrays with the same random numbers. This will guarantee that both arrays have the exact same content. Sort only ONE array using Arrays.sort. This sorted array will be used with the bin_search …

Member Avatar for jonardy
0
119
Member Avatar for GoneGirl

Hi guys, Im trying some stuff out in java but im a little stuck and confused by stackoverflow answers so I wanted to ask here if its ok. I have a lot of code but I just took out this one little part that i wanna be able for a …

Member Avatar for GoneGirl
0
136
Member Avatar for smurfy

Hi everyone ; Thanks to Dani, there are lots of links provided around the topics like this. I am a single Java programmer, writing short java programmes in Eclipse. However, i need to work with others and produce long but managable java codes. Briefly my ambition is : 1.Creating some …

Member Avatar for smurfy
0
500
Member Avatar for ali11

getting following error: incompatible types: vmpr cannot be converted to JFrame JFrame VendingMachine = new vmpr(); import java.awt.Container; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JLabel; import java.awt.*; import javax.swing.*; import javax.swing.JFrame; public class vmgu extends JFrame implements ActionListener { public JButton button[]; public JLabel label; public JLabel label2; public …

Member Avatar for stultuske
0
346
Member Avatar for cool_zephyr

I need to create stateful web pages consisting of various forms to be filled up by the user. I want to make UI tools look something like that DOJO framework provides. My problem is what tool is better suited for this type of website?? DOJO+JSP ? (but i'm confused about …

0
97
Member Avatar for divinity02

hi guys remember that I had a game to build and was asking for help, well I spoke with my lecture and the game what I was talking about is more or less a program. it is a Java multiplication table math game but I have to build it like …

Member Avatar for Taywin
0
198
Member Avatar for wilferraciolli

Hi I wonder if anyone can help please. I am stuck after unmarsheling complex type from JAXB in my web service operation. I can successfully unmarshal and loop through it which is fine however i am performing a search and want to return all the elements that match the search. …

Member Avatar for Don_4
0
190
Member Avatar for ezekel

I have this hex code and i want to convert to binary. 242465313037382c3031343536373536343335363738322c5858582c3134303632363033343033375f43314530312e6a70672c32332c302cc3bfc398c3bfc39be2809e13200e100e0c13100f10151413161c2f1e1c1a1a1c39292b222f44c2ab62e2809cc387243d03c592c2a9c387434c0e38064628c39f794e202d3101c2a4c2a601452534c593c39201282002c5bec2abc3b8c5bec39401c2a505c2a948c382e2809a15c39bc2ab3535c5a0c38648690139c3aa5ac2b4e280b921c2a1c28d2065210e7d4d371de280a127c39054c38b5654741de280b0c3986120c380c3b734c3a16f70c3b804c386e282ac761cc393c3a615e280a1c3bde28098c388c3834ec398c3bf6540c2a3c3acc5a00fc38d70c398c3bac5a0571ecb863cc2ab45c3ab213fc28d01c2ad13c2a47bc2bec2abc5a149e282acc2be7c23c3aec383c3ba203ec3947fe280a0151f5a2f7013c3ad52c3ba20c3bc2920c384c387c3b8c388c3ba2041713cc3997fc3a7c2abc3be746e73c395c39bc3b33420c3a1c38fc2ad1408514b400b566c57c3bd6b7d050345e280b010c2bc6ce282acc3a3771401e280b03de2809a01c3bac39058c3bc53c3a219e2809cc3b0c2a4c3981fc3bfc390c3abc2b6c5937bc393c3820e6801c3a146314b4c02c5a0282002c5a06b20742a4706c2b3c39e36195ec592290114e2809a5946646520c3bdc395c3afc3b5c2a8192a3741 but I don't know how to convert this kind of data. Thank you in advance.

Member Avatar for cgeier
0
822
Member Avatar for newbi11

Hi guys I have no idea how to go about this but I would like to create a form that displays results in the text area . For example if a user fills up his/her details on the form and clicks the submit button , his/her information would be displayed …

Member Avatar for diafol
0
175
Member Avatar for juan.r.serrano.73

I need to calculate the digest value of the x509certificate and insert the siging process time. The signature format is XADES-BES

Member Avatar for richieking
0
90
Member Avatar for Rblalock

Hello, I'm new to the DaniWeb community and I am in need of some serious help. I am taking a web design class, but the teacher I currently have now has no idea what he is doing; he is an Info Tech teacher, but we have two classes at the …

Member Avatar for Gregory_4
0
3K

The End.