- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I am trying to load a background in full screen mode, but when i run my program the screen is just white. Can someone point me to the reason why? [CODE]import java.awt.*; import javax.swing.*; public class DrawComponents { GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice device = env.getDefaultScreenDevice(); GraphicsConfiguration gc = device.getDefaultConfiguration(); … |
|
I am trying to build an animation. It just has two pictures or scenes. I want it to start at one picture and end at another. When I run my project all I see is a blank screen. I have checked and made sure that my Image paths are correct. … |
|
Re:
Good Day! My professor in object oriented programming wants us to collect a JFrame form to a class.... he told us the code but it did not work...Hope you may help me...and thanks in advance [code]import javax.swing.JOptionPane; public class Firm { //---------------------------------------------------------- // Creates a staff of employees for a … |
|
Re:
Please Download This [url]http://www.mediafire.com/file/xikt4zotccrkrv4/GPA_Arid.jar[/url] I am facing Reset Problem. It Reset but when I Change Credit Hours it restore previous entered Value. Reset Button [CODE]private void Reset(java.awt.event.ActionEvent evt) { _M1.setEditable(false); _M2.setEditable(false); _M3.setEditable(false); _M4.setEditable(false); _M5.setEditable(false); _M6.setEditable(false); _M1.setText(""); _M2.setText(""); _M3.setText(""); _M4.setText(""); _M5.setText(""); _M6.setText(""); _C1.setSelectedIndex(0); _C2.setSelectedIndex(0); _C3.setSelectedIndex(0); _C4.setSelectedIndex(0); _C5.setSelectedIndex(0); _C6.setSelectedIndex(0); Master.setSelectedIndex(0); _C1.requestFocus(); } … |
|
Re:
I am over my head in my current class and could use help or pointers changing the program I have written. It is a mortgage calculator and I have to modify it. My class texts seem over my head and I have to drive 20 minutes and use public internet … |
|
Sometimes when I run a program that I am writing in NetBeans, it runs old code or something. It want do what I just put in. Instead it will run past code. I will get a bug in the program I am writing and when I fix it. It still … |
|
Re:
Hi folks.. Can you tell how many times the loop is executed with [B]exact[/B] reason. [CODE] int c=10; while(c>1) { c++; } System.out.println("loop over."); [/CODE] I am expecting an indepth answer... |
|
Re:
Hello, I am working on a program that generates 100 random integers and then sorts them into even and odd. When i go to compile the program, it tells me that it cannot find variables randonum, evennum, and oddnum. I'm new to arrays so i'm guessing i declared/ defined them … |
|
I used one action listener for an array of buttons that do different things. Exploring methods. I am fairly new to java. I just made a tic tac toe program. I am hoping for people to look it over and tell me what they think, ways to make it better, … |
|
I need to know how I can set up a action listener for an array of buttons. I am trying to make a tic tac toe game. I am new to programming. I have seen someone on here ask a similar question but I could not grasp what they where … |