betaLabel.setFont(regFont)

beta = JLabel("n/a")
beta.setSize(180, 13)
beta.setLocation(157, 202)
beta.setFont(regFont)

#tombol copy to clipboard
genKeyButton = JButton("Bangkitkan kunci", actionPerformed=keyGeneration)
genKeyButton.setSize(243, 55)
genKeyButton.setLocation(62, 223)
genKeyButton.setFont(buttonFont)

#tabbed pane enkripsi dan dekripsi
myTabbedPane = JTabbedPane()
myTabbedPane.setSize(310, 214)
myTabbedPane.setLocation(21, 299)

#global regFont
#regFont = awt.Font("Arial", Font.PLAIN, 13)

#panel1
panel1 = JPanel()
panel1.setOpaque(True)
panel1.setBackground(Color.WHITE)
panel1.setLayout(None)
myTabbedPane.addTab("Enkripsi", panel1)
panel1.setSize(393, 214)
panel1.setLocation(0, 0)

plainTextLabel = JLabel("Pesan asli")
Пример #2
0
print string1
string2 = derReddrucker(gFB, gReductedIC)
print string2

string3 = derDrucker(gReductedIC, gFB, gRICsum, ohm, randomB, randomPow, A, prime, akP, be) #(gReductedIC, gFB, gRICsum )

meinFont = Font("Arial", Font.PLAIN, 32)

#white = Color.WHITE()
#meinFont.setColor(Color.WHITE)
#myICTable = JTable()



tabbedPane = JTabbedPane()
tabbedPane.setSize(377, 377)
tabbedPane.setLocation(15, 5)
tabbedPane.setVisible(True)



#panel1
p1 = JPanel()
p1.setOpaque(True)
p1.setBackground(Color.WHITE)
p1.setLayout(None)
p1.setSize(357, 337)
p1.setLocation(0, 0)
p1.setVisible(True)

'''
Created on 28 Feb 2017

@author: A C E R
'''
from javax.swing import JFrame, JPanel, JTabbedPane
from java.awt import BorderLayout

informasi = JFrame("Informasi", size=(610, 610))
informasi.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)

informasiPane = JPanel()

informasiTabbedPane = JTabbedPane()
informasiTabbedPane.setSize(610, 600)
informasiTabbedPane.setLocation(0, 0)

#global regFont
#regFont = awt.Font("Arial", Font.PLAIN, 13)

#panel1
mainFormHelper = JPanel()
mainFormHelper.setOpaque(True)
mainFormHelper.setLayout(None)
informasiTabbedPane.addTab("Halaman Utama", mainFormHelper)
mainFormHelper.setSize(610, 599)
mainFormHelper.setLocation(0, 0)

naiveFormHelper = JPanel()
naiveFormHelper.setOpaque(True)
naiveFormHelper.setLayout(None)