Thank you: copeg, jps, veeer, helloworld922 :)
Type: Posts; User: voltaire
Thank you: copeg, jps, veeer, helloworld922 :)
:o actually I am not a native English speaker, So I am sorry about mistakes or misunderstanding of the English language.
I will define what I mean by "master" as I understand it.
I understand...
I finished my university this year (2012):cool:. My study was mainly about Java programming, and also studied one big Database course, and several networking courses. But the focus is on Java...
The frame is displayed empty,, so how to make the Rectangle object visible :confused:
package rectang;
import javax.swing.*;
import java.awt.*;
import java.awt.Graphics.*;
public class...
package javaapplication2;
import java.util.*;
public class MainClass {
public static void main(String[] args) {
LinkedList <Integer> IntegerNode = new LinkedList<Integer>();
Do you mean that this method only works when there is a selected text, and doesn't work otherwise? Ok I have tried both ways (with selected and unselected text) but no result :confused:
If it is...
I used it, no errors, but after clicking the JButton, I expected to be able to right-click on any text editor and normally paste whatever copied from the JTextArea, but that doen't happen :)
This...
Thank you helloworld922 :)
I have a little question:
How can I open the jar file to get the manifest file?
Actually there is a file called "manifest.mf" exists in the main project...
Hi helloworld922, Hi Json :) Thank you for your responds
my problem has been solved. :D
After I read helloworld922's reply above, I discovered a new term to me which is "console output". Hence...
Say there are a JButton called copy, and a JTextArea called txtArea, once the button clicked a copy of whatever in the JTextArea is, moved to the clipboard so that I can paste it to any text editor...
:) Thank you copeg , that was a tricky problem
:) I didn't provide the full code because I wnat to focus on the area of the problem (as I think it is).
Here is the full simple code:
package numbergeneratorchecker;
import...
I use NetBeans IDE 4.1. I wrote 5 classes one of them is the main class. All the code is free of errors, I tested it very well, and it does work as it should (as expected)
I am new in producing...
This is a simple code that create a litener to a button, actually I have two buttons
click_1 and click_2
private class ButtonWatcher implements ActionListener
{
public void...
Thank You ,, I got it. @};-
This code simply prints the even numbers from 0 to 10 which are
0,2,4,6,8,10
If you change the variables first and last to say 20 and 100 respectively then the result will be the even numbers...
:D I solved it myself ,, I don't need any help :D
@};-
Listen to two JRadioButton + ons JButton to produce output
I am a beginner in Java ..
I am trying to write a code for a simple program
I will omit the details; I will focus here on the problem....
I solved it myself .. :D
When to implement an abstract interface, I should provide the code for all the abstract methods to get my code to compile and work... if I don't want the method to does...
The problem is in RED
the code that is in red is not compiled ... why .. What I missed in my code
package promouseevent;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
when I try to cast int to String through this way, the compiler tells me they are inconvertible types :confused: , I know that there are other ways for holding int value as a String, but why not...
that was a university homework
sigh. I thought I couldn't do it
Thank you ..THANK YOoooooooU (*) Freaky Chris
I am a beginner in java programming :cool:
I am using NetBeans IDE 4.1
this code is supposed to do this :-
1- create a file "C:\\newTest.txt" . use PrintWriter for writing.
2- use...