SlideShare uma empresa Scribd logo
1 de 34
Baixar para ler offline
»
»
»
»
»
https://www.facebook.com/Oxus20

oxus20@gmail.com

Unicode
Abjad Example
Bubble Example
Flip Example
English Number to Persian

Java Unicode
with
Live GUI
Examples
Prepared By: Nahid Razaie
Edited
By: Abdul Rahman Sherzad
Agenda
» Unicode Characters
» Abjad Examples
˃

‫687 >= بسم اهلل الرحمن الرحیم‬

» Bubble Examples
˃ OXUS20 => ⓄⓍⓊⓈ②⓪

» Flip Examples
˃ Oxus20 => 02snxo

» Number Examples
˃ 1234567890 => ۱۲۳۴۵۶۷۸۹۰
2

https://www.facebook.com/Oxus20
Character Sets
» ASCII
˃ The 128 most commonly-used characters are each
represented by a sequence of 7 bits known as the
character’s ASCII code.
˃ The characters include letters, digits, punctuation
marks, and nonprintable control characters such as
the backspace, tab, carriage return, etc.

» Unicode
˃ The Unicode standard defines underlying numeric
values for a huge set of 65,536 characters.
3

https://www.facebook.com/Oxus20
Unicode Tips
» Bubble Example
˃ OXUS20 => ⓄⓍⓊⓈ➁ⓞ

» Flip Example
˃ OXUS20 => 02snxo

» English Number to Persian
˃ 1234 => ۱۲۳۴
4

https://www.facebook.com/Oxus20
What is Abjad ?
» Every letter in the
Arabic alphabet has a
numerical
(Gematrical) value.
» A number of
calculations can be
made from this basis.
» These are referred to
as numerological
(Abjad) calculations.
5

https://www.facebook.com/Oxus20
‫س‬

60

‫م‬

40

‫ا‬

1
30
30
5

‫ا‬

1

‫ل‬

30

‫ر‬

200

‫ح‬

8

‫م‬

40

‫ن‬

50

‫ا‬

1

‫ل‬

30

‫ر‬

200

‫ح‬

8

‫ی‬

10

‫م‬
https://www.facebook.com/Oxus20

2

‫ه‬

786

‫ب‬

‫ل‬

‫بسم اهلل الرحمن الرحیم‬

Values

‫ل‬

Abjad Calculation
Example

Arabic Letters

40

Total

786

6
Abjad Calculator in JAVA
Graphical User Interface

7

https://www.facebook.com/Oxus20
Abjad Calculator in JAVA
Required Components

» JLabel
» JTextField
» JButton

» JPanel
» ImageIcon
8

https://www.facebook.com/Oxus20
Abjad Calculator in JAVA (Source Code)
import
import
import
import
import

java.awt.BorderLayout;
java.awt.Color;
java.awt.GridLayout;
java.awt.event.ActionEvent;
java.awt.event.ActionListener;

import
import
import
import
import
import

javax.swing.ImageIcon;
javax.swing.JButton;
javax.swing.JFrame;
javax.swing.JLabel;
javax.swing.JPanel;
javax.swing.JTextField;

public class AbjadCalculator extends JFrame implements ActionListener {
// Require Components Declarations
private JLabel lblInput, lblOutput;
private JTextField txtInput, txtOutput;
private JButton btnCalculate, btnExit;
private JPanel panelSouth, panelNorth;
private ImageIcon imgBackround;
private JLabel lblBackground;

https://www.facebook.com/Oxus20

9
public AbjadCalculator() {
// Background Customization
imgBackround = new ImageIcon(getClass().getResource("background.jpg"));
lblBackground = new JLabel(imgBackround);
add(lblBackground);
// Labels and TextFields Customization
lblInput = new JLabel("Type your name in Arabic/Persian:");
lblInput.setForeground(Color.white);
txtInput = new JTextField("‫;)"بسم هللا الرحمن الرحیم‬
txtInput.setHorizontalAlignment(JTextField.RIGHT);
lblOutput = new JLabel("Abjad calculation of your name:");
lblOutput.setForeground(Color.white);
txtOutput = new JTextField("786");
panelNorth = new JPanel();
panelNorth.setBackground(new Color(0, 153, 204));
panelNorth.setLayout(new GridLayout(3, 2));
panelNorth.add(lblInput);
panelNorth.add(txtInput);
panelNorth.add(lblOutput);
panelNorth.add(txtOutput);
add(panelNorth, BorderLayout.NORTH);

https://www.facebook.com/Oxus20

10
// Buttons Customization
btnCalculate = new JButton("Calculate");
btnCalculate.addActionListener(this);
btnExit = new JButton("Exit");
btnExit.addActionListener(this);
panelSouth = new JPanel();
panelSouth.setBackground(new Color(0, 153, 204));
panelSouth.add(btnCalculate);
panelSouth.add(btnExit);
add(panelSouth, BorderLayout.SOUTH);
// JFrame Customization
setUndecorated(true);
setSize(500, 317);
setLocationRelativeTo(null);
setVisible(true);
}

11

https://www.facebook.com/Oxus20
// Add action to calculation and exit buttons
public void actionPerformed(ActionEvent e) {
if (e.getSource() == btnCalculate) {
int total = 0;
String inputStr = txtInput.getText();
for (int i = 0; i < inputStr.length(); i++) {
total += Integer.parseInt(abjadKabir(inputStr.charAt(i)));
}
txtOutput.setText(String.valueOf(total));
}
if (e.getSource() == btnExit) {
System.exit(0);
}
}
12

https://www.facebook.com/Oxus20
13

https://www.facebook.com/Oxus20
Abjad Calculator in JAVA
(End of Source Code)
public static void main(String[] args) {
new AbjadCalculator();
}
}

14

https://www.facebook.com/Oxus20
Bubble Example in JAVA
Graphical User Interface

15

https://www.facebook.com/Oxus20
Bubble Example in JAVA
Source Code
import
import
import
import
import
import
import

java.awt.BorderLayout;
java.awt.Color;
java.awt.GridLayout;
java.awt.event.ActionEvent;
java.awt.event.ActionListener;
java.awt.event.KeyEvent;
java.awt.event.KeyListener;

import
import
import
import
import
import

javax.swing.ImageIcon;
javax.swing.JButton;
javax.swing.JFrame;
javax.swing.JLabel;
javax.swing.JPanel;
javax.swing.JTextField;

public class Bubble extends JFrame implements ActionListener, KeyListener {
// Declaring Components
private JLabel lblInput, lblOutput;
private JTextField txtInput, txtOutput;
private JButton btnExit;
private JPanel panelSouth, panelNorth;
private ImageIcon imgBackground;
private JLabel lblBackground;

https://www.facebook.com/Oxus20

16
public Bubble() {
// Background Settings and Customizations
imgBackground = new ImageIcon(getClass().getResource("background.jpg"));
lblBackground = new JLabel(imgBackground);
add(lblBackground);
// Labels and TextFields Settings and Customizations
lblInput = new JLabel("Enter Your Text:");
lblInput.setForeground(Color.white);
txtInput = new JTextField("OXUS20");
txtInput.addKeyListener(this);
lblOutput = new JLabel("Result in Bubble:");
lblOutput.setForeground(Color.white);
txtOutput = new JTextField("ⓄⓍⓊⓈ➁ⓞ");

panelNorth = new JPanel();
panelNorth.setBackground(new Color(0, 153, 204));
panelNorth.setLayout(new GridLayout(2, 2, 9, 2));
panelNorth.add(lblInput);
panelNorth.add(txtInput);
panelNorth.add(lblOutput);
panelNorth.add(txtOutput);
add(panelNorth, BorderLayout.NORTH);
https://www.facebook.com/Oxus20

17
// Exit Button Settings and Customizations
btnExit = new JButton("Exit");
btnExit.addActionListener(this);
panelSouth = new JPanel();
panelSouth.setBackground(new Color(0, 153, 204));
panelSouth.add(btnExit);
add(panelSouth, BorderLayout.SOUTH);
// JFrame Settings and Customizations
setUndecorated(true);
setSize(500, 317);
setLocationRelativeTo(null);
setVisible(true);
}
// Adding Action to our program
public void actionPerformed(ActionEvent e) {
if (e.getSource() == btnExit) {
System.exit(0);
}
}
public void keyPressed(KeyEvent e) {
}
public void keyTyped(KeyEvent e) {
}

https://www.facebook.com/Oxus20

18
public void keyReleased(KeyEvent e) {
if (e.getSource() == txtInput) {
String input = txtInput.getText();
String change = input.replace('0', 'ⓞ').replace('1', '➀')
.replace('2', '➁').replace('3', '➂').replace('4', '➃')
.replace('5', '➄').replace('6', '➅').replace('7', '➆')
.replace('8', '➇').replace('9', '➈').replace('a', 'ⓐ')
.replace('b', 'ⓑ').replace('c', 'ⓒ').replace('d', 'ⓓ')
.replace('e', 'ⓔ').replace('f', 'ⓕ').replace('g', 'ⓖ')
.replace('h', 'ⓗ').replace('i', 'ⓘ').replace('j', 'ⓙ')
.replace('k', 'ⓚ').replace('l', 'ⓛ').replace('m', 'ⓜ')
.replace('n', 'ⓝ').replace('o', 'ⓞ').replace('p', 'ⓟ')
.replace('q', 'ⓠ').replace('r', 'ⓡ').replace('s', 'ⓢ')
.replace('t', 'ⓣ').replace('u', 'ⓤ').replace('v', 'ⓥ')
.replace('w', 'ⓦ').replace('x', 'ⓧ').replace('y', 'ⓨ')
.replace('z', 'ⓩ').replace('A', 'Ⓐ').replace('B', 'Ⓑ')
.replace('C', 'Ⓒ').replace('D', 'Ⓓ').replace('E', 'Ⓔ')
.replace('F', 'Ⓕ').replace('G', 'Ⓖ').replace('H', 'Ⓗ')
.replace('I', 'Ⓘ').replace('J', 'Ⓙ').replace('K', 'Ⓚ')
.replace('L', 'Ⓛ').replace('M', 'Ⓜ').replace('N', 'Ⓝ')
.replace('O', 'Ⓞ').replace('P', 'Ⓟ').replace('Q', 'Ⓠ')
.replace('R', 'Ⓡ').replace('S', 'Ⓢ').replace('T', 'Ⓣ')
.replace('U', 'Ⓤ').replace('V', 'Ⓥ').replace('W', 'Ⓦ')
.replace('X', 'Ⓧ').replace('Y', 'Ⓨ').replace('Z', 'Ⓩ');
txtOutput.setText(change);
}

19

}

https://www.facebook.com/Oxus20
Bubble Example in JAVA
(End of Source Code)
public static void main(String[] args) {
new Bubble();
}

}

20

https://www.facebook.com/Oxus20
Flip Example in JAVA
Graphical User Interface

21

https://www.facebook.com/Oxus20
Flip Example in JAVA
Source Code
import
import
import
import
import
import
import

java.awt.BorderLayout;
java.awt.Color;
java.awt.GridLayout;
java.awt.event.ActionEvent;
java.awt.event.ActionListener;
java.awt.event.KeyEvent;
java.awt.event.KeyListener;

import
import
import
import
import
import

javax.swing.ImageIcon;
javax.swing.JButton;
javax.swing.JFrame;
javax.swing.JLabel;
javax.swing.JPanel;
javax.swing.JTextField;

public class Flip extends JFrame implements KeyListener {
// Required Components Declarations
private JLabel lblInput, lblOutput;
private JTextField txtInput, txtOutput;
private JButton btnExit;
private JPanel panelSouth, panelNorth;
private ImageIcon imgBackground;
private JLabel lblBackground;

https://www.facebook.com/Oxus20

22
public Flip() {
// Background Settings and Customizations
imgBackground = new ImageIcon(getClass().getResource("background.jpg"));
lblBackground = new JLabel(imgBackground);
add(lblBackground);
// Labels and TextFields Settings and Customizations
lblInput = new JLabel("Enter Your Text:");
lblInput.setForeground(Color.white);
txtInput = new JTextField("Flip and Upside down");
txtInput.addKeyListener(this);
lblOutput = new JLabel("Result in Flip:");
lblOutput.setForeground(Color.white);
txtOutput = new JTextField("Ⅎ!‫ן‬d ɐnd ∩ds!dǝ doʍn");
panelNorth = new JPanel();
panelNorth.setBackground(new Color(0, 153, 204));
panelNorth.setLayout(new GridLayout(2, 2, 0, 2));
panelNorth.add(lblInput);
panelNorth.add(txtInput);
panelNorth.add(lblOutput);
panelNorth.add(txtOutput);
add(panelNorth, BorderLayout.NORTH);
23

https://www.facebook.com/Oxus20
// Exit Button Settings and Customizations
btnExit = new JButton("Exit");
btnExit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.exit(0);
}
});
panelSouth = new JPanel();
panelSouth.setBackground(new Color(0, 153, 204));
panelSouth.add(btnExit);
add(panelSouth, BorderLayout.SOUTH);
// JFrame Settings and Customizations
setUndecorated(true);
setSize(500, 317);
setLocationRelativeTo(null);
setVisible(true);
}
public void keyPressed(KeyEvent e) {
}
public void keyTyped(KeyEvent arg0) {
}

https://www.facebook.com/Oxus20

