Las tablas se deseleccionan al ver la vista
This commit is contained in:
@@ -108,7 +108,7 @@ public class AutorSearchController extends BaseController {
|
||||
public void reload() {
|
||||
this.loadAutorTable();
|
||||
this.view.getSearchField().requestFocus();
|
||||
this.view.getAutorTable().setRowSelectionInterval(0, 0);
|
||||
this.view.getAutorTable().clearSelection();
|
||||
}
|
||||
|
||||
private void loadAutorTable() {
|
||||
|
||||
@@ -114,7 +114,7 @@ public class CategoriaSearchController extends BaseController {
|
||||
|
||||
public void reload() {
|
||||
this.loadCategoriaTable();
|
||||
this.view.getCategoriaTable().setRowSelectionInterval(0, 0);
|
||||
this.view.getCategoriaTable().clearSelection();
|
||||
this.view.getSearchField().requestFocus();
|
||||
}
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ public class ClienteSearchController extends BaseController {
|
||||
|
||||
private void reload() {
|
||||
this.loadClienteTable();
|
||||
this.view.getClienteTable().setRowSelectionInterval(0, 0);
|
||||
this.view.getClienteTable().clearSelection();
|
||||
this.view.getSearchField().requestFocus();
|
||||
}
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ public class DistribuidorSearchController extends BaseController {
|
||||
|
||||
private void reload() {
|
||||
this.loadDistribuidorTable();
|
||||
this.view.getDistribuidorTable().setRowSelectionInterval(0, 0);
|
||||
this.view.getDistribuidorTable().clearSelection();
|
||||
this.view.getSearchField().requestFocus();
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ public class EditorialSearchController extends BaseController {
|
||||
|
||||
public void reload() {
|
||||
this.loadEditorialTable();
|
||||
this.view.getEditorialTable().setRowSelectionInterval(0, 0);
|
||||
this.view.getEditorialTable().clearSelection();
|
||||
this.view.getBuscarField().requestFocus();
|
||||
}
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ public class EmpresaSearchController extends BaseController {
|
||||
|
||||
public void reload() {
|
||||
this.loadEmpresaTable();
|
||||
this.view.getEmpresaTable().setRowSelectionInterval(0, 0);
|
||||
this.view.getEmpresaTable().clearSelection();
|
||||
this.view.getBuscarField().requestFocus();
|
||||
}
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ public class IdiomaSearchController extends BaseController {
|
||||
public void reload() {
|
||||
this.loadIdiomaTable();
|
||||
this.view.getBuscarField().requestFocus();
|
||||
this.view.getIdiomaTable().setRowSelectionInterval(0, 0);
|
||||
this.view.getIdiomaTable().clearSelection();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -106,7 +106,7 @@ public class LibroSearchController extends BaseController {
|
||||
public void reload() {
|
||||
this.loadLibroTable();
|
||||
this.view.getBuscarField().requestFocus();
|
||||
this.view.getLibrosTable().setRowSelectionInterval(0, 0);
|
||||
this.view.getLibrosTable().clearSelection();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -121,7 +121,7 @@ public class TrabajadorSearchController extends BaseController {
|
||||
private void reload() {
|
||||
this.loadTrabajadorTable();
|
||||
this.view.getSearchField().requestFocus();
|
||||
this.view.getTrabajadorTable().setRowSelectionInterval(0, 0);
|
||||
this.view.getTrabajadorTable().clearSelection();
|
||||
}
|
||||
|
||||
private void loadTrabajadorTable() {
|
||||
|
||||
@@ -150,7 +150,9 @@
|
||||
<preferred-size width="400" height="-1"/>
|
||||
</grid>
|
||||
</constraints>
|
||||
<properties/>
|
||||
<properties>
|
||||
<editable value="false"/>
|
||||
</properties>
|
||||
</component>
|
||||
<component id="f12bb" class="javax.swing.JLabel">
|
||||
<constraints>
|
||||
|
||||
Reference in New Issue
Block a user