SlideShare a Scribd company logo
»
»
»
»
»
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

More Related Content

PPT
Cpp c++ 1
Sltnalt Cosmology
 
PDF
Service intergration
재민 장
 
PDF
Building Real Time Systems on MongoDB Using the Oplog at Stripe
MongoDB
 
PPT
PHP Tutorial (funtion)
Tinnakorn Puttha
 
PDF
The Joy of Smartmatch
Andrew Shitov
 
PDF
WordPressでIoTをはじめよう
Yuriko IKEDA
 
PDF
How to stand on the shoulders of giants
Ian Barber
 
Service intergration
재민 장
 
Building Real Time Systems on MongoDB Using the Oplog at Stripe
MongoDB
 
PHP Tutorial (funtion)
Tinnakorn Puttha
 
The Joy of Smartmatch
Andrew Shitov
 
WordPressでIoTをはじめよう
Yuriko IKEDA
 
How to stand on the shoulders of giants
Ian Barber
 

What's hot (20)

PDF
The Perl6 Type System
abrummett
 
DOCX
Binomial heap
Kalpana Vijayaraghavan
 
PDF
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Stripe
 
PDF
Perl6 in-production
Andrew Shitov
 
PDF
Building Real Time Systems on MongoDB Using the Oplog at Stripe
MongoDB
 
PDF
201412 seccon2014 オンライン予選(英語) write-up
恵寿 東
 
PDF
Perl 6 by example
Andrew Shitov
 
PPTX
Alexander Mostovenko "Modern approach to localization in javascript with the ...
OdessaJS Conf
 
PPT
Shell and perl scripting classes in mumbai
Vibrant Technologies & Computers
 
PDF
Perl6 grammars
Andrew Shitov
 
DOCX
Ccc
Nprasad888
 
PDF
Creating a compiler in Perl 6
Andrew Shitov
 
PDF
CGI.pm - 3ло?!
Anatoly Sharifulin
 
PDF
Debugging: Rules And Tools - PHPTek 11 Version
Ian Barber
 
PDF
Abusing text/template for data transformation
Arnaud Porterie
 
PDF
ZeroMQ Is The Answer: DPC 11 Version
Ian Barber
 
PDF
Teaching Your Machine To Find Fraudsters
Ian Barber
 
PDF
Pdxpugday2010 pg90
Selena Deckelmann
 
TXT
Pop3ck sh
Ben Pope
 
TXT
New text document
Abdul Manan Hamza
 
The Perl6 Type System
abrummett
 
Binomial heap
Kalpana Vijayaraghavan
 
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Stripe
 
Perl6 in-production
Andrew Shitov
 
Building Real Time Systems on MongoDB Using the Oplog at Stripe
MongoDB
 
201412 seccon2014 オンライン予選(英語) write-up
恵寿 東
 
Perl 6 by example
Andrew Shitov
 
Alexander Mostovenko "Modern approach to localization in javascript with the ...
OdessaJS Conf
 
Shell and perl scripting classes in mumbai
Vibrant Technologies & Computers
 
Perl6 grammars
Andrew Shitov
 
Creating a compiler in Perl 6
Andrew Shitov
 
CGI.pm - 3ло?!
Anatoly Sharifulin
 
Debugging: Rules And Tools - PHPTek 11 Version
Ian Barber
 
Abusing text/template for data transformation
Arnaud Porterie
 
ZeroMQ Is The Answer: DPC 11 Version
Ian Barber
 
Teaching Your Machine To Find Fraudsters
Ian Barber
 
Pdxpugday2010 pg90
Selena Deckelmann
 
Pop3ck sh
Ben Pope
 
New text document
Abdul Manan Hamza
 
Ad

Viewers also liked (20)

PPTX
TKP Java Notes for Teaching Kids Programming
Lynn Langit
 
PDF
Java Regular Expression PART I
OXUS 20
 
PDF
PHP Basic and Fundamental Questions and Answers with Detail Explanation
OXUS 20
 
PDF
Fal-e-Hafez (Omens of Hafez) Cards in Persian using Java
OXUS 20
 
PDF
Java Applet and Graphics
OXUS 20
 
PDF
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
OXUS 20
 
PDF
Java Regular Expression PART II
OXUS 20
 
PPTX
Conditional Statement
OXUS 20
 
PDF
Everything about Object Oriented Programming
Abdul Rahman Sherzad
 
PDF
Object Oriented Concept Static vs. Non Static
OXUS 20
 
PPTX
Structure programming – Java Programming – Theory
OXUS 20
 
PDF
Java Guessing Game Number Tutorial
OXUS 20
 
PDF
Create Splash Screen with Java Step by Step
OXUS 20
 
PDF
Web Design and Development Life Cycle and Technologies
OXUS 20
 
PDF
Everything about Database JOINS and Relationships
OXUS 20
 
PDF
Note - Java Remote Debug
boyw165
 
DOCX
Core java notes with examples
bindur87
 
PDF
Java Unicode with Live GUI Examples
Abdul Rahman Sherzad
 
PDF
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Abdul Rahman Sherzad
 
PDF
Jdbc Complete Notes by Java Training Center (Som Sir)
Som Prakash Rai
 
TKP Java Notes for Teaching Kids Programming
Lynn Langit
 
Java Regular Expression PART I
OXUS 20
 
PHP Basic and Fundamental Questions and Answers with Detail Explanation
OXUS 20
 
Fal-e-Hafez (Omens of Hafez) Cards in Persian using Java
OXUS 20
 
Java Applet and Graphics
OXUS 20
 
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
OXUS 20
 
Java Regular Expression PART II
OXUS 20
 
Conditional Statement
OXUS 20
 
Everything about Object Oriented Programming
Abdul Rahman Sherzad
 
Object Oriented Concept Static vs. Non Static
OXUS 20
 
Structure programming – Java Programming – Theory
OXUS 20
 
Java Guessing Game Number Tutorial
OXUS 20
 
Create Splash Screen with Java Step by Step
OXUS 20
 
Web Design and Development Life Cycle and Technologies
OXUS 20
 
Everything about Database JOINS and Relationships
OXUS 20
 
Note - Java Remote Debug
boyw165
 
Core java notes with examples
bindur87
 
Java Unicode with Live GUI Examples
Abdul Rahman Sherzad
 
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Abdul Rahman Sherzad
 
Jdbc Complete Notes by Java Training Center (Som Sir)
Som Prakash Rai
 
Ad

More from OXUS 20 (8)

PDF
Java Arrays
OXUS 20
 
PPTX
Java Methods
OXUS 20
 
PDF
Fundamentals of Database Systems Questions and Answers
OXUS 20
 
PDF
JAVA GUI PART III
OXUS 20
 
PDF
Java GUI PART II
OXUS 20
 
PDF
JAVA GUI PART I
OXUS 20
 
PDF
JAVA Programming Questions and Answers PART III
OXUS 20
 
PDF
Object Oriented Programming with Real World Examples
OXUS 20
 
Java Arrays
OXUS 20
 
Java Methods
OXUS 20
 
Fundamentals of Database Systems Questions and Answers
OXUS 20
 
JAVA GUI PART III
OXUS 20
 
Java GUI PART II
OXUS 20
 
JAVA GUI PART I
OXUS 20
 
JAVA Programming Questions and Answers PART III
OXUS 20
 
Object Oriented Programming with Real World Examples
OXUS 20
 

Recently uploaded (20)

PPTX
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PDF
7.Particulate-Nature-of-Matter.ppt/8th class science curiosity/by k sandeep s...
Sandeep Swamy
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PPTX
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PPTX
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
PPTX
Strengthening open access through collaboration: building connections with OP...
Jisc
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PPT
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
PPTX
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
DOCX
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PDF
Landforms and landscapes data surprise preview
jpinnuck
 
PPTX
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
PDF
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
PPTX
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
7.Particulate-Nature-of-Matter.ppt/8th class science curiosity/by k sandeep s...
Sandeep Swamy
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
Strengthening open access through collaboration: building connections with OP...
Jisc
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
Landforms and landscapes data surprise preview
jpinnuck
 
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 

Java Unicode with Cool GUI Examples

  • 1. » » » » » https://www.facebook.com/Oxus20 [email protected] 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