24
public void keyReleased(KeyEvent e) {
if (e.getSource() == txtInput) {
String input = txtInput.getText();
String change = input.replace('a', 'ɐ').replace('b', 'q')
.replace('c', 'ɔ').replace('d', 'p').replace('e', 'ǝ')
.replace('f', 'ɟ').replace('g', 'ƃ').replace('h', 'ɥ')
.replace('i', '!').replace('j', 'ɾ').replace('k', 'ʞ')
.replace('l', '.)'‫ן‬replace('m', 'ɯ').replace('n', 'u')
.replace('o', 'o').replace('p', 'd').replace('q', 'b')
.replace('r', 'ɹ').replace('s', 's').replace('t', 'ʇ')
.replace('u', 'n').replace('v', 'ʌ').replace('w', 'ʍ')
.replace('x', 'x').replace('y', 'ʎ').replace('z', 'z')
.replace('A', '∀').replace('B', 'ᗺ').replace('C', 'Ɔ')
.replace('D', 'p').replace('E', 'Ǝ').replace('F', 'Ⅎ')
.replace('G', '.)'‫פ‬replace('H', 'H').replace('I', 'I')
.replace('J', 'ſ').replace('K', 'ʞ').replace('L', '˥')
.replace('M', 'W').replace('N', 'N').replace('O', 'O')
.replace('P', 'd').replace('Q', 'ઠ').replace('R', 'ᴚ')
.replace('S', 'S').replace('T', '⊥').replace('U', '∩')
.replace('V', 'ᴧ').replace('W', 'M').replace('X', 'X')
.replace('Y', 'ʎ').replace('Z', 'Z');
txtOutput.setText(change);
}
25

}

https://www.facebook.com/Oxus20
Flip Example in JAVA
(End of Source Code)
public static void main(String[] args) {
new Flip();
}

}

26

https://www.facebook.com/Oxus20
English Number to Persian in JAVA
Graphical User Interface

27

https://www.facebook.com/Oxus20
English Number to Persian in JAVA
Source Code
import
import
import
import
import
import
import

java.awt.BorderLayout;
java.awt.Color;
java.awt.GridLayout;
java.awt.event.ActionEvent;
java.awt.event.ActionListener;
java.awt.event.KeyEvent;
java.awt.event.KeyListener;

import
import
import
import
import
import

javax.swing.ImageIcon;
javax.swing.JButton;
javax.swing.JFrame;
javax.swing.JLabel;
javax.swing.JPanel;
javax.swing.JTextField;

public class PersianNumbers extends JFrame implements KeyListener {
// Declaring Components
private JLabel lblInput, lblOutput;
private JTextField txtInput, txtOutput;
private JButton btnExit;
private JPanel panelSouth, panelNorth;
private ImageIcon imgBackground;
private JLabel lblBackground;

28

https://www.facebook.com/Oxus20
public PersianNumbers() {
// Background Settings and Customizations
imgBackground = new ImageIcon(getClass().getResource("background.jpg"));
lblBackground = new JLabel(imgBackground);
add(lblBackground);
// Labels and TextFields Settings and Customizations
lblInput = new JLabel("Enter English Number :");
lblInput.setForeground(Color.white);
txtInput = new JTextField("0123456789");
txtInput.addKeyListener(this);
lblOutput = new JLabel("Result of Persion Number :");
lblOutput.setForeground(Color.white);
txtOutput = new JTextField("٠١٢٣٤٥٦٧٨٩");
panelNorth = new JPanel();
panelNorth.setBackground(new Color(0, 153, 204));
panelNorth.setLayout(new GridLayout(2, 2, 0, 2));
panelNorth.add(lblInput);
panelNorth.add(txtInput);
panelNorth.add(lblOutput);
panelNorth.add(txtOutput);
add(panelNorth, BorderLayout.NORTH);
29

https://www.facebook.com/Oxus20
// Exit Button Settings and Customizations
btnExit = new JButton("Exit");
btnExit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.exit(0);
}
});
panelSouth = new JPanel();
panelSouth.setBackground(new Color(0, 153, 204));
panelSouth.add(btnExit);
add(panelSouth, BorderLayout.SOUTH);
// JFrame Settings and Customizations
setUndecorated(true);
setSize(500, 317);
setLocationRelativeTo(null);
setVisible(true);

}
public void keyPressed(KeyEvent arg0) {
}
public void keyTyped(KeyEvent arg0) {
}
30

https://www.facebook.com/Oxus20
English Number to Persian in JAVA
End of Source Code
public void keyReleased(KeyEvent e) {
if (e.getSource() == txtInput) {
String input = txtInput.getText();
String change = input.replace('0', 'u0660').replace('1', 'u0661')
.replace('2', 'u0662').replace('3', 'u0663')
.replace('4', 'u0664').replace('5', 'u0665')
.replace('6', 'u0666').replace('7', 'u0667')
.replace('8', 'u0668').replace('9', 'u0669');
txtOutput.setText(change);
}
}
public static void main(String[] args) {
new PersianNumbers();
}
}
31

https://www.facebook.com/Oxus20
Tips
Simple String Methods

» charAt()
˃ The charAt(index) method returns the character at a specific index in
the string.
˃ The first character of a string is at index 0, the next at index 1, and so
on.
˃ The index argument must be greater than or equal to 0, and less than
the length of the string buffer.

» replaceAll()
˃ The String class also contains the replaceAll method for replacing and
splitting strings
˃ The replaceAll method replaces all matching substring.
32

https://www.facebook.com/Oxus20
Unicode
Further Works and Suggestions
» Transliteration
˃ English Name to Persian/Arabic
˃ Nahid Razaie =>

‫ناهید رضایی‬

» Google Transliteration
˃ Salam => ‫سالم‬
˃ Ba OXUS20 Khush Amadid => 20

‫خوش آمدید به آکسیوس‬
33

https://www.facebook.com/Oxus20
END

34

https://www.facebook.com/Oxus20

Mais conteúdo relacionado

Mais procurados

The Perl6 Type System
The Perl6 Type SystemThe Perl6 Type System
The Perl6 Type Systemabrummett
 
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at StripeBuilding Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at StripeStripe
 
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at StripeBuilding Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at StripeMongoDB
 
201412 seccon2014 オンライン予選(英語) write-up
201412 seccon2014 オンライン予選(英語) write-up201412 seccon2014 オンライン予選(英語) write-up
201412 seccon2014 オンライン予選(英語) write-up恵寿 東
 
Alexander Mostovenko "Modern approach to localization in javascript with the ...
Alexander Mostovenko "Modern approach to localization in javascript with the ...Alexander Mostovenko "Modern approach to localization in javascript with the ...
Alexander Mostovenko "Modern approach to localization in javascript with the ...OdessaJS Conf
 
Creating a compiler in Perl 6
Creating a compiler in Perl 6Creating a compiler in Perl 6
Creating a compiler in Perl 6Andrew Shitov
 
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 VersionDebugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 VersionIan Barber
 
Abusing text/template for data transformation
Abusing text/template for data transformationAbusing text/template for data transformation
Abusing text/template for data transformationArnaud Porterie
 
ZeroMQ Is The Answer: DPC 11 Version
ZeroMQ Is The Answer: DPC 11 VersionZeroMQ Is The Answer: DPC 11 Version
ZeroMQ Is The Answer: DPC 11 VersionIan Barber
 
Teaching Your Machine To Find Fraudsters
Teaching Your Machine To Find FraudstersTeaching Your Machine To Find Fraudsters
Teaching Your Machine To Find FraudstersIan Barber
 

Mais procurados (20)

The Perl6 Type System
The Perl6 Type SystemThe Perl6 Type System
The Perl6 Type System
 
Binomial heap
Binomial heapBinomial heap
Binomial heap
 
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at StripeBuilding Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at Stripe
 
Perl6 in-production
Perl6 in-productionPerl6 in-production
Perl6 in-production
 
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at StripeBuilding Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at Stripe
 
201412 seccon2014 オンライン予選(英語) write-up
201412 seccon2014 オンライン予選(英語) write-up201412 seccon2014 オンライン予選(英語) write-up
201412 seccon2014 オンライン予選(英語) write-up
 
Perl 6 by example
Perl 6 by examplePerl 6 by example
Perl 6 by example
 
Alexander Mostovenko "Modern approach to localization in javascript with the ...
Alexander Mostovenko "Modern approach to localization in javascript with the ...Alexander Mostovenko "Modern approach to localization in javascript with the ...
Alexander Mostovenko "Modern approach to localization in javascript with the ...
 
Shell and perl scripting classes in mumbai
Shell and perl scripting classes in mumbaiShell and perl scripting classes in mumbai
Shell and perl scripting classes in mumbai
 
Perl6 grammars
Perl6 grammarsPerl6 grammars
Perl6 grammars
 
Ccc
CccCcc
Ccc
 
Creating a compiler in Perl 6
Creating a compiler in Perl 6Creating a compiler in Perl 6
Creating a compiler in Perl 6
 
CGI.pm - 3ло?!
CGI.pm - 3ло?!CGI.pm - 3ло?!
CGI.pm - 3ло?!
 
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 VersionDebugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 Version
 
Abusing text/template for data transformation
Abusing text/template for data transformationAbusing text/template for data transformation
Abusing text/template for data transformation
 
