very good one...thanks a lot
Type: Posts; User: neo_2010
very good one...thanks a lot
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
*/...
Thanks a lot helloworld922,
It just a tip to view how to interact with binary data and files...
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import...
For you Hassan
in main method..Take an instance of your class and your program will run successfuly
Or
new YOUR_CLASS_NAME();
private void jComboBox1ItemStateChanged(java.awt.event.ItemEvent evt) {
if(evt.getStateChange()== evt.SELECTED && evt.getItem().toString().equals("Item 1"))
{
...
I got this sample from JavaPassion site.It's great one for beginners
it's very good sample about getting current Threads information...
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...
Class number 1
class PrintNameThread extends Thread
{
public PrintNameThread(String name) {
super(name);
}
public void run(){
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[])...
Thanks a lot for hint.
i was tired.
Thanks a lot for your replay....
but what do you talking about i can't see it...???
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...
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;...
Thanks Json for your replay.
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...
Never mind JavaPF,That's the main purpose form the forum.
Thanks again....
Thanks a lot for your comment again...I will do my best.
Thanks a lot for your comment...I'm just want to do what i have to do in this new and great forum
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...
Please PF if you make comments for this sample.
Thanks for your help
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...
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 */...
Thanks a lot for your effort
Perfect sample....Good Person
Thanks all for replay...