No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey guys, like I said before, im new to html and css and im having some trouble with the layout of my website. I basically have 2 problems/question. 1- I am trying to align the content of my page... but i am having a hard time. I've attached a picture … |
|
Hey! I'm having trouble positioning my buttons and banner. It has been 2 days that i'm trying to fix this but no luck. I'm hoping someone can help my find my mistakeS (as i'm new to html/css). I'm using dreamweaver as my editor. When select the design or live view … |
|
Hello, I'm currently looking for a book the covers "how to develop a game". I have basic knowledge of Java. I know: arrays,classes,GUI,basic animation with Timer class,basic graphic. I want to move on and start learning threads, collitions, keyboards and mouselistener and all other game related topic... I was wondering … |
|
Hello lovely people, I created an application in which I use pictures to create background and other things. But when i send my application to someone so they can have a look at it, the image are not displayed. I know why they are not displaying(the image directory isn't the … |
|
Re:
Hey all. I'm making a program which uses many buttons and a textfield. I need help and some explaining on how to organise components within a panel. For example,using [CODE]mainPanel.add(BorderLayout.NORTH,display); mainPanel.add(BorderLayout.CENTER,background); mainPanel.add(BorderLayout.EAST,buttonBox); mainPanel.add(BorderLayout.WEST,buttonBox2 );[/CODE] All components (the buttons within the background panel,the buttons within buttonbox1/2 and the display field) are … |
|
hello guys, I don't have a programming question but a mathematical one but need to implement it in a program. I need a formula the will let me find the X,Y position of Circular motion. For example: earth travelling around the sun, I would wanna know the X,Y position of … |
|
Hello guys, I was wondering is it possible to set an animated Background to a JPanel instead of a simple colored background? |
|
hey guys, I drew many lines for the purpose of my project but for some reason, I cannot draw this specific line[U](code line 44)[/U] and cannot figure out why. Note: I have debugged the code and this code line is red by Java but it's not applied to the graphic. … |
|
Hello guys, Im tring to make a stopwatch display in JTextField but so far i'am unable too :-(. The stopWatch itself is working perfectly but only in the system output window... I want the time to be displayed in the textfield(or Label) which is within a JFrame. I'll appreciate any … |
|
Hello, I'm having trouble displaying an output from my code. It suppose to act like a stopwatch where seconds increment and then minutes and then hours but for some reason its not working and I cannot figure out why... :-( hope some some can guide me. Thanks [CODE]/* * To … |
|
Hello guys, I've been surfing the web for hours and trying different published codes to make a [B]stopwatch[/B] work but had no luck so far so I had to come here hoping someone can guide me or refer me to a tutorial on how to make one. [B]The stopwatch is … |
|
Hello Guys, Im Using GridbagLayout as LayoutManager, but I am not able to place my button at top-right of my frame. I'm also attaching my current output and what i actually want to do. here's my code: [CODE]package projectilemotion; /** * * @author Taimoor */ import javax.swing.*; import java.awt.*; public … |
|
Re:
Hi am working on a shape inheritance hierarchy and am having trouble with this particular class I have two errors that state class, interface, or enum expected: on the lines indicated in red everything else seems fine I have attached the whole project If you need to check out other … |
|
Hello Guys, I'm trying to learn how to use the GridBagLayout manager... but when I write it like the following: [B]JPanel panel = new JPanel(new GridBagLayout());[/B], Java tells me the following: [U]cannot find symbol symbol: constructor JPanel(gridbaglayout.GridBagLayout) location: class.javax.swing.JPanel.[/U] When this didn't work, I tried type casting [B]JPanel panel = … |
|
Hello Guys, I know how to draw line and shapes but how can i draw a parabol??? ( i need a 2D line) Any suggestion or pointers are appreciated! |
|
Hello Lovely People, Please have a look at my GUI first, before reading the rest (I've attached a picture, see at the end of my post). I'm having two problem with this GUI. 1) I don't want my Start button to be as long as it is. I want it … |
|
Re:
Hi What is the best way to go forward with finding all possible combinations of nCr Eg: 5C3 for the number 12345 123 134 135 145 234 235 345 Like that thanks |
|
Hello guys, I'm currently working on a project that simulates a projectile motion. So far I'm preparing the flowchart of the program. I'm stuck when it comes to designing the path([B]2D Line[/B]) of the projectile Motion. So my question is, what fields,methods my class need in order to draw (in … |
|
I want to load an image for each different shoe and I'm using JLabel to help me do this. I put the image's path in the JLabel constructor but when the code runs, it doesn't display any image. Instead of an image, the image path is written. appreciate any help … |
|
hello guys, i have this code written down to print a magic square and i get an error. public void doMagic() { int k = 1; int row = 0; int col = order/2; msArray[row][col] = k; for ( int r = 0; r < msArray.length; r++) { for ( … |
|
Re:
I wrote the following code for a homework problem, but it's stuck in an infinate loop. I'm not sure how to correct that problem. The other issue is I want the answer to be given in two decimal places and not rounded in any way and it appears that my … |
|
// close an account with a given number public void closeAccount(int id) { } this is a bank project... a customer account is created(array). i would like to know how to delete an array? let say: account number 185649 is found in array[15]. then i would like to delete this … |