Search:

Type: Posts; User: neo_2010

Page 1 of 2 1 2

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    32,882

    Re: How To: Add line numbers to your JTextArea

    very good one...thanks a lot
  2. Replies
    2
    Views
    4,319

    HashMap usage in Java

    Hi Everybody,
    I made a small sample about using HashMaps in Java ,and i hope to be useful to everyone what to know how to manipulate with it.


    /**
    * @author : Mohamed Saleh AbdEl-Aziz
    */...
  3. Replies
    3
    Views
    26,212

    Re: Write and Read Binary Data

    Thanks a lot helloworld922,
    It just a tip to view how to interact with binary data and files...
  4. Replies
    3
    Views
    26,212

    How to Write and Read Binary Data

    import java.io.DataInputStream;
    import java.io.DataOutputStream;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import...
  5. Replies
    6
    Views
    1,662

    Re: Need Help with program

    For you Hassan
    in main method..Take an instance of your class and your program will run successfuly
    Or

    new YOUR_CLASS_NAME();
  6. Replies
    2
    Views
    2,946

    Re: do actions in ComboBox

    private void jComboBox1ItemStateChanged(java.awt.event.ItemEvent evt) {
    if(evt.getStateChange()== evt.SELECTED && evt.getItem().toString().equals("Item 1"))
    {
    ...
  7. Replies
    1
    Views
    1,993

    Threading question....

    I got this sample from JavaPassion site.It's great one for beginners
    it's very good sample about getting current Threads information...
  8. Replies
    2
    Views
    109,282

    How to Use Timer in Java

    Hi everybody i did a small sample about using Timers in Java it's so simple to use.The main idea that you want to execute simple process every specific time.


    import java.util.Timer;
    import...
  9. Replies
    1
    Views
    1,804

    Problem in Threading , ThreadGroup

    Class number 1

    class PrintNameThread extends Thread
    {

    public PrintNameThread(String name) {
    super(name);
    }

    public void run(){
  10. Replies
    4
    Views
    2,040

    Probelm in Path and Paths Classes

    Hi Everybody.
    I'm trying to used these classes but i got an error about package.This is my sample

    import java.nio.file.Paths;

    public class UsingPaths {
    public static void main(String args[])...
  11. Replies
    4
    Views
    2,115

    Re: problem in JRadioButton

    Thanks a lot for hint.
    i was tired.
  12. Replies
    4
    Views
    2,115

    Re: problem in JRadioButton

    Thanks a lot for your replay....
    but what do you talking about i can't see it...???
  13. Replies
    1
    Views
    4,175

    How to Use the JList component - Java Swing

    http://javaprogrammingforums.com/images/JList.jpg


    import java.awt.Color;
    import java.awt.FlowLayout;
    import javax.swing.border.*;
    import javax.swing.JFrame;
    import javax.swing.JList;
    import...
  14. Replies
    4
    Views
    2,115

    Buttons don't work on using JRadioButton

    I'm trying to implement simple sample about using JRadioButton and i don't know Why some Buttons works and others not
    That is my code...


    import java.awt.FlowLayout;
    import java.awt.Font;...
  15. [SOLVED] Re: Why SwingUtilities....???

    Thanks Json for your replay.
  16. [SOLVED] Function of javax.swing.SwingUtilities.invokeLater(new Runnable(

    Hi Everybody,
    I just what to know why some samples contains this portion in calling main method



    public static void main(String[] args) {
    javax.swing.SwingUtilities.invokeLater(new...
  17. Re: How to Pass unlimited Arguments to a Function

    Never mind JavaPF,That's the main purpose form the forum.
    Thanks again....
  18. Replies
    3
    Views
    6,470

    Re: Generic programming example

    Thanks a lot for your comment again...I will do my best.
  19. Replies
    4
    Views
    22,105

    Re: How to Use a JSlider - Java Swing

    Thanks a lot for your comment...I'm just want to do what i have to do in this new and great forum
  20. Replies
    4
    Views
    22,105

    How to Use a JSlider - Java Swing

    This example code shows you how to use a JSlider swing component.

    http://javaprogrammingforums.com/images/slider.jpg


    import java.awt.BorderLayout;
    import java.awt.Color;
    import...
  21. Replies
    3
    Views
    6,267

    Re: How to Read a Portion of a File

    Please PF if you make comments for this sample.
    Thanks for your help
  22. Replies
    3
    Views
    6,470

    Generic programming example

    I hope to be useful for everyone.

    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Hashtable;
    import java.util.List;
    import java.util.Map;

    //Note : Java can't insert...
  23. How to Pass unlimited Arguments to a Function

    This sample demonstrate how to pass unlimited arguments to your function and how to know object types passed to your function.


    public class UnlimitedArgs {

    /** Default constructor */...
  24. Replies
    4
    Views
    3,573

    [SOLVED] Re: Questions About Threads

    Thanks a lot for your effort
    Perfect sample....Good Person
  25. Replies
    4
    Views
    2,160

    Re: confused about java development ides

    Thanks all for replay...
Results 1 to 25 of 27
Page 1 of 2 1 2