- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
21 Posted Topics
Hello, I have worked on a project to make a custom-like Internal Frame. There are also other classes which extends it, instead of JInternalFrame. The project works quite good, but there is a problem. The discription of how the JPanel window works: _______________________________________________________________ There is a main JPanel which contians … | |
Re: Do you want to add an ActionListener to all buttons in the btnArray? There are 2 code-snippets based on that, here: Here are the code-snippets: Code-Snippet #1 : [CODE] /** * NOTE: * This code-snippet only provides the button tutorial. * Not any other java code. */ import java.awt.*; import … | |
Re: Is "Windows secure kit 2012" a program? You could try to locate the containing-folder and use the uninstall.exe if there is one inside of it. Otherwise, you could type: "uninstall a program" or "Programs and Features" on the searchbar on start-menu. A window should appear. Then you select the program, … | |
Re: Instead of pressing CTRL + ALT + DELETE in order to bring up the logon screen. Have you tried CTRL + SHIFT + ESC which runs your taskmanager without going to logon screen, and from there try to end the program? Hope that helps. | |
Re: You could try to open up TaskManager, `CTRL + SHIFT + ESC`. Then click on the `"Processes"` tab, from there right-click on `explorer.exe` and then click on `End process`. This will probably disable `explorer.exe`, which means that windows, taskbar and desktop wont be visible. Then, just open up Taskmanager again … | |
Re: What kind of image file-type is it? Did you try to open the image (file-type) in mediaplayer, The only known file-types I have ever opened with mediaplayer are .gif and possibly .bmp. Try windows photogallery and see if that works. If the file (image) didn't work with mediaplayer, then right-click … ![]() | |
Re: The harddrive with windows 8 might be the primary harddrive. Which means that the harddrive with windows 7 is secondary. There might be an error in the bootloader on your other harddrive, otherwise you should take a look at your BIOS, Check that the windows7 harddrive is the primary harddrive. … | |
Re: This is a good tutorial on [Threads](http://www.youtube.com/watch?v=VYN-CBtPNiM&list=PL27BCE863B6A864E3&index=26&feature=plpp_video). You will probably understand more, than if I would have sent you a code-snippet. Hope it helps. | |
Re: I think I know some services you can enable on windows XP, to get your internet access back and running. However, Im not completely sure about the names as I am currently running on a linux system. If you want to enable the theme again, here's a short tutorial: Get … | |
Re: When you use replace('o', 'e'); You dont replace o and e in the string "holle". You just replace 'o' with an 'e' character. It doesn't switch the location of the 'o' and 'e' characters. You would need to make two statements to get this code right. 1. replace('o','e'); 2. replace('e','o'); … | |
Re: I think you are probably looking for a class that can save and load a text file or a file of any file-type, which you can later load into memory. Here are some basic sample classes. Note: These two concept classes aren't executable standalone-classes. These classes are public and requires … | |
Re: I guess you are using `WUBI` to install Ubuntu alongside Windows. ---- `WUBI` was origionally created for Windows users to try out the Linux Operating System, in order for the users to later install a full copy of the operating system on another HDD or on a another partition, even … | |
Re: Rundll is not a process from windows. However rundll32.exe is a process from windows, and should be safe. As some viruses use a similar name to "Rundll32.exe", Rundll.exe is probably virus-related. You could try to open up taskmanager. CTRL + SHIFT + ESC And go to the "processes" tab. If … | |
Re: I think I know what you mean. What you need to take a look at is called `KeyListener`. This is provided by oracle's tutorials: [KeyListeners](http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/event/KeyListener.html) Make sure to read through and you will probably understand how KeyListeners work. Here is a Code-Snippet to get you started: import java.awt.*; import java.awt.event.*; … | |
Re: This could be done, as mentioned above with help from a JButton. Or 3 JButtons. Code-Snippet: import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Class01 extends JFrame implements ActionListener { private JPanel contentPane; private JLabel bg; private Icon[] wallpaper; private JButton[] btn = new JButton[4]; public Class01() { // // … | |
Re: This sounds like an artifact. This is probably hardware-related. Check you RAM and Videocard. As mentioned above -connect an external monitor to the vga port on the laptop. | |
Re: There could be a hardware problem, -as mentioned above. As the computer usually generates a beep, when there are problems with the hardware. Otherwise, make sure you have the latest drivers installed. The problem is most likely to be hardware-related, probably videocard or monitor issue.. | |
Re: This might be due to compatibilty issues with windows current theme. However, this could possibly be changed. On the game-icon (starcraft icon) right-click> properties -> a window will appear -> select the compatibility tab > and make sure these aren't checked: * Run in 640x480 screen resolution * Disable display … | |
Re: Creating a web-browser in Java isn't the best idea. JEditorPane was originally used in order to display simple web-pages such as HTML files created by the user itself. Trying to browse the web in a JEditorPane will be very frustrating as you'll notice nearly no plugin or command will work. … | |
Hello, I'm trying to make a JPanel with JFrame capabilities, such as resizing, and moving, Everything seems to work fine, altough there are minor flickering inside the JPanel, I have numeral repaints and I have a method called update(), which uses absolute position to arrange Containers and Components. Whenever the … | |
Re: Are you going to create moving JPanels during runtime, I recommend using MouseMotionListener and javax.swing.Timer. Here is an example: [CODE] [COLOR="Green"]// Moving JPanel during runtime.[/COLOR] import java.awt.*; import java.awt.event.*; import javax.swing.*; public class MovingPnlDemo extends JFrame implements ActionListener, MouseListener, MouseMotionListener { private JPanel contentPane; private JPanel panel; private javax.swing.Timer timer; … |
The End.