Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
201619030730
nosei
Commits
80f4e532
Commit
80f4e532
authored
Nov 23, 2017
by
Wellington Idino
Browse files
Correção da viwer
parent
7840444f
Changes
8
Hide whitespace changes
Inline
Side-by-side
build/classes/view/TelaUnidade$3.class
View file @
80f4e532
No preview for this file type
build/classes/view/TelaUnidade$4.class
View file @
80f4e532
No preview for this file type
build/classes/view/TelaUnidade$5.class
0 → 100644
View file @
80f4e532
File added
build/classes/view/TelaUnidade.class
View file @
80f4e532
No preview for this file type
build/classes/view/TelaUnidade.form
View file @
80f4e532
...
...
@@ -70,7 +70,7 @@
<Group
type=
"102"
alignment=
"1"
attributes=
"0"
>
<Component
id=
"Jcadastrar"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
<EmptySpace
type=
"unrelated"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"
jButton1
"
min=
"-2"
pref=
"105"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"
JUpdate
"
min=
"-2"
pref=
"105"
max=
"-2"
attributes=
"0"
/>
</Group>
</Group>
</Group>
...
...
@@ -119,7 +119,7 @@
<EmptySpace
pref=
"18"
max=
"32767"
attributes=
"0"
/>
<Group
type=
"103"
groupAlignment=
"0"
attributes=
"0"
>
<Component
id=
"Jcadastrar"
alignment=
"1"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"
jButton1
"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"
JUpdate
"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
</Group>
<EmptySpace
max=
"32767"
attributes=
"0"
/>
<Component
id=
"jScrollPane2"
min=
"-2"
pref=
"173"
max=
"-2"
attributes=
"0"
/>
...
...
@@ -182,10 +182,13 @@
<Property
name=
"text"
type=
"java.lang.String"
value=
"Gerenciamento de Unidade"
/>
</Properties>
</Component>
<Component
class=
"javax.swing.JButton"
name=
"
jButton1
"
>
<Component
class=
"javax.swing.JButton"
name=
"
JUpdate
"
>
<Properties>
<Property
name=
"text"
type=
"java.lang.String"
value=
"Editar"
/>
</Properties>
<Events>
<EventHandler
event=
"actionPerformed"
listener=
"java.awt.event.ActionListener"
parameters=
"java.awt.event.ActionEvent"
handler=
"JUpdateActionPerformed"
/>
</Events>
</Component>
<Container
class=
"javax.swing.JScrollPane"
name=
"jScrollPane2"
>
...
...
nbproject/private/private.xml
View file @
80f4e532
...
...
@@ -3,8 +3,6 @@
<editor-bookmarks
xmlns=
"http://www.netbeans.org/ns/editor-bookmarks/2"
lastBookmarkId=
"0"
/>
<open-files
xmlns=
"http://www.netbeans.org/ns/projectui-open-files/2"
>
<group>
<file>
file:/Users/wellington/Documents/soft/dce/src/model/bean/Unidade.java
</file>
<file>
file:/Users/wellington/Documents/soft/dce/src/model/dao/UnidadeDAO.java
</file>
<file>
file:/Users/wellington/Documents/soft/dce/src/view/TelaUnidade.java
</file>
</group>
</open-files>
...
...
src/view/TelaUnidade.form
View file @
80f4e532
...
...
@@ -70,7 +70,7 @@
<Group
type=
"102"
alignment=
"1"
attributes=
"0"
>
<Component
id=
"Jcadastrar"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
<EmptySpace
type=
"unrelated"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"
jButton1
"
min=
"-2"
pref=
"105"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"
JUpdate
"
min=
"-2"
pref=
"105"
max=
"-2"
attributes=
"0"
/>
</Group>
</Group>
</Group>
...
...
@@ -119,7 +119,7 @@
<EmptySpace
pref=
"18"
max=
"32767"
attributes=
"0"
/>
<Group
type=
"103"
groupAlignment=
"0"
attributes=
"0"
>
<Component
id=
"Jcadastrar"
alignment=
"1"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"
jButton1
"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"
JUpdate
"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
</Group>
<EmptySpace
max=
"32767"
attributes=
"0"
/>
<Component
id=
"jScrollPane2"
min=
"-2"
pref=
"173"
max=
"-2"
attributes=
"0"
/>
...
...
@@ -182,10 +182,13 @@
<Property
name=
"text"
type=
"java.lang.String"
value=
"Gerenciamento de Unidade"
/>
</Properties>
</Component>
<Component
class=
"javax.swing.JButton"
name=
"
jButton1
"
>
<Component
class=
"javax.swing.JButton"
name=
"
JUpdate
"
>
<Properties>
<Property
name=
"text"
type=
"java.lang.String"
value=
"Editar"
/>
</Properties>
<Events>
<EventHandler
event=
"actionPerformed"
listener=
"java.awt.event.ActionListener"
parameters=
"java.awt.event.ActionEvent"
handler=
"JUpdateActionPerformed"
/>
</Events>
</Component>
<Container
class=
"javax.swing.JScrollPane"
name=
"jScrollPane2"
>
...
...
src/view/TelaUnidade.java
View file @
80f4e532
...
...
@@ -56,7 +56,7 @@ public class TelaUnidade extends javax.swing.JFrame {
Jcadastrar
=
new
javax
.
swing
.
JButton
();
jLabel4
=
new
javax
.
swing
.
JLabel
();
jLabel5
=
new
javax
.
swing
.
JLabel
();
jButton1
=
new
javax
.
swing
.
JButton
();
JUpdate
=
new
javax
.
swing
.
JButton
();
jScrollPane2
=
new
javax
.
swing
.
JScrollPane
();
JTunidades
=
new
javax
.
swing
.
JTable
();
...
...
@@ -90,7 +90,12 @@ public class TelaUnidade extends javax.swing.JFrame {
jLabel5
.
setText
(
"Gerenciamento de Unidade"
);
jButton1
.
setText
(
"Editar"
);
JUpdate
.
setText
(
"Editar"
);
JUpdate
.
addActionListener
(
new
java
.
awt
.
event
.
ActionListener
()
{
public
void
actionPerformed
(
java
.
awt
.
event
.
ActionEvent
evt
)
{
JUpdateActionPerformed
(
evt
);
}
});
JTunidades
.
setModel
(
new
javax
.
swing
.
table
.
DefaultTableModel
(
new
Object
[][]
{
...
...
@@ -136,7 +141,7 @@ public class TelaUnidade extends javax.swing.JFrame {
.
addGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
,
jPanel1Layout
.
createSequentialGroup
()
.
addComponent
(
Jcadastrar
)
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)
.
addComponent
(
jButton1
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
105
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))))
.
addComponent
(
JUpdate
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
105
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))))
.
addGroup
(
jPanel1Layout
.
createSequentialGroup
()
.
addGap
(
60
,
60
,
60
)
.
addComponent
(
jLabel4
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
76
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)
...
...
@@ -172,7 +177,7 @@ public class TelaUnidade extends javax.swing.JFrame {
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
,
18
,
Short
.
MAX_VALUE
)
.
addGroup
(
jPanel1Layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)
.
addComponent
(
Jcadastrar
,
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
)
.
addComponent
(
jButton1
))
.
addComponent
(
JUpdate
))
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
,
javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
Short
.
MAX_VALUE
)
.
addComponent
(
jScrollPane2
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
173
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)
.
addContainerGap
(
21
,
Short
.
MAX_VALUE
))
...
...
@@ -215,6 +220,10 @@ public class TelaUnidade extends javax.swing.JFrame {
readTable
();
}
//GEN-LAST:event_JcadastrarActionPerformed
private
void
JUpdateActionPerformed
(
java
.
awt
.
event
.
ActionEvent
evt
)
{
//GEN-FIRST:event_JUpdateActionPerformed
}
//GEN-LAST:event_JUpdateActionPerformed
/**
* @param args the command line arguments
*/
...
...
@@ -252,8 +261,8 @@ public class TelaUnidade extends javax.swing.JFrame {
// Variables declaration - do not modify//GEN-BEGIN:variables
private
javax
.
swing
.
JTable
JTunidades
;
private
javax
.
swing
.
JButton
JUpdate
;
private
javax
.
swing
.
JButton
Jcadastrar
;
private
javax
.
swing
.
JButton
jButton1
;
private
javax
.
swing
.
JLabel
jLabel1
;
private
javax
.
swing
.
JLabel
jLabel2
;
private
javax
.
swing
.
JLabel
jLabel3
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment