Search:

Type: Posts; User: voltaire

Search: Search took 0.08 seconds.

  1. Re: How many programming languages a programmer could master in Real life.

    Thank you: copeg, jps, veeer, helloworld922 :)
  2. Re: How many programming languages a programmer could master in Real life.

    :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...
  3. How many programming languages a programmer could master in Real life.

    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...
  4. How to display a Rectangle object in JFrame (Problem).

    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...
  5. ListIterator with LinkedList to search a value .. I want to modify code to do that?

    package javaapplication2;
    import java.util.*;


    public class MainClass {


    public static void main(String[] args) {
    LinkedList <Integer> IntegerNode = new LinkedList<Integer>();
  6. Re: program a button that copy whatever in a JTextArea

    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...
  7. Re: program a button that copy whatever in a JTextArea

    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...
  8. [SOLVED] View Post

    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...
  9. [SOLVED] View Post

    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...
  10. program a button that copy whatever in a JTextArea

    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...
  11. [SOLVED] Re: ActionListener: use two bottuns with getSource() doesn't work

    :) Thank you copeg , that was a tricky problem
  12. [SOLVED] Re: ActionListener: use two bottuns with getSource() doesn't work

    :) 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...
  13. [SOLVED] View Post

    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...
  14. [SOLVED] ActionListener: use two bottuns with getSource() doesn't work

    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...
  15. Replies
    2
    Views
    6,633

    [SOLVED] Re: how to print for-loop output to JTextArea

    Thank You ,, I got it. @};-
  16. Replies
    2
    Views
    6,633

    [SOLVED] how to print for-loop output to JTextArea

    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...
  17. [SOLVED] Re: Listen to two JRadioButton + ons JButton to produce output

    :D I solved it myself ,, I don't need any help :D

    @};-
  18. [SOLVED] Listen to two JRadioButton + ons JButton to produce output

    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....
  19. Replies
    2
    Views
    6,030

    [SOLVED] Re: implements MouseListener doesn't work why

    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...
  20. Replies
    2
    Views
    6,030

    [SOLVED] implements MouseListener doesn't work why

    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.*;
  21. [SOLVED] why casting int to String is not possible through brackets method

    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...
  22. [SOLVED] Re: allow a new input, dicarding the last mismatch input without terminating the prog

    that was a university homework
    sigh. I thought I couldn't do it
    Thank you ..THANK YOoooooooU (*) Freaky Chris
  23. [SOLVED] allow a new input, dicarding the last mismatch input without terminating the program

    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...
Results 1 to 23 of 24