ZeroMQ Is The Answer: DPC 11 Version
ZeroMQ Is The Answer: DPC 11 VersionZeroMQ Is The Answer: DPC 11 Version
ZeroMQ Is The Answer: DPC 11 Version
 
Teaching Your Machine To Find Fraudsters
Teaching Your Machine To Find FraudstersTeaching Your Machine To Find Fraudsters
Teaching Your Machine To Find Fraudsters
 
Pdxpugday2010 pg90
Pdxpugday2010 pg90Pdxpugday2010 pg90
Pdxpugday2010 pg90
 
Pop3ck sh
Pop3ck shPop3ck sh
Pop3ck sh
 
New text document
New text documentNew text document
New text document
 

Destaque

Everything about Database JOINS and Relationships
Everything about Database JOINS and RelationshipsEverything about Database JOINS and Relationships
Everything about Database JOINS and RelationshipsOXUS 20
 
Swing and AWT in java
Swing and AWT in javaSwing and AWT in java
Swing and AWT in javaAdil Mehmoood
 
Java Regular Expression PART I
Java Regular Expression PART IJava Regular Expression PART I
Java Regular Expression PART IOXUS 20
 
Java Unicode with Cool GUI Examples
Java Unicode with Cool GUI ExamplesJava Unicode with Cool GUI Examples
Java Unicode with Cool GUI ExamplesOXUS 20
 
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton ClassesJava Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton ClassesOXUS 20
 
TKP Java Notes for Teaching Kids Programming
TKP Java Notes for Teaching Kids ProgrammingTKP Java Notes for Teaching Kids Programming
TKP Java Notes for Teaching Kids ProgrammingLynn Langit
 
Everything about Object Oriented Programming
Everything about Object Oriented ProgrammingEverything about Object Oriented Programming
Everything about Object Oriented ProgrammingAbdul Rahman Sherzad
 
Fal-e-Hafez (Omens of Hafez) Cards in Persian using Java
Fal-e-Hafez (Omens of Hafez) Cards in Persian using JavaFal-e-Hafez (Omens of Hafez) Cards in Persian using Java
Fal-e-Hafez (Omens of Hafez) Cards in Persian using JavaOXUS 20
 
Java Regular Expression PART II
Java Regular Expression PART IIJava Regular Expression PART II
Java Regular Expression PART IIOXUS 20
 
Java Applet and Graphics
Java Applet and GraphicsJava Applet and Graphics
Java Applet and GraphicsOXUS 20
 
Conditional Statement
Conditional Statement Conditional Statement
Conditional Statement OXUS 20
 
PHP Basic and Fundamental Questions and Answers with Detail Explanation
PHP Basic and Fundamental Questions and Answers with Detail ExplanationPHP Basic and Fundamental Questions and Answers with Detail Explanation
PHP Basic and Fundamental Questions and Answers with Detail ExplanationOXUS 20
 
Java Guessing Game Number Tutorial
Java Guessing Game Number TutorialJava Guessing Game Number Tutorial
Java Guessing Game Number TutorialOXUS 20
 
Object Oriented Concept Static vs. Non Static
Object Oriented Concept Static vs. Non StaticObject Oriented Concept Static vs. Non Static
Object Oriented Concept Static vs. Non StaticOXUS 20
 
Structure programming – Java Programming – Theory
Structure programming – Java Programming – TheoryStructure programming – Java Programming – Theory
Structure programming – Java Programming – TheoryOXUS 20
 
Web Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and TechnologiesWeb Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and TechnologiesOXUS 20
 
Create Splash Screen with Java Step by Step
Create Splash Screen with Java Step by StepCreate Splash Screen with Java Step by Step
Create Splash Screen with Java Step by StepOXUS 20
 
Note - Java Remote Debug
Note - Java Remote DebugNote - Java Remote Debug
Note - Java Remote Debugboyw165
 
Core java notes with examples
Core java notes with examplesCore java notes with examples
Core java notes with examplesbindur87
 
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton ClassesJava Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton ClassesAbdul Rahman Sherzad
 

Destaque (20)

Everything about Database JOINS and Relationships
Everything about Database JOINS and RelationshipsEverything about Database JOINS and Relationships
Everything about Database JOINS and Relationships
 
Swing and AWT in java
Swing and AWT in javaSwing and AWT in java
Swing and AWT in java
 
Java Regular Expression PART I
Java Regular Expression PART IJava Regular Expression PART I
Java Regular Expression PART I
 
Java Unicode with Cool GUI Examples
Java Unicode with Cool GUI ExamplesJava Unicode with Cool GUI Examples
Java Unicode with Cool GUI Examples
 
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton ClassesJava Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
 
TKP Java Notes for Teaching Kids Programming
TKP Java Notes for Teaching Kids ProgrammingTKP Java Notes for Teaching Kids Programming
TKP Java Notes for Teaching Kids Programming
 
Everything about Object Oriented Programming
Everything about Object Oriented ProgrammingEverything about Object Oriented Programming
Everything about Object Oriented Programming
 
Fal-e-Hafez (Omens of Hafez) Cards in Persian using Java
Fal-e-Hafez (Omens of Hafez) Cards in Persian using JavaFal-e-Hafez (Omens of Hafez) Cards in Persian using Java
Fal-e-Hafez (Omens of Hafez) Cards in Persian using Java
 
Java Regular Expression PART II
Java Regular Expression PART IIJava Regular Expression PART II
Java Regular Expression PART II
 
Java Applet and Graphics
Java Applet and GraphicsJava Applet and Graphics
Java Applet and Graphics
 
Conditional Statement
Conditional Statement Conditional Statement
Conditional Statement
 
PHP Basic and Fundamental Questions and Answers with Detail Explanation
PHP Basic and Fundamental Questions and Answers with Detail ExplanationPHP Basic and Fundamental Questions and Answers with Detail Explanation
PHP Basic and Fundamental Questions and Answers with Detail Explanation
 
Java Guessing Game Number Tutorial
Java Guessing Game Number TutorialJava Guessing Game Number Tutorial
Java Guessing Game Number Tutorial
 
Object Oriented Concept Static vs. Non Static
Object Oriented Concept Static vs. Non StaticObject Oriented Concept Static vs. Non Static
Object Oriented Concept Static vs. Non Static
 
Structure programming – Java Programming – Theory
Structure programming – Java Programming – TheoryStructure programming – Java Programming – Theory
Structure programming – Java Programming – Theory
 
Web Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and TechnologiesWeb Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and Technologies
 
Create Splash Screen with Java Step by Step
Create Splash Screen with Java Step by StepCreate Splash Screen with Java Step by Step
Create Splash Screen with Java Step by Step
 
Note - Java Remote Debug
Note - Java Remote DebugNote - Java Remote Debug
Note - Java Remote Debug
 
Core java notes with examples
Core java notes with examplesCore java notes with examples
Core java notes with examples
 
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton ClassesJava Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
 

Semelhante a Java Unicode with Live GUI Examples

Tips and Tricks of Developing .NET Application
Tips and Tricks of Developing .NET ApplicationTips and Tricks of Developing .NET Application
Tips and Tricks of Developing .NET ApplicationJoni
 
Reason - introduction to language and its ecosystem | Łukasz Strączyński
Reason - introduction to language and its ecosystem | Łukasz StrączyńskiReason - introduction to language and its ecosystem | Łukasz Strączyński
Reason - introduction to language and its ecosystem | Łukasz StrączyńskiGrand Parade Poland
 
An Intro To ES6
An Intro To ES6An Intro To ES6
An Intro To ES6FITC
 
Productive Programming in Groovy
Productive Programming in GroovyProductive Programming in Groovy
Productive Programming in GroovyGanesh Samarthyam
 
jq: JSON - Like a Boss
jq: JSON - Like a Bossjq: JSON - Like a Boss
jq: JSON - Like a BossBob Tiernay
 
code for quiz in my sql
code for quiz  in my sql code for quiz  in my sql
code for quiz in my sql JOYITAKUNDU1
 
C# 6 and 7 and Futures 20180607
C# 6 and 7 and Futures 20180607C# 6 and 7 and Futures 20180607
C# 6 and 7 and Futures 20180607Kevin Hazzard
 
Writing DSLs with Parslet - Wicked Good Ruby Conf
Writing DSLs with Parslet - Wicked Good Ruby ConfWriting DSLs with Parslet - Wicked Good Ruby Conf
Writing DSLs with Parslet - Wicked Good Ruby ConfJason Garber
 
[SI] Ada Lovelace Day 2014 - Tampon Run
[SI] Ada Lovelace Day 2014  - Tampon Run[SI] Ada Lovelace Day 2014  - Tampon Run
[SI] Ada Lovelace Day 2014 - Tampon RunMaja Kraljič
 
Refactoring to Macros with Clojure
Refactoring to Macros with ClojureRefactoring to Macros with Clojure
Refactoring to Macros with ClojureDmitry Buzdin
 
TypeScript Introduction
TypeScript IntroductionTypeScript Introduction
TypeScript IntroductionDmitry Sheiko
 
Implementing Software Machines in Go and C
Implementing Software Machines in Go and CImplementing Software Machines in Go and C
Implementing Software Machines in Go and CEleanor McHugh
 
XML-Free Programming
XML-Free ProgrammingXML-Free Programming
XML-Free ProgrammingStephen Chin
 
iOS Talks 1 - CodeCamp Osijek - Swift u praksi
iOS Talks 1 - CodeCamp Osijek - Swift u praksiiOS Talks 1 - CodeCamp Osijek - Swift u praksi
iOS Talks 1 - CodeCamp Osijek - Swift u praksiMarin Benčević
 
Scala 3camp 2011
Scala   3camp 2011Scala   3camp 2011
Scala 3camp 2011Scalac
 
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze..."Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...Mateusz Zalewski
 

Semelhante a Java Unicode with Live GUI Examples (20)

Tips and Tricks of Developing .NET Application
Tips and Tricks of Developing .NET ApplicationTips and Tricks of Developing .NET Application
Tips and Tricks of Developing .NET Application
 
Lekcja stylu
Lekcja styluLekcja stylu
Lekcja stylu
 
Reason - introduction to language and its ecosystem | Łukasz Strączyński
Reason - introduction to language and its ecosystem | Łukasz StrączyńskiReason - introduction to language and its ecosystem | Łukasz Strączyński
Reason - introduction to language and its ecosystem | Łukasz Strączyński
 
An Intro To ES6
An Intro To ES6An Intro To ES6
An Intro To ES6
 
Productive Programming in Groovy
Productive Programming in GroovyProductive Programming in Groovy
Productive Programming in Groovy
 
jq: JSON - Like a Boss
jq: JSON - Like a Bossjq: JSON - Like a Boss
jq: JSON - Like a Boss
 
code for quiz in my sql
code for quiz  in my sql code for quiz  in my sql
code for quiz in my sql
 
C# 6 and 7 and Futures 20180607
C# 6 and 7 and Futures 20180607C# 6 and 7 and Futures 20180607
C# 6 and 7 and Futures 20180607
 
Writing DSLs with Parslet - Wicked Good Ruby Conf
Writing DSLs with Parslet - Wicked Good Ruby ConfWriting DSLs with Parslet - Wicked Good Ruby Conf
Writing DSLs with Parslet - Wicked Good Ruby Conf
 
[SI] Ada Lovelace Day 2014 - Tampon Run
[SI] Ada Lovelace Day 2014  - Tampon Run[SI] Ada Lovelace Day 2014  - Tampon Run
[SI] Ada Lovelace Day 2014 - Tampon Run
 
Refactoring to Macros with Clojure
Refactoring to Macros with ClojureRefactoring to Macros with Clojure
Refactoring to Macros with Clojure
 
Coding Ajax
Coding AjaxCoding Ajax
Coding Ajax
 
Java and xml
Java and xmlJava and xml
Java and xml
 
TypeScript Introduction
TypeScript IntroductionTypeScript Introduction
TypeScript Introduction
 
Coding Ajax
Coding AjaxCoding Ajax
Coding Ajax
 
Implementing Software Machines in Go and C
Implementing Software Machines in Go and CImplementing Software Machines in Go and C
Implementing Software Machines in Go and C
 
XML-Free Programming
XML-Free ProgrammingXML-Free Programming
XML-Free Programming
 
iOS Talks 1 - CodeCamp Osijek - Swift u praksi
iOS Talks 1 - CodeCamp Osijek - Swift u praksiiOS Talks 1 - CodeCamp Osijek - Swift u praksi
iOS Talks 1 - CodeCamp Osijek - Swift u praksi
 
Scala 3camp 2011
Scala   3camp 2011Scala   3camp 2011
Scala 3camp 2011
 
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze..."Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
 

Mais de Abdul Rahman Sherzad

Data is the Fuel of Organizations: Opportunities and Challenges in Afghanistan
Data is the Fuel of Organizations: Opportunities and Challenges in AfghanistanData is the Fuel of Organizations: Opportunities and Challenges in Afghanistan
Data is the Fuel of Organizations: Opportunities and Challenges in AfghanistanAbdul Rahman Sherzad
 
PHP Unicode Input Validation Snippets
PHP Unicode Input Validation SnippetsPHP Unicode Input Validation Snippets
PHP Unicode Input Validation SnippetsAbdul Rahman Sherzad
 
Sorting Alpha Numeric Data in MySQL
Sorting Alpha Numeric Data in MySQLSorting Alpha Numeric Data in MySQL
Sorting Alpha Numeric Data in MySQLAbdul Rahman Sherzad
 
Cross Join Example and Applications
Cross Join Example and ApplicationsCross Join Example and Applications
Cross Join Example and ApplicationsAbdul Rahman Sherzad
 
Applicability of Educational Data Mining in Afghanistan: Opportunities and Ch...
Applicability of Educational Data Mining in Afghanistan: Opportunities and Ch...Applicability of Educational Data Mining in Afghanistan: Opportunities and Ch...
Applicability of Educational Data Mining in Afghanistan: Opportunities and Ch...Abdul Rahman Sherzad
 
Web Application Security and Awareness
Web Application Security and AwarenessWeb Application Security and Awareness
Web Application Security and AwarenessAbdul Rahman Sherzad
 
Database Automation with MySQL Triggers and Event Schedulers
Database Automation with MySQL Triggers and Event SchedulersDatabase Automation with MySQL Triggers and Event Schedulers
Database Automation with MySQL Triggers and Event SchedulersAbdul Rahman Sherzad
 
Evaluation of Existing Web Structure of Afghan Universities
Evaluation of Existing Web Structure of Afghan UniversitiesEvaluation of Existing Web Structure of Afghan Universities
Evaluation of Existing Web Structure of Afghan UniversitiesAbdul Rahman Sherzad
 
PHP Basic and Fundamental Questions and Answers with Detail Explanation
PHP Basic and Fundamental Questions and Answers with Detail ExplanationPHP Basic and Fundamental Questions and Answers with Detail Explanation
PHP Basic and Fundamental Questions and Answers with Detail ExplanationAbdul Rahman Sherzad
 
Fundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and AnswersFundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and AnswersAbdul Rahman Sherzad
 
Everything about Database JOINS and Relationships
Everything about Database JOINS and RelationshipsEverything about Database JOINS and Relationships
Everything about Database JOINS and RelationshipsAbdul Rahman Sherzad
 
Create Splash Screen with Java Step by Step
Create Splash Screen with Java Step by StepCreate Splash Screen with Java Step by Step
Create Splash Screen with Java Step by StepAbdul Rahman Sherzad
 
Fal-e-Hafez (Omens of Hafez) Cards in Persian using Java
Fal-e-Hafez (Omens of Hafez) Cards in Persian using JavaFal-e-Hafez (Omens of Hafez) Cards in Persian using Java
Fal-e-Hafez (Omens of Hafez) Cards in Persian using JavaAbdul Rahman Sherzad
 
Web Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and TechnologiesWeb Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and TechnologiesAbdul Rahman Sherzad
 

Mais de Abdul Rahman Sherzad (20)

Data is the Fuel of Organizations: Opportunities and Challenges in Afghanistan
Data is the Fuel of Organizations: Opportunities and Challenges in AfghanistanData is the Fuel of Organizations: Opportunities and Challenges in Afghanistan
Data is the Fuel of Organizations: Opportunities and Challenges in Afghanistan
 
PHP Unicode Input Validation Snippets
PHP Unicode Input Validation SnippetsPHP Unicode Input Validation Snippets
PHP Unicode Input Validation Snippets
 
Iterations and Recursions
Iterations and RecursionsIterations and Recursions
Iterations and Recursions
 
Sorting Alpha Numeric Data in MySQL
Sorting Alpha Numeric Data in MySQLSorting Alpha Numeric Data in MySQL
Sorting Alpha Numeric Data in MySQL
 
PHP Variable variables Examples
PHP Variable variables ExamplesPHP Variable variables Examples
PHP Variable variables Examples
 
Cross Join Example and Applications
Cross Join Example and ApplicationsCross Join Example and Applications
Cross Join Example and Applications
 
Applicability of Educational Data Mining in Afghanistan: Opportunities and Ch...
Applicability of Educational Data Mining in Afghanistan: Opportunities and Ch...Applicability of Educational Data Mining in Afghanistan: Opportunities and Ch...
Applicability of Educational Data Mining in Afghanistan: Opportunities and Ch...
 
Web Application Security and Awareness
Web Application Security and AwarenessWeb Application Security and Awareness
Web Application Security and Awareness
 
Database Automation with MySQL Triggers and Event Schedulers
Database Automation with MySQL Triggers and Event SchedulersDatabase Automation with MySQL Triggers and Event Schedulers
Database Automation with MySQL Triggers and Event Schedulers
 
Mobile Score Notification System
Mobile Score Notification SystemMobile Score Notification System
Mobile Score Notification System
 
Herat Innovation Lab 2015
Herat Innovation Lab 2015Herat Innovation Lab 2015
Herat Innovation Lab 2015
 
Evaluation of Existing Web Structure of Afghan Universities
Evaluation of Existing Web Structure of Afghan UniversitiesEvaluation of Existing Web Structure of Afghan Universities
Evaluation of Existing Web Structure of Afghan Universities
 
PHP Basic and Fundamental Questions and Answers with Detail Explanation
PHP Basic and Fundamental Questions and Answers with Detail ExplanationPHP Basic and Fundamental Questions and Answers with Detail Explanation
PHP Basic and Fundamental Questions and Answers with Detail Explanation
 
Java Applet and Graphics
Java Applet and GraphicsJava Applet and Graphics
Java Applet and Graphics
 
Fundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and AnswersFundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and Answers
 
Everything about Database JOINS and Relationships
Everything about Database JOINS and RelationshipsEverything about Database JOINS and Relationships
Everything about Database JOINS and Relationships
 
Create Splash Screen with Java Step by Step
Create Splash Screen with Java Step by StepCreate Splash Screen with Java Step by Step
Create Splash Screen with Java Step by Step
 
Fal-e-Hafez (Omens of Hafez) Cards in Persian using Java
Fal-e-Hafez (Omens of Hafez) Cards in Persian using JavaFal-e-Hafez (Omens of Hafez) Cards in Persian using Java
Fal-e-Hafez (Omens of Hafez) Cards in Persian using Java
 
Web Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and TechnologiesWeb Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and Technologies
 
Java Regular Expression PART II
Java Regular Expression PART IIJava Regular Expression PART II
Java Regular Expression PART II
 

Último

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

Último (20)

FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

Java Unicode with Live GUI Examples

  • 1. » » » » » https://www.facebook.com/Oxus20 oxus20@gmail.com Unicode Abjad Example Bubble Example Flip Example English Number to Persian Java Unicode with Live GUI Examples Prepared By: Nahid Razaie Edited By: Abdul Rahman Sherzad
  • 2. Agenda » Unicode Characters » Abjad Examples ˃ ‫687 >= بسم اهلل الرحمن الرحیم‬ » Bubble Examples ˃ OXUS20 => ⓄⓍⓊⓈ②⓪ » Flip Examples ˃ Oxus20 => 02snxo » Number Examples ˃ 1234567890 => ۱۲۳۴۵۶۷۸۹۰ 2 https://www.facebook.com/Oxus20
  • 3. Character Sets » ASCII ˃ The 128 most commonly-used characters are each represented by a sequence of 7 bits known as the character’s ASCII code. ˃ The characters include letters, digits, punctuation marks, and nonprintable control characters such as the backspace, tab, carriage return, etc. » Unicode ˃ The Unicode standard defines underlying numeric values for a huge set of 65,536 characters. 3 https://www.facebook.com/Oxus20
  • 4. Unicode Tips » Bubble Example ˃ OXUS20 => ⓄⓍⓊⓈ➁ⓞ » Flip Example ˃ OXUS20 => 02snxo » English Number to Persian ˃ 1234 => ۱۲۳۴ 4 https://www.facebook.com/Oxus20
  • 5. What is Abjad ? » Every letter in the Arabic alphabet has a numerical (Gematrical) value. » A number of calculations can be made from this basis. » These are referred to as numerological (Abjad) calculations. 5 https://www.facebook.com/Oxus20
  • 7. Abjad Calculator in JAVA Graphical User Interface 7 https://www.facebook.com/Oxus20
  • 8. Abjad Calculator in JAVA Required Components » JLabel » JTextField » JButton » JPanel » ImageIcon 8 https://www.facebook.com/Oxus20
  • 9. Abjad Calculator in JAVA (Source Code) import import import import import java.awt.BorderLayout; java.awt.Color; java.awt.GridLayout; java.awt.event.ActionEvent; java.awt.event.ActionListener; import import import import import import javax.swing.ImageIcon; javax.swing.JButton; javax.swing.JFrame; javax.swing.JLabel; javax.swing.JPanel; javax.swing.JTextField; public class AbjadCalculator extends JFrame implements ActionListener { // Require Components Declarations private JLabel lblInput, lblOutput; private JTextField txtInput, txtOutput; private JButton btnCalculate, btnExit; private JPanel panelSouth, panelNorth; private ImageIcon imgBackround; private JLabel lblBackground; https://www.facebook.com/Oxus20 9
  • 10. public AbjadCalculator() { // Background Customization imgBackround = new ImageIcon(getClass().getResource("background.jpg")); lblBackground = new JLabel(imgBackround); add(lblBackground); // Labels and TextFields Customization lblInput = new JLabel("Type your name in Arabic/Persian:"); lblInput.setForeground(Color.white); txtInput = new JTextField("‫;)"بسم هللا الرحمن الرحیم‬ txtInput.setHorizontalAlignment(JTextField.RIGHT); lblOutput = new JLabel("Abjad calculation of your name:"); lblOutput.setForeground(Color.white); txtOutput = new JTextField("786"); panelNorth = new JPanel(); panelNorth.setBackground(new Color(0, 153, 204)); panelNorth.setLayout(new GridLayout(3, 2)); panelNorth.add(lblInput); panelNorth.add(txtInput); panelNorth.add(lblOutput); panelNorth.add(txtOutput); add(panelNorth, BorderLayout.NORTH); https://www.facebook.com/Oxus20 10
  • 11. // Buttons Customization btnCalculate = new JButton("Calculate"); btnCalculate.addActionListener(this); btnExit = new JButton("Exit"); btnExit.addActionListener(this); panelSouth = new JPanel(); panelSouth.setBackground(new Color(0, 153, 204)); panelSouth.add(btnCalculate); panelSouth.add(btnExit); add(panelSouth, BorderLayout.SOUTH); // JFrame Customization setUndecorated(true); setSize(500, 317); setLocationRelativeTo(null); setVisible(true); } 11 https://www.facebook.com/Oxus20
  • 12. // Add action to calculation and exit buttons public void actionPerformed(ActionEvent e) { if (e.getSource() == btnCalculate) { int total = 0; String inputStr = txtInput.getText(); for (int i = 0; i < inputStr.length(); i++) { total += Integer.parseInt(abjadKabir(inputStr.charAt(i))); } txtOutput.setText(String.valueOf(total)); } if (e.getSource() == btnExit) { System.exit(0); } } 12 https://www.facebook.com/Oxus20
  • 14. Abjad Calculator in JAVA (End of Source Code) public static void main(String[] args) { new AbjadCalculator(); } } 14 https://www.facebook.com/Oxus20
  • 15. Bubble Example in JAVA Graphical User Interface 15 https://www.facebook.com/Oxus20
  • 16. Bubble Example in JAVA Source Code import import import import import import import java.awt.BorderLayout; java.awt.Color; java.awt.GridLayout; java.awt.event.ActionEvent; java.awt.event.ActionListener; java.awt.event.KeyEvent; java.awt.event.KeyListener; import import import import import import javax.swing.ImageIcon; javax.swing.JButton; javax.swing.JFrame; javax.swing.JLabel; javax.swing.JPanel; javax.swing.JTextField; public class Bubble extends JFrame implements ActionListener, KeyListener { // Declaring Components private JLabel lblInput, lblOutput; private JTextField txtInput, txtOutput; private JButton btnExit; private JPanel panelSouth, panelNorth; private ImageIcon imgBackground; private JLabel lblBackground; https://www.facebook.com/Oxus20 16
  • 17. public Bubble() { // Background Settings and Customizations imgBackground = new ImageIcon(getClass().getResource("background.jpg")); lblBackground = new JLabel(imgBackground); add(lblBackground); // Labels and TextFields Settings and Customizations lblInput = new JLabel("Enter Your Text:"); lblInput.setForeground(Color.white); txtInput = new JTextField("OXUS20"); txtInput.addKeyListener(this); lblOutput = new JLabel("Result in Bubble:"); lblOutput.setForeground(Color.white); txtOutput = new JTextField("ⓄⓍⓊⓈ➁ⓞ"); panelNorth = new JPanel(); panelNorth.setBackground(new Color(0, 153, 204)); panelNorth.setLayout(new GridLayout(2, 2, 9, 2)); panelNorth.add(lblInput); panelNorth.add(txtInput); panelNorth.add(lblOutput); panelNorth.add(txtOutput); add(panelNorth, BorderLayout.NORTH); https://www.facebook.com/Oxus20 17
  • 18. // Exit Button Settings and Customizations btnExit = new JButton("Exit"); btnExit.addActionListener(this); panelSouth = new JPanel(); panelSouth.setBackground(new Color(0, 153, 204)); panelSouth.add(btnExit); add(panelSouth, BorderLayout.SOUTH); // JFrame Settings and Customizations setUndecorated(true); setSize(500, 317); setLocationRelativeTo(null); setVisible(true); } // Adding Action to our program public void actionPerformed(ActionEvent e) { if (e.getSource() == btnExit) { System.exit(0); } } public void keyPressed(KeyEvent e) { } public void keyTyped(KeyEvent e) { } https://www.facebook.com/Oxus20 18
  • 19. public void keyReleased(KeyEvent e) { if (e.getSource() == txtInput) { String input = txtInput.getText(); String change = input.replace('0', 'ⓞ').replace('1', '➀') .replace('2', '➁').replace('3', '➂').replace('4', '➃') .replace('5', '➄').replace('6', '➅').replace('7', '➆') .replace('8', '➇').replace('9', '➈').replace('a', 'ⓐ') .replace('b', 'ⓑ').replace('c', 'ⓒ').replace('d', 'ⓓ') .replace('e', 'ⓔ').replace('f', 'ⓕ').replace('g', 'ⓖ') .replace('h', 'ⓗ').replace('i', 'ⓘ').replace('j', 'ⓙ') .replace('k', 'ⓚ').replace('l', 'ⓛ').replace('m', 'ⓜ') .replace('n', 'ⓝ').replace('o', 'ⓞ').replace('p', 'ⓟ') .replace('q', 'ⓠ').replace('r', 'ⓡ').replace('s', 'ⓢ') .replace('t', 'ⓣ').replace('u', 'ⓤ').replace('v', 'ⓥ') .replace('w', 'ⓦ').replace('x', 'ⓧ').replace('y', 'ⓨ') .replace('z', 'ⓩ').replace('A', 'Ⓐ').replace('B', 'Ⓑ') .replace('C', 'Ⓒ').replace('D', 'Ⓓ').replace('E', 'Ⓔ') .replace('F', 'Ⓕ').replace('G', 'Ⓖ').replace('H', 'Ⓗ') .replace('I', 'Ⓘ').replace('J', 'Ⓙ').replace('K', 'Ⓚ') .replace('L', 'Ⓛ').replace('M', 'Ⓜ').replace('N', 'Ⓝ') .replace('O', 'Ⓞ').replace('P', 'Ⓟ').replace('Q', 'Ⓠ') .replace('R', 'Ⓡ').replace('S', 'Ⓢ').replace('T', 'Ⓣ') .replace('U', 'Ⓤ').replace('V', 'Ⓥ').replace('W', 'Ⓦ') .replace('X', 'Ⓧ').replace('Y', 'Ⓨ').replace('Z', 'Ⓩ'); txtOutput.setText(change); } 19 } https://www.facebook.com/Oxus20
  • 20. Bubble Example in JAVA (End of Source Code) public static void main(String[] args) { new Bubble(); } } 20 https://www.facebook.com/Oxus20
  • 21. Flip Example in JAVA Graphical User Interface 21 https://www.facebook.com/Oxus20
  • 22. Flip Example in JAVA Source Code import import import import import import import java.awt.BorderLayout; java.awt.Color; java.awt.GridLayout; java.awt.event.ActionEvent; java.awt.event.ActionListener; java.awt.event.KeyEvent; java.awt.event.KeyListener; import import import import import import javax.swing.ImageIcon; javax.swing.JButton; javax.swing.JFrame; javax.swing.JLabel; javax.swing.JPanel; javax.swing.JTextField; public class Flip extends JFrame implements KeyListener { // Required Components Declarations private JLabel lblInput, lblOutput; private JTextField txtInput, txtOutput; private JButton btnExit; private JPanel panelSouth, panelNorth; private ImageIcon imgBackground; private JLabel lblBackground; https://www.facebook.com/Oxus20 22
  • 23. public Flip() { // Background Settings and Customizations imgBackground = new ImageIcon(getClass().getResource("background.jpg")); lblBackground = new JLabel(imgBackground); add(lblBackground); // Labels and TextFields Settings and Customizations lblInput = new JLabel("Enter Your Text:"); lblInput.setForeground(Color.white); txtInput = new JTextField("Flip and Upside down"); txtInput.addKeyListener(this); lblOutput = new JLabel("Result in Flip:"); lblOutput.setForeground(Color.white); txtOutput = new JTextField("Ⅎ!‫ן‬d ɐnd ∩ds!dǝ doʍn"); panelNorth = new JPanel(); panelNorth.setBackground(new Color(0, 153, 204)); panelNorth.setLayout(new GridLayout(2, 2, 0, 2)); panelNorth.add(lblInput); panelNorth.add(txtInput); panelNorth.add(lblOutput); panelNorth.add(txtOutput); add(panelNorth, BorderLayout.NORTH); 23 https://www.facebook.com/Oxus20
  • 24. // Exit Button Settings and Customizations btnExit = new JButton("Exit"); btnExit.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { System.exit(0); } }); panelSouth = new JPanel(); panelSouth.setBackground(new Color(0, 153, 204)); panelSouth.add(btnExit); add(panelSouth, BorderLayout.SOUTH); // JFrame Settings and Customizations setUndecorated(true); setSize(500, 317); setLocationRelativeTo(null); setVisible(true); } public void keyPressed(KeyEvent e) { } public void keyTyped(KeyEvent arg0) { } https://www.facebook.com/Oxus20 24
  • 25. public void keyReleased(KeyEvent e) { if (e.getSource() == txtInput) { String input = txtInput.getText(); String change = input.replace('a', 'ɐ').replace('b', 'q') .replace('c', 'ɔ').replace('d', 'p').replace('e', 'ǝ') .replace('f', 'ɟ').replace('g', 'ƃ').replace('h', 'ɥ') .replace('i', '!').replace('j', 'ɾ').replace('k', 'ʞ') .replace('l', '.)'‫ן‬replace('m', 'ɯ').replace('n', 'u') .replace('o', 'o').replace('p', 'd').replace('q', 'b') .replace('r', 'ɹ').replace('s', 's').replace('t', 'ʇ') .replace('u', 'n').replace('v', 'ʌ').replace('w', 'ʍ') .replace('x', 'x').replace('y', 'ʎ').replace('z', 'z') .replace('A', '∀').replace('B', 'ᗺ').replace('C', 'Ɔ') .replace('D', 'p').replace('E', 'Ǝ').replace('F', 'Ⅎ') .replace('G', '.)'‫פ‬replace('H', 'H').replace('I', 'I') .replace('J', 'ſ').replace('K', 'ʞ').replace('L', '˥') .replace('M', 'W').replace('N', 'N').replace('O', 'O') .replace('P', 'd').replace('Q', 'ઠ').replace('R', 'ᴚ') .replace('S', 'S').replace('T', '⊥').replace('U', '∩') .replace('V', 'ᴧ').replace('W', 'M').replace('X', 'X') .replace('Y', 'ʎ').replace('Z', 'Z'); txtOutput.setText(change); } 25 } https://www.facebook.com/Oxus20
  • 26. Flip Example in JAVA (End of Source Code) public static void main(String[] args) { new Flip(); } } 26 https://www.facebook.com/Oxus20
  • 27. English Number to Persian in JAVA Graphical User Interface 27 https://www.facebook.com/Oxus20
  • 28. English Number to Persian in JAVA Source Code import import import import import import import java.awt.BorderLayout; java.awt.Color; java.awt.GridLayout; java.awt.event.ActionEvent; java.awt.event.ActionListener; java.awt.event.KeyEvent; java.awt.event.KeyListener; import import import import import import javax.swing.ImageIcon; javax.swing.JButton; javax.swing.JFrame; javax.swing.JLabel; javax.swing.JPanel; javax.swing.JTextField; public class PersianNumbers extends JFrame implements KeyListener { // Declaring Components private JLabel lblInput, lblOutput; private JTextField txtInput, txtOutput; private JButton btnExit; private JPanel panelSouth, panelNorth; private ImageIcon imgBackground; private JLabel lblBackground; 28 https://www.facebook.com/Oxus20
  • 29. public PersianNumbers() { // Background Settings and Customizations imgBackground = new ImageIcon(getClass().getResource("background.jpg")); lblBackground = new JLabel(imgBackground); add(lblBackground); // Labels and TextFields Settings and Customizations lblInput = new JLabel("Enter English Number :"); lblInput.setForeground(Color.white); txtInput = new JTextField("0123456789"); txtInput.addKeyListener(this); lblOutput = new JLabel("Result of Persion Number :"); lblOutput.setForeground(Color.white); txtOutput = new JTextField("٠١٢٣٤٥٦٧٨٩"); panelNorth = new JPanel(); panelNorth.setBackground(new Color(0, 153, 204)); panelNorth.setLayout(new GridLayout(2, 2, 0, 2)); panelNorth.add(lblInput); panelNorth.add(txtInput); panelNorth.add(lblOutput); panelNorth.add(txtOutput); add(panelNorth, BorderLayout.NORTH); 29 https://www.facebook.com/Oxus20
  • 30. // Exit Button Settings and Customizations btnExit = new JButton("Exit"); btnExit.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { System.exit(0); } }); panelSouth = new JPanel(); panelSouth.setBackground(new Color(0, 153, 204)); panelSouth.add(btnExit); add(panelSouth, BorderLayout.SOUTH); // JFrame Settings and Customizations setUndecorated(true); setSize(500, 317); setLocationRelativeTo(null); setVisible(true); } public void keyPressed(KeyEvent arg0) { } public void keyTyped(KeyEvent arg0) { } 30 https://www.facebook.com/Oxus20
  • 31. English Number to Persian in JAVA End of Source Code public void keyReleased(KeyEvent e) { if (e.getSource() == txtInput) { String input = txtInput.getText(); String change = input.replace('0', 'u0660').replace('1', 'u0661') .replace('2', 'u0662').replace('3', 'u0663') .replace('4', 'u0664').replace('5', 'u0665') .replace('6', 'u0666').replace('7', 'u0667') .replace('8', 'u0668').replace('9', 'u0669'); txtOutput.setText(change); } } public static void main(String[] args) { new PersianNumbers(); } } 31 https://www.facebook.com/Oxus20
  • 32. Tips Simple String Methods » charAt() ˃ The charAt(index) method returns the character at a specific index in the string. ˃ The first character of a string is at index 0, the next at index 1, and so on. ˃ The index argument must be greater than or equal to 0, and less than the length of the string buffer. » replaceAll() ˃ The String class also contains the replaceAll method for replacing and splitting strings ˃ The replaceAll method replaces all matching substring. 32 https://www.facebook.com/Oxus20
  • 33. Unicode Further Works and Suggestions » Transliteration ˃ English Name to Persian/Arabic ˃ Nahid Razaie => ‫ناهید رضایی‬ » Google Transliteration ˃ Salam => ‫سالم‬ ˃ Ba OXUS20 Khush Amadid => 20 ‫خوش آمدید به آکسیوس‬ 33 https://www.facebook.com/Oxus20