blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 7 332 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 7 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 557
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 5.85k 684M ⌀ | star_events_count int64 0 77.7k | fork_events_count int64 0 48k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 82
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 5.41M | extension stringclasses 11
values | content stringlengths 7 5.41M | authors listlengths 1 1 | author stringlengths 0 161 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
69254a8bcd7242ebd295ee37b40535ececa446f5 | 3a4eae929b41fc3b9826ee0806cded3c515c825c | /src/model/dao/SinhVienDAO.java | 9608e4211f24f60226920a2ae4439b314825db5e | [] | no_license | tranbaduyen/Structs_Example | 30423df4caa89c33b45744cb96cb80c34e45aa10 | cf4c217c6288c723487934eca7fcafb8ff92ea56 | refs/heads/master | 2021-01-20T01:50:30.612968 | 2017-05-11T19:04:19 | 2017-05-11T19:04:19 | 89,331,793 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 5,081 | java | package model.dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import model.bean.SinhVien;
/**
* SinhVienDAO.java
*
* Version 1.0
*
* Date: Jan 19, 2015
*
* Copyright
*
* Modification Logs:
* DATE AUTHOR DESCRIPTION
* -----------------------------------------------------------------------
* Jan 19, 2015 DaiLV2 Create
*/
public class SinhVienDAO {
String url = "jdbc:sqlserver://localhost:1433;instance=MSSQLSERVER;databaseName=JavaEE_Example";
String userName = "sa";
String password = "abc@1234";
Connection connection;
void connect(){
try {
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
connection = DriverManager.getConnection(url, userName, password);
System.out.println("Ket noi thanh cong");
} catch (SQLException e) {
e.printStackTrace();
System.out.println("Ket noi loi");
} catch (ClassNotFoundException e) {
e.printStackTrace();
System.out.println("Ket noi loi");
}
}
public ArrayList<SinhVien> getListSinhVien() {
connect();
String sql= "SELECT sv.msv, sv.HoTen, sv.GioiTinh, k.TenKhoa, sv.HinhDaiDien "+
" FROM SinhVien sv INNER JOIN Khoa AS k ON k.MaKhoa = sv.MaKhoa";
ResultSet rs = null;
try {
Statement stmt = connection.createStatement();
rs = stmt.executeQuery(sql);
} catch (SQLException e) {
e.printStackTrace();
}
ArrayList<SinhVien> list = new ArrayList<SinhVien>();
SinhVien sinhVien;
try {
while(rs.next()){
sinhVien = new SinhVien();
sinhVien.setMsv(rs.getString("msv"));
sinhVien.setHoTen(rs.getString("HoTen"));
sinhVien.setGioiTinh(rs.getString("GioiTinh"));
sinhVien.setTenKhoa(rs.getString("TenKhoa"));
sinhVien.setHinhDaiDien(rs.getString("HinhDaiDien"));
list.add(sinhVien);
}
} catch (SQLException e) {
e.printStackTrace();
}
return list;
}
public ArrayList<SinhVien> getListSinhVien(String maKhoa) {
connect();
String sql= String.format("SELECT sv.msv, sv.HoTen, sv.GioiTinh, sv.HinhDaiDien , k.TenKhoa"+
" FROM SinhVien sv INNER JOIN Khoa AS k ON k.MaKhoa = sv.MaKhoa"+
" WHERE sv.MaKhoa = '%s'", maKhoa);
ResultSet rs = null;
try {
Statement stmt = connection.createStatement();
rs = stmt.executeQuery(sql);
} catch (SQLException e) {
e.printStackTrace();
}
ArrayList<SinhVien> list = new ArrayList<SinhVien>();
SinhVien sinhVien;
try {
while(rs.next()){
sinhVien = new SinhVien();
sinhVien.setMsv(rs.getString("msv"));
sinhVien.setHoTen(rs.getString("HoTen"));
sinhVien.setGioiTinh(rs.getString("GioiTinh"));
sinhVien.setTenKhoa(rs.getString("TenKhoa"));
sinhVien.setHinhDaiDien(rs.getString("HinhDaiDien"));
list.add(sinhVien);
}
} catch (SQLException e) {
e.printStackTrace();
}
return list;
}
public void themSinhVien(String msv, String hoTen, String gioiTinh, String maKhoa, String hinhDaiDien) {
connect();
String sql= String.format("INSERT INTO SinhVien(msv,HoTen,GioiTinh,MaKhoa,HinhDaiDien) "+
" VALUES ( '%s',N'%s','%s','%s',N'%s' )", msv, hoTen, gioiTinh, maKhoa,hinhDaiDien);
try {
Statement stmt = connection.createStatement();
stmt.executeUpdate(sql);
} catch (SQLException e) {
e.printStackTrace();
}
}
public SinhVien getThongTinSinhVien(String msv) {
connect();
String sql= String.format("SELECT HoTen, GioiTinh, MaKhoa, HinhDaiDien, msv "+
" FROM SinhVien WHERE msv = '%s'", msv);
ResultSet rs = null;
try {
Statement stmt = connection.createStatement();
rs = stmt.executeQuery(sql);
} catch (SQLException e) {
e.printStackTrace();
}
SinhVien sinhVien = new SinhVien();
try {
while(rs.next()){
sinhVien.setMsv(msv);
sinhVien.setHoTen(rs.getString("HoTen"));
sinhVien.setGioiTinh(rs.getString("GioiTinh"));
sinhVien.setMaKhoa(rs.getString("MaKhoa"));
sinhVien.setHinhDaiDien(rs.getString("HinhDaiDien"));
}
} catch (SQLException e) {
e.printStackTrace();
}
return sinhVien;
}
public void suaSinhVien(String msv, String hoTen, String gioiTinh, String maKhoa, String hinhDaiDien) {
connect();
String sql= String.format("UPDATE SinhVien "+
" SET HoTen = N'%s', GioiTinh = %s, MaKhoa = '%s', HinhDaiDien = N'%s' " +
" WHERE msv = '%s'", hoTen, gioiTinh, maKhoa,hinhDaiDien, msv);
try {
Statement stmt = connection.createStatement();
stmt.executeUpdate(sql);
} catch (SQLException e) {
e.printStackTrace();
}
}
public void xoaSinhVien(String msv) {
connect();
String sql= String.format("DELETE FROM SinhVien WHERE msv = '%s'", msv);
System.out.println(sql);
try {
Statement stmt = connection.createStatement();
stmt.executeUpdate(sql);
} catch (SQLException e) {
e.printStackTrace();
}
}
}
| [
"tranbaduyen1995@gmail.com"
] | tranbaduyen1995@gmail.com |
df7a3b27a7bda90bad681484368e631d98c9605e | d7613fc69bacf8bcbd46dcc132efc870014edfb3 | /src/main/java/com/github/javaparser/printer/lexicalpreservation/changes/ListReplacementChange.java | b1fb7f0149885fac893db98571def48816c2117d | [] | no_license | xiaogui10000/javaparser-core | 28961a9343b1d0c7263a98ce9362aaa6e033f9ee | 7cfecf2bce53b793be9ee45cd63aa1aaa4ad93dc | refs/heads/master | 2020-03-24T06:58:08.736546 | 2018-04-03T02:42:46 | 2018-04-03T02:42:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,630 | java | package com.github.javaparser.printer.lexicalpreservation.changes;
import com.github.javaparser.ast.Node;
import com.github.javaparser.ast.NodeList;
import com.github.javaparser.ast.observer.ObservableProperty;
import com.github.javaparser.utils.Pair;
/**
* The replacement of an element in a list.
*/
public class ListReplacementChange extends Change {
private final ObservableProperty observableProperty;
private final int index;
private final Node newValue;
public ListReplacementChange(ObservableProperty observableProperty, int index, Node newValue) {
this.observableProperty = observableProperty;
this.index = index;
this.newValue = newValue;
}
@Override
public Object getValue(ObservableProperty property, Node node) {
if (property == observableProperty) {
NodeList nodeList = new NodeList();
Object currentRawValue = new NoChange().getValue(property, node);
/*if (currentRawValue instanceof Optional) {
Optional optional = (Optional)currentRawValue;
currentRawValue = optional.orElseGet(null);
}*/
if (!(currentRawValue instanceof NodeList)){
throw new IllegalStateException("Expected NodeList, found " + currentRawValue.getClass().getCanonicalName());
}
NodeList currentNodeList = (NodeList)currentRawValue;
nodeList.addAll(currentNodeList);
nodeList.set(index, newValue);
return nodeList;
} else {
return new NoChange().getValue(property, node);
}
}
}
| [
"1337893145@qq.com"
] | 1337893145@qq.com |
c7d87e8fc68de3d014ec2865494a17d92b3df523 | fc435f02a7fe09497f722ca0fce77d16dcbd0dc6 | /src/by/it/kalabuhova/lesson06/TaskA1.java | 2cc49040d794796645b538cf29839356514b225e | [] | no_license | DaryaLoban/cs2018-01-08 | 28b1f5c9301c3b1d0f6ad50393d9334f8b6215a6 | 4d3e626861d9ed3f00c8e48afd4272e379a3344c | refs/heads/master | 2021-05-13T20:49:34.129814 | 2018-01-21T23:05:11 | 2018-01-21T23:05:11 | 116,920,507 | 0 | 0 | null | 2018-01-10T06:58:55 | 2018-01-10T06:58:55 | null | UTF-8 | Java | false | false | 2,047 | java | package by.it.kalabuhova.lesson06;
/*
Геттеры и сеттеры для класса Dog
Создайте class Dog.
У собаки должна быть кличка String name и возраст int age.
Создайте геттеры и сеттеры для всех переменных класса Dog.
Требования:
1. Программа не должна считывать данные с клавиатуры.
2. У класса Dog должна быть переменная name с типом String.
3. У класса Dog должна быть переменная age с типом int.
4. У класса должен сеттер для переменной name.
5. У класса должен геттер для переменной name.
6. У класса должен сеттер для переменной age.
7. У класса должен геттер для переменной age.
8. Создайте внутри метода main (класса TaskA1) две разных собаки (т.е. два объекта типа Dog)
9. Заполните поля собак используя сеттеры.
Первая - Шарик, 5 лет. Вторая - Тузик, 3 года.
10. Напечатайте этих двух собак, выводите собак в формате
Кличка Возраст
через пробел. При выводе обяхательно иcпользуйте геттеры.
Ожидается вывод:
Шарик 5
Тузик 3
*/
public class TaskA1 {
public static void main(String[] args) {
Dog d1 = new Dog();
Dog d2 = new Dog();
d1.setName("Шарик");
d1.setAge(5);
d2.setName("Тузик");
d2.setAge(3);
System.out.println(d1.getName() + " " + d1.getAge());
System.out.println(d2.getName() + " " + d2.getAge());
}
}
| [
"kalabuhova@yandex.ru"
] | kalabuhova@yandex.ru |
ff9a27e6a5b4e1cd9ec8358f751031c1aefec585 | a7a0d55d84d329dee45a3dbcbc048e9597c7fdf9 | /Final Project/ViewBorrow.java | ed3323bffe01d4833fe6335e7d92493230184f52 | [] | no_license | Jibon3107/LibrarymanagementsysJAVA | 6b219633f30212e3bc46850ddb12faa2aa0e06a3 | 7520f112c5218bdbc7b1d9a5a23ce96afa1cffc0 | refs/heads/master | 2020-11-26T00:39:49.009739 | 2019-12-18T19:41:50 | 2019-12-18T19:41:50 | 228,909,245 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,306 | java | import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.Color;
import java.awt.event.*;
import java.util.ArrayList;
import javax.swing.table.*;
import java.awt.Font;
import java.sql.*;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.border.EmptyBorder;
import javax.swing.JTable;
public class ViewBorrow extends JFrame {
private JPanel contentPane;
private JTable table;
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
ViewBorrow frame = new ViewBorrow();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
public ViewBorrow() {
this.setTitle("View Borrowed Books");
setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
setBounds(100, 100, 500, 300);
contentPane = new JPanel();
contentPane.setSize(500,300);
contentPane.setBackground(new Color(127,255,212));
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
contentPane.setLayout(new BorderLayout(0, 0));
this.add(contentPane);
String data[][]=null;
String column[]=null;
try{
Connection con=DB.getConnection();
PreparedStatement ps=con.prepareStatement("select * from issuebook",ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
ResultSet rs=ps.executeQuery();
ResultSetMetaData rsmd=rs.getMetaData();
int cols=rsmd.getColumnCount();
column=new String[cols];
for(int i=1;i<=cols;i++){
column[i-1]=rsmd.getColumnName(i);
}
rs.last();
int rows=rs.getRow();
rs.beforeFirst();
data=new String[rows][cols];
int count=0;
while(rs.next()){
for(int i=1;i<=cols;i++){
data[count][i-1]=rs.getString(i);
}
count++;
}
con.close();
}catch(Exception e){System.out.println(e);}
table = new JTable(data,column);
JScrollPane sp=new JScrollPane(table);
contentPane.add(sp, BorderLayout.CENTER);
}
}
| [
"noreply@github.com"
] | noreply@github.com |
5866d6232a3dcc548dac750db2315449110ac910 | ec90cc3c118ea3c25605eacb4e5e7ad7d39097fc | /EIUM/src/main/java/com/myspring/eium/hm/hm_p0033/controller/HM_P0033ControllerImpl.java | a2c7546fc0d98cdd3257530cb57c0d5ecd46e4df | [] | no_license | ParkJungRyeol/EIUM-MASTER | 0c3845bb0016b9fc41cd0f34c3ad02545771850b | 3879d35bf72d7c17c92248e03b0ad3e52e587ab9 | refs/heads/master | 2022-12-23T23:11:06.579562 | 2019-12-23T08:44:09 | 2019-12-23T08:44:09 | 229,711,270 | 0 | 0 | null | 2022-12-16T03:52:44 | 2019-12-23T08:37:23 | CSS | UTF-8 | Java | false | false | 10,185 | java | package com.myspring.eium.hm.hm_p0033.controller;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;
import com.myspring.eium.hm.hm_p0033.service.HM_P0033Service;
import com.myspring.eium.hm.hm_p0033.vo.HM_P0033VO;
import com.myspring.eium.login.vo.LoginVO;
@Controller
public class HM_P0033ControllerImpl implements HM_P0033Controller {
private static final Logger logger = LoggerFactory.getLogger(HM_P0033ControllerImpl.class);
String x=null;
String y=null;
Map<String, Object> dateMap = new HashMap<String, Object>();
@Autowired
HM_P0033Service p0033Service;
@Override
@RequestMapping(value = "/hm/p0033/searchInit.do", method = { RequestMethod.GET, RequestMethod.POST })
public ModelAndView searchInit(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
ModelAndView mav = new ModelAndView("hm/hm_p0033/p0033_tab");
return mav;
}
@Override
@RequestMapping(value = "/hm/p0033/searchInit2.do", method = { RequestMethod.GET, RequestMethod.POST })
public ModelAndView searchInit2(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
ModelAndView mav = new ModelAndView("hm/hm_p0033/p0033");
return mav;
}
@Override
@RequestMapping(value = "/hm/p0033/searchInit3.do", method = { RequestMethod.GET, RequestMethod.POST })
public ModelAndView searchInit3(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
ModelAndView mav = new ModelAndView("hm/hm_p0033/p0033-2");
return mav;
}
@Override
@RequestMapping(value = "/hm/p0033/searchHrassessment.do", method = { RequestMethod.GET, RequestMethod.POST })
public ModelAndView searchHrassessment(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
ModelAndView mav = new ModelAndView("hm/hm_p0033/p0033_SearchHrassessment");
return mav;
}
@Override
@RequestMapping(value = "/hm/p0033/searchHrrnp.do", method = { RequestMethod.GET, RequestMethod.POST })
public ModelAndView searchHrrnp(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
ModelAndView mav = new ModelAndView("hm/hm_p0033/p0033_SearchHrrnp");
return mav;
}
@Override
@RequestMapping(value = "/hm/p0033/searchSite.do", method = { RequestMethod.GET, RequestMethod.POST })
public ModelAndView searchSite(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
ModelAndView mav = new ModelAndView("hm/hm_p0033/p0033_SearchSite");
return mav;
}
@Override
@RequestMapping(value = "/hm/p0033/searchEmployeename.do", method = { RequestMethod.GET, RequestMethod.POST })
public ModelAndView searchEmployeename(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
ModelAndView mav = new ModelAndView("hm/hm_p0033/p0033_SearchEmployee");
return mav;
}
@Override
@RequestMapping(value = "/hm/p0033/hr_assessment_List.do", method = { RequestMethod.GET, RequestMethod.POST })
@ResponseBody
public Map hr_assessment_List(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
Map<String, Object> searchMap = new HashMap<String, Object>();
Map<String, Object> resultMap = new HashMap<String, Object>();
List<HM_P0033VO> data = p0033Service.hr_assessment_List(searchMap);
resultMap.put("Data", data);
return resultMap;
}
@Override
@RequestMapping(value = "/hm/p0033/hr_rnp_List.do", method = { RequestMethod.GET, RequestMethod.POST })
@ResponseBody
public Map hr_rnp_List(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
Map<String, Object> searchMap = new HashMap<String, Object>();
Map<String, Object> resultMap = new HashMap<String, Object>();
List<HM_P0033VO> data = p0033Service.hr_rnp_List(searchMap);
resultMap.put("Data", data);
return resultMap;
}
@Override
@RequestMapping(value = "/hm/p0033/site_List.do", method = { RequestMethod.GET, RequestMethod.POST })
@ResponseBody
public Map site_List(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
Map<String, Object> searchMap = new HashMap<String, Object>();
Map<String, Object> resultMap = new HashMap<String, Object>();
List<HM_P0033VO> data = p0033Service.site_List(searchMap);
resultMap.put("Data", data);
return resultMap;
}
@Override
@RequestMapping(value = "/hm/p0033/employee_List.do", method = { RequestMethod.GET, RequestMethod.POST })
@ResponseBody
public Map employee_List(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
Map<String, Object> searchMap = new HashMap<String, Object>();
Map<String, Object> resultMap = new HashMap<String, Object>();
List<HM_P0033VO> data = p0033Service.employee_List(searchMap);
resultMap.put("Data", data);
return resultMap;
}
@Override
@RequestMapping(value = "/hm/p0033/searchList.do", method = { RequestMethod.GET, RequestMethod.POST })
@ResponseBody
public Map searchList(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
Map<String, Object> searchMap = new HashMap<String, Object>();
Map<String, Object> resultMap = new HashMap<String, Object>();
HttpSession session = request.getSession();
LoginVO loginvo = new LoginVO();
loginvo = (LoginVO)session.getAttribute("login");
Map<String, Object> accessMap = new HashMap<String, Object>();
ArrayList<String> accessRange = new ArrayList<String>();
accessRange = (ArrayList<String>) session.getAttribute("access_range");
accessMap = (Map<String, Object>) session.getAttribute("accessnum");
int n = (Integer) accessMap.get("M017");
System.out.println(accessRange.get(n));
System.out.println("사원코드"+loginvo.getEmployee_code());
System.out.println("부서코드"+loginvo.getDepartment_code());
searchMap.put("access_range", accessRange.get(n));
searchMap.put("Semployee_code",loginvo.getEmployee_code());
searchMap.put("Sdepartment_code", loginvo.getDepartment_code());
searchMap.put("hr_assessment_code", request.getParameter("Phr_assessment_code"));
searchMap.put("site_code", request.getParameter("Psite_code"));
searchMap.put("employee_code", request.getParameter("Pemployee_code"));
searchMap.put("date", request.getParameter("date"));
searchMap.put("date2", request.getParameter("date2"));
System.out.println(request.getParameter("Phr_assessment_code"));
System.out.println(request.getParameter("Psite_code"));
System.out.println(request.getParameter("Pemployee_code"));
System.out.println(request.getParameter("date"));
System.out.println(request.getParameter("date2"));
List<HM_P0033VO> data = p0033Service.searchList(searchMap);
resultMap.put("Data", data);
return resultMap;
}
@Override
@RequestMapping(value = "/hm/p0033/searchList2.do", method = { RequestMethod.GET, RequestMethod.POST })
@ResponseBody
public Map searchList2(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
Map<String, Object> searchMap = new HashMap<String, Object>();
Map<String, Object> resultMap = new HashMap<String, Object>();
HttpSession session = request.getSession();
LoginVO loginvo = new LoginVO();
loginvo = (LoginVO)session.getAttribute("login");
Map<String, Object> accessMap = new HashMap<String, Object>();
ArrayList<String> accessRange = new ArrayList<String>();
accessRange = (ArrayList<String>) session.getAttribute("access_range");
accessMap = (Map<String, Object>) session.getAttribute("accessnum");
int n = (Integer) accessMap.get("M017");
System.out.println(accessRange.get(n));
System.out.println("사원코드"+loginvo.getEmployee_code());
System.out.println("부서코드"+loginvo.getDepartment_code());
searchMap.put("access_range", accessRange.get(n));
searchMap.put("Semployee_code",loginvo.getEmployee_code());
searchMap.put("Sdepartment_code", loginvo.getDepartment_code());
searchMap.put("hr_rnp_code", request.getParameter("Phr_rnp_code"));
searchMap.put("site_code", request.getParameter("Psite_code"));
searchMap.put("employee_code", request.getParameter("Pemployee_code"));
searchMap.put("date", request.getParameter("date"));
searchMap.put("date2", request.getParameter("date2"));
System.out.println(request.getParameter("Phr_rnp_code"));
System.out.println(request.getParameter("Psite_code"));
System.out.println(request.getParameter("Pemployee_code"));
System.out.println(request.getParameter("date"));
System.out.println(request.getParameter("date2"));
List<HM_P0033VO> data = p0033Service.searchList2(searchMap);
resultMap.put("Data", data);
return resultMap;
}
}
| [
"jungryeolpark92@gmail.com"
] | jungryeolpark92@gmail.com |
54395d18d56822b4a75f3326aca276e12e84a883 | 8223bd09529d2e8790f6aa348da2967e3c45fc64 | /mist.class.generator/class/facultysystem/NonTeachingStuff.java | 2fa22b3d851aa1522018f5aa4bd5d8d71adb50d8 | [] | no_license | biljanaandjelic/DSL_Project | 57e80167f1868630d4d99aee5bfac395215f062c | 1ce8b4fa2b5404a752b1926a86111ed375fcd0ee | refs/heads/master | 2020-04-04T09:41:14.657391 | 2018-11-18T09:58:22 | 2018-11-18T09:58:22 | 155,827,839 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 783 | java | package facultysystem;
public class NonTeachingStuff {
protected int nonTeachingStuffID;
private String nonTeachingStuffPosition;
public NonTeachingStuff(int nonTeachingStuffID, String nonTeachingStuffPosition) {
this.nonTeachingStuffID = nonTeachingStuffID;
this.nonTeachingStuffPosition = nonTeachingStuffPosition;
};
public int getNonTeachingStuffID() {
return this.nonTeachingStuffID;
};
public void setNonTeachingStuffID(int nonTeachingStuffID) {
this.nonTeachingStuffID = nonTeachingStuffID;
};
public String getNonTeachingStuffPosition() {
return this.nonTeachingStuffPosition;
};
public void setNonTeachingStuffPosition(String nonTeachingStuffPosition) {
this.nonTeachingStuffPosition = nonTeachingStuffPosition;
};
}
| [
"abiljana94@gmail.com"
] | abiljana94@gmail.com |
1af96657e8465059ae800ffb97cc544038500ce9 | a9f72ff53ae74c764fb35c8bb0da764c68c037f1 | /src/code/Money.java | 3a9182b5910af944e122aa7087c3bfe0244a6b25 | [] | no_license | cdedios/Cart | 3c5ce68e41d4ec6434b11de6fdc516119edc7767 | c5654447a824fd8e1cc4f491864d2b77097026c9 | refs/heads/master | 2021-03-12T19:48:24.263431 | 2014-04-03T21:50:22 | 2014-04-03T21:50:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,583 | java | /*
* Project 2: Unitary Testing
* Name: Carlos de Dios Felis
* Date: 11/01/2013
*/
package code;
import java.math.BigDecimal;
import java.math.BigInteger;
/**
* Represents money, composed by a value and his currency.
* @author carlos
*/
public class Money {
BigDecimal value;
Currency currency;
/**
* Initialize the money with the given parameters.
* @param value a BigDecimal ofthe value
* @param currency the Currency of the Money
* @throws BadQuantityException
*/
public Money(BigDecimal value, Currency currency) throws BadQuantityException{
if (value.compareTo(new BigDecimal(BigInteger.ZERO)) <0){
throw new BadQuantityException();
}
this.value = value;
this.currency = currency;
}
/**
* Gives the value of the Money.
* @return the value of the Money.
*/
public BigDecimal getValue(){
return value;
}
/**
* Gives the Currency of the Money.
* @return the currency of the Money
*/
public Currency getCurrency(){
return currency;
}
/**
*
* @param obj
* @return
*/
@Override
public boolean equals(Object obj){
if (obj == null)
return false;
if (obj == this)
return true;
if (obj.getClass() != getClass())
return false;
Money m = (Money) obj;
return this.currency.equals(m.currency)
&& this.value.stripTrailingZeros().equals(m.value.stripTrailingZeros());
}
}
| [
"cdedios92@gmail.com"
] | cdedios92@gmail.com |
d50cd3e418b56b65e05386b8c3a9f5603c5268fe | 780bd3649ae6cfd85d95f6aba109ac186fcfb1ba | /src/main/java/com/genesys/workspace/models/targets/availability/AgentGroupAvailability.java | 213d3bc6d9788e760cf41aabcbaf288f826882db | [
"MIT"
] | permissive | GenesysPureEngage/workspace-client-java | bf150435e209e9d1f36f1edd4a3d6b79645b354f | bcb93d02cfbe9ca9aafbc9edd301dc37862e77bf | refs/heads/master | 2022-03-12T15:40:34.123435 | 2022-03-04T01:07:12 | 2022-03-04T01:07:12 | 93,891,525 | 1 | 9 | MIT | 2019-02-13T16:06:57 | 2017-06-09T19:42:17 | Java | UTF-8 | Java | false | false | 525 | java | package com.genesys.workspace.models.targets.availability;
public class AgentGroupAvailability extends TargetAvailability {
int numberOfReadyAgents;
public AgentGroupAvailability(int numberOfReadyAgents) {
this.numberOfReadyAgents = numberOfReadyAgents;
}
public int getNumberOfReadyAgents() {
return numberOfReadyAgents;
}
@Override
public String toString() {
String str = "readyAgents [" + this.numberOfReadyAgents + "]";
return str;
}
}
| [
"Maxim.Lysenko@genesys.com"
] | Maxim.Lysenko@genesys.com |
59c14ecc7b173ab7396171cc68271b58fd282449 | 1091311f87fe0d7b9f4c6090e2c1349ebeaad2a4 | /PermutationString.java | 1c2e3f4855e239b9f78789a1991f142ee6fc120d | [] | no_license | archanataparia/Java-code | 1d68d90b9e9903bd3093abee01654db982a154dd | acfed5b056e975dec40d927cf032a0735fe168bb | refs/heads/master | 2021-01-10T13:52:13.721933 | 2016-02-25T19:47:44 | 2016-02-25T19:47:44 | 52,252,550 | 0 | 1 | null | 2016-02-22T07:06:42 | 2016-02-22T06:39:22 | Java | UTF-8 | Java | false | false | 771 | java | package StringNArraysCTC;
/*Given two strings, write a method to decide if one is a permutation of the other*/
import java.util.*;
public class PermutationString {
static boolean strCheck(String str1,String str2)
{
if(str1.length()!=str2.length()) return false;//check length of two strings
//string to char array
char[] chArr1=str1.toCharArray();
char[] chArr2=str2.toCharArray();
//sort two char arrays
Arrays.sort(chArr1);
Arrays.sort(chArr2);
//compare two char values
return Arrays.equals(chArr1, chArr2);
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str1= sc.nextLine();
String str2= sc.nextLine();
Boolean result = strCheck(str1, str2);
System.out.println(result);
sc.close();
}
}
| [
"archana_taparia@yahoo.co.in"
] | archana_taparia@yahoo.co.in |
3e118e9fc06cc5d0a29ffbadc59fd5f14e7b479d | 14a390ec099023ab1751424b76968eb57a808225 | /src/main/java/kotik/simple/configuration/DBConfig.java | 50bd5898e1d96d9f9369cd3b22721636049e20d0 | [] | no_license | Noldish/kotikDiscord | 8fb8c7979ffdc11c87f143f74aafa419e7221c8e | 786cbe58d725daf1790c337d064f51cf7a0a7916 | refs/heads/master | 2021-01-11T04:13:52.213045 | 2017-03-17T17:46:45 | 2017-03-17T17:46:45 | 71,227,735 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,997 | java | package kotik.simple.configuration;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.env.Environment;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
import org.springframework.orm.hibernate5.HibernateTransactionManager;
import org.springframework.orm.hibernate5.LocalSessionFactoryBean;
import org.springframework.orm.jpa.EntityManagerFactoryInfo;
import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
import org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import javax.annotation.Resource;
import javax.persistence.EntityManager;
import javax.sql.DataSource;
import java.util.Properties;
/**
* Created by Roman_Kuznetcov on 20.10.2016.
*/
@Configuration
@EnableTransactionManagement
@PropertySource("classpath:application.properties")
@ComponentScan("kotik.simple.dao")
public class DBConfig {
@Resource
private Environment env;
@Bean
public DataSource dataSource() {
DriverManagerDataSource dataSource = new DriverManagerDataSource();
dataSource.setDriverClassName(env.getRequiredProperty("DriverClassName"));
dataSource.setUrl(env.getRequiredProperty("URL"));
dataSource.setUsername(env.getProperty("name"));
dataSource.setPassword(env.getRequiredProperty("Password"));
return dataSource;
}
@Bean
public LocalSessionFactoryBean sessionFactory() {
LocalSessionFactoryBean sessionFactory = new LocalSessionFactoryBean();
sessionFactory.setDataSource(dataSource());
sessionFactory.setPackagesToScan(new String[] { "kotik.simple.dao.objects" });
sessionFactory.setHibernateProperties(hibernateProperties());
return sessionFactory;
}
private Properties hibernateProperties() {
Properties properties = new Properties();
properties.put("hibernate.dialect", env.getRequiredProperty("hibernate.dialect"));
properties.put("hibernate.show_sql", env.getRequiredProperty("hibernate.show_sql"));
properties.put("hibernate.format_sql", env.getRequiredProperty("hibernate.format_sql"));
properties.put("hibernate.temp.use_jdbc_metadata_defaults",env.getRequiredProperty("hibernate.temp.use_jdbc_metadata_defaults"));
return properties;
}
@Bean
@Autowired
public HibernateTransactionManager transactionManager(SessionFactory s) {
HibernateTransactionManager txManager = new HibernateTransactionManager();
txManager.setSessionFactory(s);
return txManager;
}
} | [
"Roman_Kuznetcov@epam.com"
] | Roman_Kuznetcov@epam.com |
4dbd5cefae4d814ddcf67d4df1c8bf615b49bb0f | cffb19a5c0927ca2665f19d73c3f9ead02270d2f | /trunk/src/main/java/com/prj/biz/service/_impl/tenant/TenantServiceImpl.java | c2b6d88061add9ad37e5222c7f0e4aa6189e637b | [] | no_license | 275829337/ufdm | ee75eb475a38e2e8545c0a37992ecc2ed788a117 | 47b4301371cf35e230a46be400167ae95ccfa4d5 | refs/heads/master | 2021-01-17T17:53:14.692783 | 2016-07-22T10:33:54 | 2016-07-22T10:33:54 | 62,872,347 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 681 | java | package com.prj.biz.service._impl.tenant;
import com.prj.biz.bean.tenant.Tenant;
import com.prj.biz.dao.maindb.tenant.TenantDao;
import com.prj.biz.service._impl._base.BaseServiceImpl;
import com.prj.biz.service.tenant.TenantService;
import org.springframework.stereotype.Service;
/**
* 描述: 租户 Service 实现<br>
* @author 开发
* @date 2016-03-22
*/
@Service
public class TenantServiceImpl extends BaseServiceImpl<TenantDao,Tenant> implements TenantService
{
/**
* @Description: 用户审核
* @param tenant
* @date 2016年3月28日
* @author 1936
*/
@Override
public void doCheckTenant(Tenant tenant) throws Exception {
doModById(tenant);
}
}
| [
"275829337@qq.com"
] | 275829337@qq.com |
f0d23f42b575c250b8c1a1cd469e54e58c0f645c | bc408bd45abf8ddc26cfde8a08cc66f118b69af3 | /app/src/androidTest/java/com/creation/creative/creativecreation/ApplicationTest.java | 311af643404c44ea0e24d320f353ab9c96a3677f | [] | no_license | niveditasharma428/CreativeCreation | cbbee64bf31c1c69c7d7a5968a7023307fa0f54f | ec619a31750b0afdb783a9b2c9f1ed15618b9fd5 | refs/heads/master | 2020-04-06T06:53:32.695383 | 2016-09-11T13:36:50 | 2016-09-11T13:36:50 | 62,750,670 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 369 | java | package com.creation.creative.creativecreation;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
} | [
"niveditasharma428@gmail.com"
] | niveditasharma428@gmail.com |
600f3c93f3daaf6ffb396a2ecc60282be78df912 | 87d1768390cf0ae206167bf75c042e29f975888c | /app/src/main/java/Xinyue/all/activity/AlbumActivity.java | 6e04a3b6d9c803472c9022ab5df69acdee1ace41 | [] | no_license | XueBaoPeng/XinYuePlayer | c4cc128c5f900b22102ee1616ba2dfdb11abe23c | d303caeb767d0bd9d23e65e75b14ac3aca4aacd9 | refs/heads/master | 2016-09-13T22:37:53.853493 | 2016-04-16T15:54:32 | 2016-04-16T15:54:32 | 56,392,180 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 12,899 | java | package Xinyue.all.activity;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import music.dreamer.adapter.MusicListAdapter;
import music.dreamer.useful.MusicSet;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.DialogInterface.OnClickListener;
import android.database.Cursor;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.view.ContextMenu;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ContextMenu.ContextMenuInfo;
import android.view.View.OnCreateContextMenuListener;
import android.widget.AdapterView;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.Toast;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.LinearLayout.LayoutParams;
/** 专辑类 **/
/*
* This work comes from Dreamer丶Team. The main programmer is LinShaoHan.
* QQ:752280466 Welcome to join with us.
*/
public class AlbumActivity extends Activity {
private int[] _ids;
private String[] _titles;
private String[] _artists;
private String[] _path; // 音乐文件的路径
private ListView listview;
private int pos;
public Cursor content;
private String albumName;
private MusicListAdapter adapter;
private List<MusicSet> musics;
private List<MusicSet> specs = new ArrayList<MusicSet>();
/* 上下文菜单项 */
private static final int PLAY_ITEM = Menu.FIRST;
private static final int DELETE_ITEM = Menu.FIRST + 1;
private static final int SONG_SHARE = Menu.FIRST + 2;
private static final int SET_AS = Menu.FIRST + 3;
private boolean isselect;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Intent intent = this.getIntent();
albumName = intent.getExtras().getString("albums");
listview = new ListView(this);
setListData();
listview.setOnItemClickListener(new ListItemClickListener());
listview.setOnCreateContextMenuListener(new ContextMenuListener());
LinearLayout list = new LinearLayout(this);
// list.setBackgroundResource(R.drawable.back0);
try {
// 皮肤记录
if (MainActivity.skin == 0) {
System.gc();
list.setBackgroundResource(R.drawable.listbg);
} else if (MainActivity.skin == 1) {
System.gc();
list.setBackgroundResource(R.drawable.back);
} else if (MainActivity.skin == 2) {
System.gc();
list.setBackgroundResource(R.drawable.back0);
} else if (MainActivity.skin == 3) {
System.gc();
list.setBackgroundResource(R.drawable.back1);
} else if (MainActivity.skin == 4) {
System.gc();
list.setBackgroundResource(R.drawable.back2);
}
else if (MainActivity.skin == 5) {
System.gc();
list.setBackgroundResource(R.drawable.back3);
}
} catch (Exception e) {
System.out.println(e);
}
/* 这里的setBackgroundResource设置的是显示指定专辑的所有歌曲显示列表的背景 */
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(
LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
list.addView(listview, params);
setContentView(list);
/* 以下是搜索歌曲的相应值的传递 ,即搜歌的实现的主要代码*/
String select = getIntent().getStringExtra("select");
isselect = getIntent().getBooleanExtra("isselect", false);
if (isselect) {
ContentResolver cr = AlbumActivity.this.getContentResolver();
content = cr.query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
null, " title like ?", new String[] { "%" + select + "%" },
null);
if (content != null) {
_ids = new int[content.getCount()];
_artists = new String[content.getCount()];
_titles = new String[content.getCount()];
int i = 0;
while (content.moveToNext()) {
_ids[i] = content.getInt(content
.getColumnIndexOrThrow(MediaStore.Audio.Media._ID));
_artists[i] = content
.getString(content
.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST));
_titles[i] = content
.getString(content
.getColumnIndexOrThrow(MediaStore.Audio.Media.TITLE));
i++;
}
}
adapter = new MusicListAdapter(this, content);
listview.setAdapter(adapter);
}
}
/* 播放选中的音乐 */
private void playMusic(int position) {
Intent intent = new Intent(AlbumActivity.this, MusicActivity.class);
intent.putExtra("_ids", _ids);
intent.putExtra("_titles", _titles);
intent.putExtra("position", position);
intent.putExtra("_artists", _artists);
startActivity(intent);
finish();
}
/* 从列表中删除选中的音乐 */
private void deleteMusic(int position) {
this.getContentResolver().delete(
MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
MediaStore.Audio.Media._ID + "=" + _ids[position], null);
}
/* 从sdcard中删除选中的音乐 */
private void deleteMusicFile(int position) {
File file = new File(_path[pos]);
try {
deleteFile(file);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
//删除图片文件的方法
public static void deleteFile(File f) throws Exception {
if (f.isFile()) {
if (f.canWrite()) {
f.delete();
} else {
throw new Exception("文件:" + f.getName() + "只读,无法删除,请手动删除");
}
} else {
File[] fs = f.listFiles();
if (fs.length != 0) {
for (int i = 0; i < fs.length; i++) {
deleteFile(fs[i]);
}
}
}
}
/* 分享选中的音乐 */
private void ShareMusicFile(int position) {
Intent intent = new Intent(Intent.ACTION_SEND);
// intent.setType("text/plain");
intent.setType("audio/*");
File file = new File(_path[pos]);
Uri u = Uri.fromFile(file);
intent.putExtra(Intent.EXTRA_STREAM, u);
System.out.println(_path[position]);
intent.putExtra(Intent.EXTRA_SUBJECT, "分享");
intent.putExtra(Intent.EXTRA_TEXT,
"歌曲分享 (来自Dreamer开发小组,欢迎使用欣悦影音播放器)");
startActivity(Intent.createChooser(intent, getTitle()));
}
// 指定音乐设置操作
private void setEffects() {
String[] items = { "设置为来电铃声", "设置为通知铃声", "设置为闹钟铃声" };
AlertDialog dialog = new AlertDialog.Builder(AlbumActivity.this)
.setIcon(R.drawable.music).setTitle("音乐设定操作")
.setItems(items, onSetEffectsSelect).create();
dialog.show();
}
OnClickListener onSetEffectsSelect = new OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
switch (which) {
/* 设置---铃声 */
case 0:
setMyRingtone(pos);
break;
/* 设置---提示音 */
case 1:
setMyNotification(pos);
break;
/* 设置---闹铃音 */
case 2:
setMyAlarm(pos);
break;
}
}
};
// 设置--铃声的具体方法
public void setMyRingtone(int position) {
File sdfile = new File(_path[pos]);
ContentValues values = new ContentValues();
values.put(MediaStore.MediaColumns.DATA, sdfile.getAbsolutePath());
values.put(MediaStore.MediaColumns.TITLE, sdfile.getName());
values.put(MediaStore.MediaColumns.MIME_TYPE, "audio/*");
values.put(MediaStore.Audio.Media.IS_RINGTONE, true);
values.put(MediaStore.Audio.Media.IS_NOTIFICATION, false);
values.put(MediaStore.Audio.Media.IS_ALARM, false);
values.put(MediaStore.Audio.Media.IS_MUSIC, false);
Uri uri = MediaStore.Audio.Media.getContentUriForPath(sdfile
.getAbsolutePath());
Uri newUri = this.getContentResolver().insert(uri, values);
RingtoneManager.setActualDefaultRingtoneUri(this,
RingtoneManager.TYPE_RINGTONE, newUri);
Toast.makeText(getApplicationContext(), "设置来电铃声成功!", Toast.LENGTH_SHORT)
.show();
System.out.println("setMyRingtone()-----铃声");
}
// 设置--提示音的具体实现方法
public void setMyNotification(int position) {
File sdfile = new File(_path[pos]);
ContentValues values = new ContentValues();
values.put(MediaStore.MediaColumns.DATA, sdfile.getAbsolutePath());
values.put(MediaStore.MediaColumns.TITLE, sdfile.getName());
values.put(MediaStore.MediaColumns.MIME_TYPE, "audio/*");
values.put(MediaStore.Audio.Media.IS_RINGTONE, false);
values.put(MediaStore.Audio.Media.IS_NOTIFICATION, true);
values.put(MediaStore.Audio.Media.IS_ALARM, false);
values.put(MediaStore.Audio.Media.IS_MUSIC, false);
Uri uri = MediaStore.Audio.Media.getContentUriForPath(sdfile
.getAbsolutePath());
Uri newUri = this.getContentResolver().insert(uri, values);
RingtoneManager.setActualDefaultRingtoneUri(this,
RingtoneManager.TYPE_NOTIFICATION, newUri);
Toast.makeText(getApplicationContext(), "设置通知铃声成功!", Toast.LENGTH_SHORT)
.show();
System.out.println("setMyNOTIFICATION-----提示音");
}
// 设置--闹铃音的具体实现方法
public void setMyAlarm(int position) {
File sdfile = new File(_path[pos]);
ContentValues values = new ContentValues();
values.put(MediaStore.MediaColumns.DATA, sdfile.getAbsolutePath());
values.put(MediaStore.MediaColumns.TITLE, sdfile.getName());
values.put(MediaStore.MediaColumns.MIME_TYPE, "audio/*");
values.put(MediaStore.Audio.Media.IS_RINGTONE, false);
values.put(MediaStore.Audio.Media.IS_NOTIFICATION, false);
values.put(MediaStore.Audio.Media.IS_ALARM, true);
values.put(MediaStore.Audio.Media.IS_MUSIC, false);
Uri uri = MediaStore.Audio.Media.getContentUriForPath(sdfile
.getAbsolutePath());
Uri newUri = this.getContentResolver().insert(uri, values);
RingtoneManager.setActualDefaultRingtoneUri(this,
RingtoneManager.TYPE_ALARM, newUri);
Toast.makeText(getApplicationContext(), "设置闹钟铃声成功!", Toast.LENGTH_SHORT)
.show();
System.out.println("setMyNOTIFICATION------闹铃音");
}
class ListItemClickListener implements OnItemClickListener {
public void onItemClick(AdapterView<?> arg0, View view, int position,
long id) {
playMusic(position);
}
}
/* 创建上下文菜单监听器 */
class ContextMenuListener implements OnCreateContextMenuListener {
public void onCreateContextMenu(ContextMenu menu, View view,
ContextMenuInfo info) {
menu.setHeaderTitle("相关操作");
menu.setHeaderIcon(R.drawable.isplaying);
menu.add(0, PLAY_ITEM, 0, "播放");
menu.add(0, DELETE_ITEM, 0, "删除");
menu.add(0, SONG_SHARE, 0, "分享");
menu.add(0, SET_AS, 0, "音乐设置操作");
final AdapterView.AdapterContextMenuInfo menuInfo = (AdapterView.AdapterContextMenuInfo) info;
pos = menuInfo.position;
}
}
/* 上下文菜单的某一项被点击时回调该方法 */
@Override
public boolean onContextItemSelected(MenuItem item) {
switch (item.getItemId()) {
case PLAY_ITEM: // 开始播放
playMusic(pos);
break;
case DELETE_ITEM: // 删除一首歌曲
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage("您确定要从音乐库中删除这首歌曲吗?")
.setPositiveButton("是",
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog,
int which) {
deleteMusic(pos); // 从列表中删除音乐
deleteMusicFile(pos); // 从sdcard中删除音乐
setListData(); // 从新获得列表中药显示的数据
adapter.notifyDataSetChanged(); // 更新列表UI
}
}).setNegativeButton("否", null);
AlertDialog ad = builder.create();
ad.show();
break;
case SONG_SHARE:// 分享被选中的歌曲
ShareMusicFile(pos);
break;
case SET_AS:// 将专辑列表中被选中的歌曲设置为...
setEffects();
break;
}
return true;
}
private void setListData() {
Cursor c = this.getContentResolver().query(
MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
new String[] { MediaStore.Audio.Media.TITLE,
MediaStore.Audio.Media.DURATION,
MediaStore.Audio.Media.ARTIST,
MediaStore.Audio.Media._ID,
MediaStore.Audio.Media.DISPLAY_NAME,
MediaStore.Audio.Media.DATA,
MediaStore.Audio.Media.ALBUM_ID, },
MediaStore.Audio.Media.ALBUM + "='" + albumName + "'",
null, null);
c.moveToFirst();
_ids = new int[c.getCount()];
_titles = new String[c.getCount()];
_path = new String[c.getCount()];
_artists = new String[c.getCount()];
for (int i = 0; i < c.getCount(); i++) {
_ids[i] = c.getInt(3);
_titles[i] = c.getString(0);
_path[i] = c.getString(5);
_artists[i] = c.getString(c
.getColumnIndex(MediaStore.Audio.Media.ARTIST));
c.moveToNext();
}
adapter = new MusicListAdapter(this, c);
listview.setAdapter(adapter);
}
}
| [
"1971103949@qq.com"
] | 1971103949@qq.com |
ac337cb589ca950bcc40d0801f82df0f9ab069c7 | f0c6f953c55541b8211893dc6a58e303c8ea14cb | /JDBC Connectivity/src/com/JavaFiles/UserOptions.java | c23c4451672042ba0182a8786e8f5363e46c3ff7 | [] | no_license | C-O-D-Y/JDBC-Connectivity | 564478f5e20712893f9fd46da497da00cd1493ed | 87e82075b4eb452b368ce2a9295658509daf7d3e | refs/heads/master | 2020-07-01T17:32:45.723492 | 2019-08-08T11:08:19 | 2019-08-08T11:08:19 | 201,240,842 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 537 | java | package com.JavaFiles;
import java.util.Scanner;
public class UserOptions {
public static void main(String[] args) {
System.out.println("Please select below Option \n "
+ "1: execute selection query \n "
+ "2: execute insertion query \n "
+ "3: execute deletion query \n ");
Scanner scanner= new Scanner(System.in);
int choose=scanner.nextInt();
switch(choose)
{
case 1: new Fetch().fetchData();
break;
case 2: new Insertion().insertData();
break;
case 3: new deletion().deleteData();
}
}
}
| [
"saurabh.chauhan@atmecs.com"
] | saurabh.chauhan@atmecs.com |
9082d5e8d9603cc27575fb2b58660e51cc786501 | 686aaa7ea6508c2496eb4803af07216b785009d9 | /EncuestaContexto/src/ec/gob/senescyt/snna/EncuestaContexto.java | d1788522941c62c04f02e3e608d9e5bf8d42de6a | [] | no_license | elfrancis1984/encuestaEscritorio | 8e46abdeeb893155b90781e2f5fcb0fab55d1c06 | e5892019c18c5b6d0b86ba56e5995db562b6fabc | refs/heads/master | 2016-08-11T08:17:44.639985 | 2016-03-28T21:11:52 | 2016-03-28T21:11:52 | 52,966,706 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 580,940 | java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ec.gob.senescyt.snna;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Event;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.event.KeyEvent;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.BorderFactory;
import javax.swing.InputMap;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JLayeredPane;
import javax.swing.JList;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JScrollPane;
import javax.swing.JTextField;
import javax.swing.KeyStroke;
import javax.swing.border.TitledBorder;
import javax.swing.filechooser.FileNameExtensionFilter;
import javax.swing.text.AbstractDocument;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Result;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.jdom2.Document;
import org.jdom2.Element;
import org.jdom2.JDOMException;
import org.jdom2.input.SAXBuilder;
import org.w3c.dom.DOMImplementation;
import org.w3c.dom.Text;
/**
*
* @author jchalan
*/
public class EncuestaContexto extends javax.swing.JFrame {
private HashMap<String,Component> componentesSeccionUno = new HashMap<>();
private HashMap<String,Component> componentesSeccionDos = new HashMap<>();
private HashMap<String,Component> componentesSeccionTres = new HashMap<>();
private HashMap<String,Component> componentesSeccionCuatro = new HashMap<>();
private HashMap<String,Component> componentesSeccionCinco = new HashMap<>();
private HashMap<String,Component> componentesSeccionSeis = new HashMap<>();
private HashMap<String,Component> allComponents = new HashMap<>();
private String ruta = "";
private String fileConfig = "config";
private Integer index = 0;
private static String[] paises = {"Afganistán","Albania","Alboran y perejil","Alemania","Alemania, república democrática","Andorra","Angola","Anguila","Antigua y barbuda","Antillas holandesas","Apátrida","Arabia saudita","Argelia","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrein","Bangladesh","Barbados","Belarusia","Bélgica","Belice","Benin","Bermudas","Bolivia","Bonaire, isla","Bosnia y herzegovina","Botswana","Brasil","Brunei darussalam","Bulgaria","Burkina faso (alto volta)","Burundi","Bután","Cabo verde","Caimán, islas","Camboya (cambodia), kampuchea","Camerún","Canadá","Canal, islas (normandas)","Cantón y enderbury, islas","Centroafricana, república (r.c.a)","Chad","Checa, república (checoslovaquia)","Chile","China república popular (pekin)","Chipre","Cocos (keeling), islas","Colombia","Comoras","Congo","Cook, islas","Corea del sur, república de","Corea, república democrática (rpd)","Costa de marfil (cote d. Ivoire)","Costa rica","Croacia","Cuba","Curazao, isla","Dinamarca","Dominica","Dominicana, república","Dyibuti","Ecuador","Egipto","El salvador","Emiratos árabes unidos","Eritrea","Eslovaquia","Eslovenia","España","Estados unidos","Estonia","Etiopía","Feroe, islas","Fiji","Filipinas","Finlandia","Francia","Gabón","Gambia","Georgia","Ghana","Gibraltar","Granada","Grecia","Groenlandia","Guadalupe","Guam","Guatemala","Guayana francesa","Guinea","Guinea -bissau","Guinea ecuatorial","Guyana","Haití","Honduras","Hong kong","Hungría","India","Indonesia","Irak","Irán, república islámica de","Irlanda","Islandia","Israel","Italia","Jamaica","Japón","Johnston, islas","Jordania","Kazajstán","Kenia","Kirguistán","Kiribati","Kuwait","Laos, república democrática (rpd)","Lesotho","Letonia (latvia)","Líbano","Liberia","Libia","Liechtestein","Lituania","Luxemburgo","Macao","Macedonia, república de","Madagascar","Malasia","Malasia, península de","Malawi","Maldivas","Mali","Malta","Malvinas islas","Marianas del norte, islas","Marruecos","Marshall, islas","Martinica","Mauricio","Mauritania","Mayotte","México","Micronesia, estados federados de","Midway, islas","Moldavia, república de (moldova)","Mónaco","Mongolia","Montserrat isla","Morocco","Mozambique","Myanmar (burma), birmania.","Namibia","Nauru","Navidad (christmas), isla","Nepal","Nicaragua","Niger","Nigeria","Niue, isla","Norfolk, isla","Noruega","Nueva caledonia","Nueva zelandia","Omán","Otras naciones de äfrica","Otras naciones de américa","Otras naciones de asia","Otras naciones de europa","Otras naciones de oceanía","Pacífico, islas administradas por usa","Pacífico, islas del","Países bajos (holanda)","Pakistán","Palau (belau) islas","Panamá","Papua nueva guinea","Paraguay","Perú","Pitcairn, isla","Polinesia francesa","Polonia","Portugal","Puerto rico","Qatar","Reino unido (escocia,gran bretaña,inglaterra, gales)","Reunión","Rumania","Rusia, federación de (unión soviética)","Rwanda","Sahara occidental","Salomón islas","Samoa americana","Samoa occidental","San cristóbal y nevis","San marino","San pedro y miguelón","San vicente y las granadinas","Santa elena","Santa lucía","Santo tome y principe","Senegal","Seychelles","Sierra leona","Sin especificar","Singapur","Siria, república arabe","Somalia","Sri lanka (ceilan)","Sudafrica (ciskei)","Sudan","Suecia","Suiza","Surinam","Swazilandia","Tadjikistán","Tailandia","Taiwan, provincia de china (nacionalista)","Tanzania, (república unida de)","Territorio británico del oceáno índico","Timor del este","Togo","Tokelau","Tonga","Trinidad y tobago","Tunez","Turcas y caicos, islas","Turkmenistán","Turquía","Tuvalu","Ucrania","Uganda","Uruguay","Uzbekistán","Vanuato","Vaticano (santa sede), estado de la ciudad del","Venezuela","Viet nam del sur","Vírgenes (británicas), islas","Vírgenes (de los estados unidos), islas","Wake, islas","Wallis y fotuna, islas","Yemen","Yemen democrático","Yugoslavia (servia de montenegro)","Zaire ( república democrática del congo)","Zambia","Zimbabwe (rhodesia)","Zona neutral (palestina)"};
private static String[] codigoPaises = {"1944","1889","1895","1890","1937","1918","2044","1881","1865","1871","2832","1945","1997","2833","1942","1872","2054","1891","1985","1860","1966","1967","1861","1924","1892","1866","2020","1873","2834","1939","1925","2021","2835","1983","1893","1996","1998","1968","2045","1876","1947","1999","1836","1936","2082","2022","2024","1894","1840","1970","1971","2069","1837","2046","2000","2070","1969","1948","2023","1838","1926","1839","1859","1896","1867","1854","2047","1841","2025","1855","1972","2049","1934","1927","1897","1842","1928","2001","1935","2057","1950","1899","1898","2026","2002","1943","2027","1923","1862","1901","1929","1874","2068","1843","1875","2003","2028","2029","1863","1844","1845","1992","1903","1951","1952","1953","1954","1904","1905","1955","1906","1846","1956","1878","1957","1986","2030","1987","2061","1958","1959","2031","1930","1960","2004","2005","1919","1931","1907","1993","1933","2006","1961","1994","2007","1974","2008","1908","1847","1884","2009","2062","1879","2032","2010","2034","1848","2063","2072","1932","1920","1962","1880","2050","2033","1946","2048","2064","2071","1975","1849","2035","2011","2073","2074","1909","2075","2055","1976","2053","1888","1995","1941","2083","1885","1886","1902","1963","2060","1850","2058","1851","1852","2076","2077","1910","1911","1853","1973","1900","2051","1912","1916","2036","2038","2065","1887","2056","1868","1921","1938","1870","2052","1869","2040","2013","2037","2016","2084","1977","1964","2039","1978","2015","2014","1913","1914","1864","1979","1988","1965","1949","2017","1940","2078","2041","2079","2059","1856","2042","1882","1989","1984","2066","1915","2018","1857","1990","2067","1922","1858","1980","1877","1883","2080","2081","1981","1982","1917","2043","2019","2012","1991"};
private static String[] paisesProviene = {"Afganistán","Albania","Alboran y perejil","Alemania","Alemania, república democrática","Andorra","Angola","Anguila","Antigua y barbuda","Antillas holandesas","Apátrida","Arabia saudita","Argelia","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrein","Bangladesh","Barbados","Belarusia","Bélgica","Belice","Benin","Bermudas","Bolivia","Bonaire, isla","Bosnia y herzegovina","Botswana","Brasil","Brunei darussalam","Bulgaria","Burkina faso (alto volta)","Burundi","Bután","Cabo verde","Caimán, islas","Camboya (cambodia), kampuchea","Camerún","Canadá","Canal, islas (normandas)","Cantón y enderbury, islas","Centroafricana, república (r.c.a)","Chad","Checa, república (checoslovaquia)","Chile","China república popular (pekin)","Chipre","Cocos (keeling), islas","Colombia","Comoras","Congo","Cook, islas","Corea del sur, república de","Corea, república democrática (rpd)","Costa de marfil (cote d. Ivoire)","Costa rica","Croacia","Cuba","Curazao, isla","Dinamarca","Dominica","Dominicana, república","Dyibuti","Ecuador","Egipto","El salvador","Emiratos árabes unidos","Eritrea","Eslovaquia","Eslovenia","España","Estados unidos","Estonia","Etiopía","Feroe, islas","Fiji","Filipinas","Finlandia","Francia","Gabón","Gambia","Georgia","Ghana","Gibraltar","Granada","Grecia","Groenlandia","Guadalupe","Guam","Guatemala","Guayana francesa","Guinea","Guinea -bissau","Guinea ecuatorial","Guyana","Haití","Honduras","Hong kong","Hungría","India","Indonesia","Irak","Irán, república islámica de","Irlanda","Islandia","Israel","Italia","Jamaica","Japón","Johnston, islas","Jordania","Kazajstán","Kenia","Kirguistán","Kiribati","Kuwait","Laos, república democrática (rpd)","Lesotho","Letonia (latvia)","Líbano","Liberia","Libia","Liechtestein","Lituania","Luxemburgo","Macao","Macedonia, república de","Madagascar","Malasia","Malasia, península de","Malawi","Maldivas","Mali","Malta","Malvinas islas","Marianas del norte, islas","Marruecos","Marshall, islas","Martinica","Mauricio","Mauritania","Mayotte","México","Micronesia, estados federados de","Midway, islas","Moldavia, república de (moldova)","Mónaco","Mongolia","Montserrat isla","Morocco","Mozambique","Myanmar (burma), birmania.","Namibia","Nauru","Navidad (christmas), isla","Nepal","Nicaragua","Niger","Nigeria","Niue, isla","Norfolk, isla","Noruega","Nueva caledonia","Nueva zelandia","Omán","Otras naciones de äfrica","Otras naciones de américa","Otras naciones de asia","Otras naciones de europa","Otras naciones de oceanía","Pacífico, islas administradas por usa","Pacífico, islas del","Países bajos (holanda)","Pakistán","Palau (belau) islas","Panamá","Papua nueva guinea","Paraguay","Perú","Pitcairn, isla","Polinesia francesa","Polonia","Portugal","Puerto rico","Qatar","Reino unido (escocia,gran bretaña,inglaterra, gales)","Reunión","Rumania","Rusia, federación de (unión soviética)","Rwanda","Sahara occidental","Salomón islas","Samoa americana","Samoa occidental","San cristóbal y nevis","San marino","San pedro y miguelón","San vicente y las granadinas","Santa elena","Santa lucía","Santo tome y principe","Senegal","Seychelles","Sierra leona","Sin especificar","Singapur","Siria, república arabe","Somalia","Sri lanka (ceilan)","Sudafrica (ciskei)","Sudan","Suecia","Suiza","Surinam","Swazilandia","Tadjikistán","Tailandia","Taiwan, provincia de china (nacionalista)","Tanzania, (república unida de)","Territorio británico del oceáno índico","Timor del este","Togo","Tokelau","Tonga","Trinidad y tobago","Tunez","Turcas y caicos, islas","Turkmenistán","Turquía","Tuvalu","Ucrania","Uganda","Uruguay","Uzbekistán","Vanuato","Vaticano (santa sede), estado de la ciudad del","Venezuela","Viet nam del sur","Vírgenes (británicas), islas","Vírgenes (de los estados unidos), islas","Wake, islas","Wallis y fotuna, islas","Yemen","Yemen democrático","Yugoslavia (servia de montenegro)","Zaire ( república democrática del congo)","Zambia","Zimbabwe (rhodesia)","Zona neutral (palestina)"};
private static String[] codigoPaisesProviene = {"2836","2837","2838","2839","2840","2841","2842","2843","2844","2845","2846","2847","2848","2849","2850","2851","2852","2853","2854","2855","2856","2857","2858","2859","2860","2861","2862","2863","2864","2865","2866","2867","2868","2869","2870","2871","2872","2873","2874","2875","2876","2877","2878","2879","2880","2881","2882","2883","2884","2885","2886","2887","2888","2889","2890","2891","2892","2893","2894","2895","2896","2897","2898","2899","2900","2901","2902","2903","2904","2905","2906","2907","2908","2909","2910","2911","2912","2913","2914","2915","2916","2917","2918","2919","2920","2921","2922","2923","2924","2925","2926","2927","2928","2929","2930","2931","2932","2933","2934","2935","2936","2937","2938","2939","2940","2941","2942","2943","2944","2945","2946","2947","2948","2949","2950","2951","2952","2953","2954","2955","2956","2957","2958","2959","2960","2961","2962","2963","2964","2965","2966","2967","2968","2969","2970","2971","2972","2973","2974","2975","2976","2977","2978","2979","2980","2981","2982","2983","2984","2985","2986","2987","2988","2989","2990","2991","2992","2993","2994","2995","2996","2997","2998","2999","3000","3001","3002","3003","3004","3005","3006","3007","3008","3009","3010","3011","3012","3013","3014","3015","3016","3017","3018","3019","3020","3021","3022","3023","3024","3025","3026","3027","3028","3029","3030","3031","3032","3033","3034","3035","3036","3037","3038","3039","3040","3041","3042","3043","3044","3045","3046","3047","3048","3049","3050","3051","3052","3053","3054","3055","3056","3057","3058","3059","3060","3061","3062","3063","3064","3065","3066","3067","3068","3069","3070","3071","3072","3073","3074","3075","3076","3077","3078","3079","3080","3081","3082","3083","3084","3085","3086","3087","3088"};
private static String[] lenguaExtranjeraPadre = {"Achuar","Afrikáans","Aguaruna","Aimara","Albanés","Alemán","Amarakaeri","Amárico","Amuesha","Árabe","Araona","Armenio","Asháninca","Aymara","Azerí","Baure","Bengalí","Bésiro","Bielorruso","Birmano","Bislama","Bora","Bosnio","Búlgaro","Candoshi","Canichana","Capanahua","Caquinte","Cashibo-cacataibo","Cashinahua","Catalán","Cauqui","Cavineño","Cayubaba","Chácobo","Chayahuita","Checo","Chicheua","Chimán","Cingalés","Cocama","Comorense","Coreano","Criollo haitiano","Criollo seychellense","Croata","Culina","Danés","Dzongka","Ese ejja","Eslovaco","Esloveno","Estonio","Filipino","Finés","fiyiano","Francés","Georgiano","Griego","Guaraní","Guarasu’we","Guarayu","Hebreo","Hindi","Hiri motu","Huambisa","Huitoto","Húngaro","Indonesio","Indostano fiyiano","Inglés","Irlandés","Islandés","Italiano","Itonama","japonés","Jaqaru","Jébero","Jemer","Kazajo","Kirguís","Kiribatiano","Lao","Latín","Leco","Lengua de signos española","lengua de signos neozelandesa","Letón","Lituano","Luxemburgués","Macedonio","Machajuyai-kallawaya","Machiguenga","Machineri","Malayo","Maldivo","malgache","Maltés","Mandarín","Maorí","Maropa","Marshalés","Matsés","Mojeño-ignaciano","Mojeño-trinitario","Moldavo","Mongol","Moré","Mosetén","Movima","Nauruano","Ndebele meridional","Neerlandés","Nepalí","Noruego","Omagua","Pacawara","palaosiano","Pastún","Persa","Polaco","Portugués","Puquina","Quechua","romanche","ruanda","Rumano","Rundi","Ruso","Serbio","Shipibo-conibo","Sirionó","Somalí","Soto meridional","Soto septentrional","Suahili","Suazi","Sueco","Tacana","Tai","Tamil","Tapiete","Tayiko","Tetum","Ticuna","Tigriña","Tok pisin","Tongano","Toromona","Tsonga","Tsuana","Turco","Turcomano","Tuvaluano","Ucraniano","Urarina","urdu","Uru-chipaya","Uzbeko","Venda","Vietnamita","weenhayek","Xosa","Yagua","yaminawa","Yine","Yuki","Yuracaré","Zamuco","Zulú"};
private static String[] codigoLenguaExtranjeraPadre = {"2492","2493","2494","2495","2496","2497","2498","2499","2500","2501","2502","2503","2504","2505","2506","2507","2508","2509","2510","2511","2512","2513","2514","2515","2516","2517","2518","2519","2520","2521","2522","2523","2524","2525","2526","2527","2528","2529","2530","2531","2532","2533","2534","2535","2536","2537","2538","2539","2540","2541","2542","2543","2544","2545","2546","2547","2548","2549","2550","2551","2552","2553","2554","2555","2556","2557","2558","2559","2560","2561","2562","2563","2564","2565","2566","3104","2567","2568","2569","2570","2571","2572","2573","2574","2575","2576","2577","2578","2579","2580","2581","2582","2583","2584","2585","2586","2587","2588","2589","2590","2591","2592","2593","2594","2595","2596","2597","2598","2599","2600","2601","2602","2603","2604","2605","2606","2607","2608","2609","2610","2611","2612","2613","2614","2615","2616","2617","2618","2619","2620","2621","2622","2623","2624","2625","2626","2627","2628","2629","2630","2631","2632","2633","2634","2635","2636","2637","2638","2639","2640","2641","2642","2643","2644","2645","2646","2647","2648","2649","2650","2651","2652","2653","2654","2655","2656","2657","2658","2659","2660"};
private static String[] lenguaExtrajeraMadre = {"Achuar","Afrikáans","Aguaruna","Aimara","Albanés","Alemán","Amarakaeri","Amárico","Amuesha","Árabe","Araona","Armenio","Asháninca","Aymara","Azerí","Baure","Bengalí","Bésiro","Bielorruso","Birmano","Bislama","Bora","Bosnio","Búlgaro","Candoshi","Canichana","Capanahua","Caquinte","Cashibo-cacataibo","Cashinahua","Catalán","Cauqui","Cavineño","Cayubaba","Chácobo","Chayahuita","Checo","Chicheua","Chimán","Cingalés","Cocama","Comorense","Coreano","Criollo haitiano","Criollo seychellense","Croata","Culina","Danés","Dzongka","Ese ejja","Eslovaco","Esloveno","Estonio","Filipino","Finés","fiyiano","Francés","Georgiano","Griego","Guaraní","Guarasu’we","Guarayu","Hebreo","Hindi","Hiri motu","Huambisa","Huitoto","Húngaro","Indonesio","Indostano fiyiano","Inglés","Irlandés","Islandés","Italiano","Itonama","japonés","Jaqaru","Jébero","Jemer","Kazajo","Kirguís","Kiribatiano","Lao","Latín","Leco","Lengua de signos española","lengua de signos neozelandesa","Letón","Lituano","Luxemburgués","Macedonio","Machajuyai-kallawaya","Machiguenga","Machineri","Malayo","Maldivo","malgache","Maltés","Mandarín","Maorí","Maropa","Marshalés","Matsés","Mojeño-ignaciano","Mojeño-trinitario","Moldavo","Mongol","Moré","Mosetén","Movima","Nauruano","Ndebele meridional","Neerlandés","Nepalí","Noruego","Omagua","Pacawara","palaosiano","Pastún","Persa","Polaco","Portugués","Puquina","Quechua","romanche","ruanda","Rumano","Rundi","Ruso","Serbio","Shipibo-conibo","Sirionó","Somalí","Soto meridional","Soto septentrional","Suahili","Suazi","Sueco","Tacana","Tai","Tamil","Tapiete","Tayiko","Tetum","Ticuna","Tigriña","Tok pisin","Tongano","Toromona","Tsonga","Tsuana","Turco","Turcomano","Tuvaluano","Ucraniano","Urarina","urdu","Uru-chipaya","Uzbeko","Venda","Vietnamita","weenhayek","Xosa","Yagua","yaminawa","Yine","Yuki","Yuracaré","Zamuco","Zulú"};
private static String[] codigoLenguaExtrajeraMadre = {"2661","2662","2663","2664","2665","2666","2667","2668","2669","2670","2671","2672","2673","2674","2675","2676","2677","2678","2679","2680","2681","2682","2683","2684","2685","2686","2687","2688","2689","2690","2691","2692","2693","2694","2695","2696","2697","2698","2699","2700","2701","2702","2703","2704","2705","2706","2707","2708","2709","2710","2711","2712","2713","2714","2715","2716","2717","2718","2719","2720","2721","2722","2723","2724","2725","2726","2727","2728","2729","2730","2731","2732","2733","2734","2735","3103","2736","2737","2738","2739","2740","2741","2742","2743","2744","2745","2746","2747","2748","2749","2750","2751","2752","2753","2754","2755","2756","2757","2758","2759","2760","2761","2762","2763","2764","2765","2766","2767","2768","2769","2770","2771","2772","2773","2774","2775","2776","2777","2778","2779","2780","2781","2782","2783","2784","2785","2786","2787","2788","2789","2790","2791","2792","2793","2794","2795","2796","2797","2798","2799","2800","2801","2802","2803","2804","2805","2806","2807","2808","2809","2810","2811","2812","2813","2814","2815","2816","2817","2818","2819","2820","2821","2822","2823","2824","2825","2826","2827","2828","2829"};
private static String[] lenguaIndigenaPadre = {"Awapít","Achuar chicham","Cha`palaa","A`ingae","Zia pedee","Paicoca","Shiwiar chicham","Shuar chicham","Tsa`fiqui","Waotededo","Zapara","Andoa","Kichwa Amazónico","Kichwa Región Interandina"};
private static String[] codigoLenguaIndigenaPadre = {"2475","2474","2468","2469","2470","2471","2472","2476","2473","2477","3099","3100","2478","2479"};
private static String[] lenguaIndigenaMadre = {"Awapít","Achuar chicham","Cha`palaa","A`ingae","Zia pedee","Paicoca","Shiwiar chicham","Shuar chicham","Tsa`fiqui","Waotededo","Zapara","Andoa","Kichwa Amazónico","Kichwa Región Interandina"};
private static String[] codigoLenguaIndigenaMadre = {"2487","2486","2480","2481","2482","2483","2484","2488","2485","2489","3101","3102","2490","2491"};
private boolean encuestaTerminada;
private String archivoGenerado = "";
private boolean banderaEditar = false;
private int ultimaPestaña = 0;
// private int firstTime = 0;
/**
* Creates new form Encuesta
*/
public EncuestaContexto() {
initComponents();
this.setLocationRelativeTo(null);
jScrollPane1.getVerticalScrollBar().setUnitIncrement(16);
jScrollPane2.getVerticalScrollBar().setUnitIncrement(16);
jScrollPane3.getVerticalScrollBar().setUnitIncrement(16);
jScrollPane4.getVerticalScrollBar().setUnitIncrement(16);
jScrollPane5.getVerticalScrollBar().setUnitIncrement(16);
jScrollPane6.getVerticalScrollBar().setUnitIncrement(16);
/*--------Bloquea el ctrl + v ---------------------------*/
bloquearPegar(); //No es eficiente Optimizar
/* -------- Inicializa Secciones ---------- */
initSeccionUno();
initSeccionDos();
initSeccionTres();
initSeccionCuatro();
initSeccionCinco();
initSeccionSeis();
/*--------Lee todos los componentes de todas las secciones-------------------------*/
componentesSeccionUno = obtenerComponentesPorPanel(jPanelSec_1);
componentesSeccionDos = obtenerComponentesPorPanel(jPanelSec_2);
componentesSeccionTres = obtenerComponentesPorPanel(jPanelSec_3);
componentesSeccionCuatro = obtenerComponentesPorPanel(jPanelSec_4);
componentesSeccionCinco = obtenerComponentesPorPanel(jPanelSec_5);
componentesSeccionSeis = obtenerComponentesPorPanel(jPanelSec_6);
/*---------Uno todos los componentes de todas las secciones------------------------*/
allComponents.putAll(componentesSeccionUno);
allComponents.putAll(componentesSeccionDos);
allComponents.putAll(componentesSeccionTres);
allComponents.putAll(componentesSeccionCuatro);
allComponents.putAll(componentesSeccionCinco);
allComponents.putAll(componentesSeccionSeis);
/*-----Carga respuestas almacenadas----------*/
cargarXml();
/*----------------------------------*/
// if(firstTime == 1){
// JOptionPane.showMessageDialog(this, "informacion","Mensaje",JOptionPane.INFORMATION_MESSAGE);
// }
//CAMBIAR VERSION ANTIGUA FCO
if(archivoGenerado.equalsIgnoreCase("1")){
int dialogResult = JOptionPane.showConfirmDialog (null, "¿Deseas reiniciar la encuesta?\nRecuerda que si seleccionas Si, deberás completar la encuesta nuevamente desde cero.\nSi elijes No podrás ver y editar los datos registrados en la encuesta.","Encuesta finalizada",JOptionPane.YES_NO_OPTION);
//0 Si 1 No 2 Cancel
if(dialogResult == 0){
vaciarXML();
}
}
//754674371536261507 FRANCISCO
//~[/}~[.-~[)%*~||||$; 1713198552
//System.out.println(codificador("0",true));
}
/**
*
*/
private void vaciarXML(){
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
DOMImplementation implementation = builder.getDOMImplementation();
org.w3c.dom.Document document = implementation.createDocument(null, fileConfig, null);
document.setXmlVersion("1.0");
//Main Node
org.w3c.dom.Element raiz = document.getDocumentElement();
org.w3c.dom.Element itemNode = document.createElement("LISTA_RESPUESTAS");
/*----------Para registrar la seccion actual----------------------------------*/
org.w3c.dom.Element itemNode1 = document.createElement("SECCIONES");
org.w3c.dom.Element keyNode1 = document.createElement("SECCION_ACTUAL");
keyNode1.setAttribute("INDEX", "{~");
itemNode1.appendChild(keyNode1);
raiz.appendChild(itemNode1);
/*-----------------------------------------------------------------------------*/
/*------------------Para registrar el usuario----------------------------------*/
org.w3c.dom.Element itemNode2 = document.createElement("LOGIN");
org.w3c.dom.Element keyNode2 = document.createElement("USUARIO");
keyNode2.setAttribute("ID", "");
keyNode2.setAttribute("NOMBRES", "");
keyNode2.setAttribute("APELLIDOS", "");
keyNode2.setAttribute("FINALIZADO","{~");
itemNode2.appendChild(keyNode2);
raiz.appendChild(itemNode);
raiz.appendChild(itemNode2);
//Generate XML
Source source = new DOMSource(document);
//Indicamos donde lo queremos almacenar
File f = new java.io.File("./xml/"+fileConfig+".xml");
f.setReadable(true);
f.setWritable(true);
Result result = new StreamResult(f); //nombre del archivo
//Result result = new StreamResult(new java.io.File("./src/ec/gob/senescyt/snna/xml/"+fileConfig+".xml"));
Transformer transformer = TransformerFactory.newInstance().newTransformer();
transformer.transform(source, result);
/*-------------------Resetea todos los componentes-----*/
for(Component c: jPanelSec_1.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
muestraOcultaPanel(((JPanel)c), true);
}
}
for(Component c: jPanelSec_2.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
muestraOcultaPanel(((JPanel)c), true);
}
}
for(Component c: jPanelSec_3.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
muestraOcultaPanel(((JPanel)c), true);
}
}
for(Component c: jPanelSec_4.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
muestraOcultaPanel(((JPanel)c), true);
}
}
for(Component c: jPanelSec_5.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
muestraOcultaPanel(((JPanel)c), true);
}
}
for(Component c: jPanelSec_6.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
muestraOcultaPanel(((JPanel)c), true);
}
}
/*----------------Inicializa nuevamente las secciones-----------*/
allComponents.clear();
initSeccionUno();
initSeccionDos();
initSeccionTres();
initSeccionCuatro();
initSeccionCinco();
initSeccionSeis();
/*--------Lee todos los componentes de todas las secciones-------------------------*/
componentesSeccionUno = obtenerComponentesPorPanel(jPanelSec_1);
componentesSeccionDos = obtenerComponentesPorPanel(jPanelSec_2);
componentesSeccionTres = obtenerComponentesPorPanel(jPanelSec_3);
componentesSeccionCuatro = obtenerComponentesPorPanel(jPanelSec_4);
componentesSeccionCinco = obtenerComponentesPorPanel(jPanelSec_5);
componentesSeccionSeis = obtenerComponentesPorPanel(jPanelSec_6);
/*---------Uno todos los componentes de todas las secciones------------------------*/
allComponents.putAll(componentesSeccionUno);
allComponents.putAll(componentesSeccionDos);
allComponents.putAll(componentesSeccionTres);
allComponents.putAll(componentesSeccionCuatro);
allComponents.putAll(componentesSeccionCinco);
allComponents.putAll(componentesSeccionSeis);
/*-----------------------------------------------------*/
txt_cedula.setText("");
txt_cedula.setEnabled(true);
txt_nombres.setText("");
txt_nombres.setEnabled(true);
txt_apellidos.setText("");
txt_apellidos.setEnabled(true);
jButton_activarEncuesta.setText("Activar Encuesta");
/*-----------------------------------------------------*/
cargarXml();
} catch (Exception ex) {
Logger.getLogger(EncuestaContexto.class.getName()).log(Level.SEVERE, null, ex);
}
}
/**
*
*/
private void bloquearPegar(){
InputMap mapCedula = txt_cedula.getInputMap(txt_cedula.WHEN_FOCUSED);
mapCedula.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), "null");
InputMap mapNombres = txt_nombres.getInputMap(txt_nombres.WHEN_FOCUSED);
mapNombres.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), "null");
InputMap mapApellidos = txt_apellidos.getInputMap(txt_apellidos.WHEN_FOCUSED);
mapApellidos.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), "null");
InputMap map2094 = txt_2094.getInputMap(txt_2094.WHEN_FOCUSED);
map2094.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), "null");
InputMap map2191 = txt_2191.getInputMap(txt_2191.WHEN_FOCUSED);
map2191.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), "null");
InputMap map2192 = txt_2192.getInputMap(txt_2192.WHEN_FOCUSED);
map2192.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), "null");
InputMap map2467 = txt_2467.getInputMap(txt_2467.WHEN_FOCUSED);
map2467.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), "null");
InputMap map2250 = txt_2250.getInputMap(txt_2250.WHEN_FOCUSED);
map2250.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), "null");
}
/**
*
*/
private void bloqueaPestanias(int indice){
int inicio = indice + 1;
int fin = jTabbedPane1.getTabCount()-1;
for(int i=inicio;i<=fin;i++){
jTabbedPane1.setEnabledAt(i,false);
}
if(indice == -1){
for(Component c: jPanelSec_1.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(false);
if(d instanceof JScrollPane){
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_288") && jList_288 != null){
jList_288.setEnabled(false);
}
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_365") && jList_365 != null){
jList_365.setEnabled(false);
}
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_356") && jList_356 != null){
jList_356.setEnabled(false);
}
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_358") && jList_358 != null){
jList_358.setEnabled(false);
}
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_360") && jList_360 != null){
jList_360.setEnabled(false);
}
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_362") && jList_362 != null){
jList_362.setEnabled(false);
}
}
}
}
}
for(Component c: jPanelSec_2.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(false);
}
}
}
for(Component c: jPanelSec_3.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(false);
}
}
}
for(Component c: jPanelSec_4.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(false);
}
}
}
for(Component c: jPanelSec_5.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(false);
}
}
}
for(Component c: jPanelSec_6.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(false);
}
}
}
jButton_Atras.setEnabled(false);
jButton_Sigueinte.setEnabled(false);
}
}
/**
*
*/
@Override
public Image getIconImage() {
Image icon = Toolkit.getDefaultToolkit().getImage(ClassLoader.getSystemResource("ec/gob/senescyt/snna/resources/encuesta_1.png"));
return icon;
}
/**
*
*/
private void initSeccionUno(){
bgSec1_283.add(rad_1812);
bgSec1_283.add(rad_1813);
bgSec1_285.add(rad_1822);
bgSec1_285.add(rad_1823);
bgSec1_287.add(rad_1832);
bgSec1_287.add(rad_1833);
bgSec1_287.add(rad_1834);
bgSec1_287.add(rad_1835);
bgSec1_289.add(rad_2085);
bgSec1_289.add(rad_2086);
bgSec1_289.add(rad_2087);
bgSec1_289.add(rad_2088);
bgSec1_289.add(rad_2089);
bgSec1_289.add(rad_2090);
bgSec1_289.add(rad_2091);
bgSec1_290.add(rad_2092);
bgSec1_290.add(rad_2093);
bgSec1_292.add(rad_2095);
bgSec1_292.add(rad_2096);
bgSec1_292.add(rad_2097);
bgSec1_292.add(rad_2098);
bgSec1_292.add(rad_2099);
bgSec1_292.add(rad_2100);
bgSec1_292.add(rad_2101);
bgSec1_292.add(rad_2102);
bgSec1_293.add(rad_2103);
bgSec1_293.add(rad_2104);
bgSec1_293.add(rad_2105);
bgSec1_293.add(rad_2106);
bgSec1_293.add(rad_2107);
bgSec1_293.add(rad_2108);
bgSec1_293.add(rad_2109);
bgSec1_293.add(rad_2110);
bgSec1_293.add(rad_2111);
bgSec1_293.add(rad_2112);
bgSec1_293.add(rad_2113);
bgSec1_293.add(rad_2114);
bgSec1_293.add(rad_2115);
bgSec1_293.add(rad_2116);
bgSec1_293.add(rad_2117);
bgSec1_293.add(rad_2118);
bgSec1_293.add(rad_2119);
bgSec1_293.add(rad_2120);
bgSec1_293.add(rad_2121);
bgSec1_293.add(rad_2122);
bgSec1_293.add(rad_2123);
bgSec1_293.add(rad_2124);
bgSec1_293.add(rad_2125);
bgSec1_293.add(rad_2126);
bgSec1_293.add(rad_2127);
bgSec1_293.add(rad_2128);
bgSec1_293.add(rad_2129);
bgSec1_293.add(rad_2130);
bgSec1_293.add(rad_3089);
bgSec1_293.add(rad_3090);
bgSec1_293.add(rad_3091);
bgSec1_293.add(rad_3092);
bgSec1_293.add(rad_3093);
bgSec1_294.add(rad_2131);
bgSec1_294.add(rad_2132);
bgSec1_294.add(rad_2133);
bgSec1_294.add(rad_2134);
bgSec1_294.add(rad_2135);
bgSec1_294.add(rad_2136);
bgSec1_294.add(rad_2137);
bgSec1_294.add(rad_2138);
bgSec1_295.add(rad_2139);
bgSec1_295.add(rad_2140);
bgSec1_295.add(rad_2141);
bgSec1_295.add(rad_2142);
bgSec1_295.add(rad_2143);
bgSec1_295.add(rad_2144);
bgSec1_295.add(rad_2145);
bgSec1_295.add(rad_2146);
bgSec1_295.add(rad_2147);
bgSec1_295.add(rad_2148);
bgSec1_295.add(rad_2149);
bgSec1_295.add(rad_2150);
bgSec1_295.add(rad_2151);
bgSec1_295.add(rad_2152);
bgSec1_295.add(rad_2153);
bgSec1_295.add(rad_2154);
bgSec1_295.add(rad_2155);
bgSec1_295.add(rad_2156);
bgSec1_295.add(rad_2157);
bgSec1_295.add(rad_2158);
bgSec1_295.add(rad_2159);
bgSec1_295.add(rad_2160);
bgSec1_295.add(rad_2161);
bgSec1_295.add(rad_2162);
bgSec1_295.add(rad_2163);
bgSec1_295.add(rad_2164);
bgSec1_295.add(rad_2165);
bgSec1_295.add(rad_2166);
bgSec1_295.add(rad_3094);
bgSec1_295.add(rad_3095);
bgSec1_295.add(rad_3096);
bgSec1_295.add(rad_3097);
bgSec1_295.add(rad_3098);
bgSec1_296.add(rad_2167);
bgSec1_296.add(rad_2168);
bgSec1_296.add(rad_2169);
bgSec1_296.add(rad_2170);
rad_2170.setEnabled(false);
bgSec1_297.add(rad_2171);
bgSec1_297.add(rad_2172);
bgSec1_297.add(rad_2173);
bgSec1_297.add(rad_2174);
rad_2174.setEnabled(false);
chk_1814.setEnabled(false);
chk_1815.setEnabled(false);
chk_1816.setEnabled(false);
chk_1817.setEnabled(false);
chk_1818.setEnabled(false);
chk_1819.setEnabled(false);
chk_1820.setEnabled(false);
chk_1821.setEnabled(false);
jPanel_284.setVisible(false);
jPanel_286.setVisible(false);
jPanel_287.setVisible(false);
jPanel_288.setVisible(false);
jPanel_289.setVisible(false);
jPanel_290.setVisible(false);
jPanel_291.setVisible(false);
jPanel_293.setVisible(false);
jPanel_295.setVisible(false);
jPanel_296.setVisible(false);
jPanel_297.setVisible(false);
jPanel_356.setVisible(false);
jPanel_358.setVisible(false);
jPanel_360.setVisible(false);
jPanel_362.setVisible(false);
jPanel_365.setVisible(false);
jLabel_282.setVisible(false);
jLabel_283.setVisible(false);
jLabel_284.setVisible(false);
jLabel_285.setVisible(false);
jLabel_286.setVisible(false);
jLabel_287.setVisible(false);
jLabel_288.setVisible(false);
jLabel_289.setVisible(false);
jLabel_290.setVisible(false);
jLabel_291.setVisible(false);
jLabel_292.setVisible(false);
jLabel_293.setVisible(false);
jLabel_294.setVisible(false);
jLabel_295.setVisible(false);
jLabel_296.setVisible(false);
jLabel_297.setVisible(false);
jLabel_356.setVisible(false);
jLabel_358.setVisible(false);
jLabel_360.setVisible(false);
jLabel_362.setVisible(false);
jLabel_365.setVisible(false);
jList_288.setModel(new javax.swing.AbstractListModel<String>() {
String[] strings = paises;
@Override
public int getSize() { return strings.length; }
@Override
public String getElementAt(int i) { return strings[i]; }
});
jList_365.setModel(new javax.swing.AbstractListModel<String>() {
String[] strings = paisesProviene;
@Override
public int getSize() { return strings.length; }
@Override
public String getElementAt(int i) { return strings[i]; }
});
jList_356.setModel(new javax.swing.AbstractListModel<String>() {
String[] strings = lenguaIndigenaPadre;
@Override
public int getSize() { return strings.length; }
@Override
public String getElementAt(int i) { return strings[i]; }
});
jList_360.setModel(new javax.swing.AbstractListModel<String>() {
String[] strings = lenguaExtranjeraPadre;
@Override
public int getSize() { return strings.length; }
@Override
public String getElementAt(int i) { return strings[i]; }
});
jList_358.setModel(new javax.swing.AbstractListModel<String>() {
String[] strings = lenguaIndigenaMadre;
@Override
public int getSize() { return strings.length; }
@Override
public String getElementAt(int i) { return strings[i]; }
});
jList_362.setModel(new javax.swing.AbstractListModel<String>() {
String[] strings = lenguaExtrajeraMadre;
@Override
public int getSize() { return strings.length; }
@Override
public String getElementAt(int i) { return strings[i]; }
});
}
/**
*
*/
private void initSeccionDos(){
bgSec2_298.add(rad_2175);
bgSec2_298.add(rad_2176);
bgSec2_298.add(rad_2177);
bgSec2_298.add(rad_2178);
bgSec2_298.add(rad_2179);
bgSec2_298.add(rad_2180);
bgSec2_298.add(rad_2181);
bgSec2_298.add(rad_2182);
bgSec2_299.add(rad_2183);
bgSec2_299.add(rad_2184);
bgSec2_299.add(rad_2185);
bgSec2_299.add(rad_2186);
bgSec2_299.add(rad_2187);
bgSec2_299.add(rad_2188);
bgSec2_299.add(rad_2189);
bgSec2_299.add(rad_2190);
bgSec2_302.add(rad_2193);
bgSec2_302.add(rad_2194);
bgSec2_303.add(rad_2195);
bgSec2_303.add(rad_2196);
bgSec2_303.add(rad_2197);
bgSec2_303.add(rad_2198);
bgSec2_303.add(rad_2199);
bgSec2_304.add(rad_2200);
bgSec2_304.add(rad_2201);
bgSec2_304.add(rad_2202);
bgSec2_304.add(rad_2203);
bgSec2_304.add(rad_2204);
bgSec2_305.add(rad_2205);
bgSec2_305.add(rad_2206);
bgSec2_305.add(rad_2207);
bgSec2_305.add(rad_2208);
bgSec2_305.add(rad_2209);
bgSec2_305.add(rad_2210);
bgSec2_306.add(rad_2211);
bgSec2_306.add(rad_2212);
bgSec2_306.add(rad_2213);
bgSec2_306.add(rad_2214);
jPanel_299.setVisible(false);
jLabel_298.setVisible(false);
jLabel_299.setVisible(false);
jLabel_300.setVisible(false);
jLabel_301.setVisible(false);
jLabel_302.setVisible(false);
jLabel_303.setVisible(false);
jLabel_304.setVisible(false);
jLabel_305.setVisible(false);
jLabel_306.setVisible(false);
}
/**
*
*/
private void initSeccionTres(){
bgSec3_307.add(rad_2215);
bgSec3_307.add(rad_2216);
bgSec3_307.add(rad_2217);
bgSec3_307.add(rad_2218);
bgSec3_307.add(rad_2219);
bgSec3_307.add(rad_2220);
bgSec3_307.add(rad_2221);
bgSec3_307.add(rad_3105);
rad_2215.setEnabled(false);
rad_2216.setEnabled(false);
rad_2217.setEnabled(false);
rad_2218.setEnabled(false);
rad_2219.setEnabled(false);
rad_2220.setEnabled(false);
rad_2221.setEnabled(false);
//rad_3105.setEnabled(false);
bgSec3_308.add(rad_2222);
bgSec3_308.add(rad_2223);
bgSec3_308.add(rad_2224);
bgSec3_308.add(rad_2225);
bgSec3_308.add(rad_2226);
bgSec3_308.add(rad_2227);
bgSec3_308.add(rad_2228);
bgSec3_308.add(rad_2229);
bgSec3_309.add(rad_2230);
bgSec3_309.add(rad_2231);
bgSec3_309.add(rad_2232);
bgSec3_309.add(rad_2233);
bgSec3_309.add(rad_2234);
bgSec3_309.add(rad_2235);
bgSec3_309.add(rad_2236);
bgSec3_309.add(rad_2237);
bgSec3_309.add(rad_2238);
bgSec3_309.add(rad_2239);
bgSec3_311.add(rad_2240);
bgSec3_311.add(rad_2241);
bgSec3_311.add(rad_2242);
bgSec3_311.add(rad_2243);
bgSec3_311.add(rad_2244);
bgSec3_311.add(rad_2245);
bgSec3_311.add(rad_2246);
bgSec3_311.add(rad_2247);
bgSec3_311.add(rad_2248);
bgSec3_311.add(rad_2249);
bgSec3_313.add(rad_2251);
bgSec3_313.add(rad_2252);
bgSec3_313.add(rad_2253);
bgSec3_313.add(rad_2254);
bgSec3_313.add(rad_2255);
bgSec3_313.add(rad_2256);
bgSec3_313.add(rad_2257);
bgSec3_313.add(rad_2258);
bgSec3_313.add(rad_2259);
bgSec3_313.add(rad_2260);
bgSec3_313.add(rad_2261);
bgSec3_313.add(rad_2262);
bgSec3_314.add(rad_2263);
bgSec3_314.add(rad_2264);
bgSec3_314.add(rad_2265);
bgSec3_314.add(rad_2266);
bgSec3_314.add(rad_2267);
bgSec3_314.add(rad_2268);
bgSec3_314.add(rad_2269);
bgSec3_314.add(rad_2270);
bgSec3_314.add(rad_2271);
bgSec3_314.add(rad_2272);
bgSec3_314.add(rad_2273);
bgSec3_314.add(rad_3106);
bgSec3_315.add(rad_2274);
bgSec3_315.add(rad_2275);
bgSec3_315.add(rad_2276);
bgSec3_315.add(rad_2277);
bgSec3_315.add(rad_2278);
bgSec3_315.add(rad_2279);
bgSec3_315.add(rad_2280);
bgSec3_315.add(rad_2281);
bgSec3_315.add(rad_2282);
bgSec3_315.add(rad_2283);
bgSec3_315.add(rad_2284);
bgSec3_315.add(rad_3107);
bgSec3_316.add(rad_2285);
bgSec3_316.add(rad_2286);
bgSec3_317.add(rad_2287);
bgSec3_317.add(rad_2288);
bgSec3_319.add(rad_2294);
bgSec3_319.add(rad_2295);
bgSec3_321.add(rad_2303);
bgSec3_321.add(rad_2304);
bgSec3_321.add(rad_2305);
bgSec3_321.add(rad_2306);
bgSec3_321.add(rad_2307);
bgSec3_321.add(rad_2308);
bgSec3_322.add(rad_2309);
bgSec3_322.add(rad_2310);
bgSec3_322.add(rad_2311);
bgSec3_322.add(rad_2312);
bgSec3_322.add(rad_2313);
bgSec3_322.add(rad_2314);
bgSec3_322.add(rad_2315);
bgSec3_322.add(rad_2316);
bgSec3_322.add(rad_2317);
bgSec3_322.add(rad_3109);
bgSec3_323.add(rad_2318);
bgSec3_323.add(rad_2319);
bgSec3_324.add(rad_2320);
bgSec3_324.add(rad_2321);
bgSec3_324.add(rad_2322);
bgSec3_324.add(rad_2323);
bgSec3_324.add(rad_2324);
bgSec3_324.add(rad_2325);
bgSec3_324.add(rad_2326);
bgSec3_324.add(rad_2327);
bgSec3_325.add(rad_2328);
bgSec3_325.add(rad_2329);
bgSec3_326.add(rad_2330);
bgSec3_326.add(rad_2331);
bgSec3_326.add(rad_2332);
bgSec3_326.add(rad_2333);
bgSec3_326.add(rad_2334);
jPanel_310.setVisible(false);
jPanel_312.setVisible(false);
jPanel_320.setVisible(false);
jPanel_324.setVisible(false);
jLabel_307.setVisible(false);
jLabel_308.setVisible(false);
jLabel_309.setVisible(false);
jLabel_310.setVisible(false);
jLabel_311.setVisible(false);
jLabel_312.setVisible(false);
jLabel_313.setVisible(false);
jLabel_314.setVisible(false);
jLabel_315.setVisible(false);
jLabel_316.setVisible(false);
jLabel_317.setVisible(false);
jLabel_318.setVisible(false);
jLabel_319.setVisible(false);
jLabel_320.setVisible(false);
jLabel_321.setVisible(false);
jLabel_322.setVisible(false);
jLabel_323.setVisible(false);
jLabel_324.setVisible(false);
jLabel_325.setVisible(false);
jLabel_326.setVisible(false);
}
/**
*
*/
private void initSeccionCuatro(){
bgSec4_327.add(rad_2335);
bgSec4_327.add(rad_2336);
bgSec4_327.add(rad_2337);
bgSec4_327.add(rad_2338);
bgSec4_328.add(rad_2339);
bgSec4_328.add(rad_2340);
bgSec4_328.add(rad_2341);
bgSec4_328.add(rad_2342);
bgSec4_328.add(rad_2343);
bgSec4_328.add(rad_2344);
bgSec4_329.add(rad_2345);
bgSec4_329.add(rad_2346);
bgSec4_329.add(rad_2347);
bgSec4_329.add(rad_2348);
bgSec4_329.add(rad_2349);
bgSec4_329.add(rad_2350);
bgSec4_329.add(rad_2351);
bgSec4_329.add(rad_2352);
bgSec4_330.add(rad_2353);
bgSec4_330.add(rad_2354);
bgSec4_330.add(rad_2355);
bgSec4_330.add(rad_2356);
bgSec4_330.add(rad_2357);
bgSec4_330.add(rad_2358);
bgSec4_330.add(rad_2359);
bgSec4_331.add(rad_2360);
bgSec4_331.add(rad_2361);
bgSec4_331.add(rad_2362);
bgSec4_331.add(rad_2363);
jPanel_331.setVisible(false);
jLabel_327.setVisible(false);
jLabel_328.setVisible(false);
jLabel_329.setVisible(false);
jLabel_330.setVisible(false);
jLabel_331.setVisible(false);
}
/**
*
*/
private void initSeccionCinco(){
bgSec5_333.add(rad_2369);
bgSec5_333.add(rad_2370);
bgSec5_333.add(rad_2371);
bgSec5_333.add(rad_2372);
bgSec5_334.add(rad_2373);
bgSec5_334.add(rad_2374);
bgSec5_334.add(rad_2375);
bgSec5_334.add(rad_2376);
bgSec5_336.add(rad_2380);
bgSec5_336.add(rad_2381);
bgSec5_336.add(rad_2382);
bgSec5_336.add(rad_2383);
bgSec5_336.add(rad_2384);
bgSec5_337.add(rad_2385);
bgSec5_337.add(rad_2386);
bgSec5_337.add(rad_2387);
bgSec5_337.add(rad_2388);
bgSec5_337.add(rad_2389);
jLabel_332.setVisible(false);
jLabel_333.setVisible(false);
jLabel_334.setVisible(false);
jLabel_335.setVisible(false);
jLabel_336.setVisible(false);
jLabel_337.setVisible(false);
}
/**
*
*/
private void initSeccionSeis(){
bgSec6_338.add(rad_2390);
bgSec6_338.add(rad_2391);
bgSec6_338.add(rad_2392);
bgSec6_338.add(rad_2393);
bgSec6_338.add(rad_2394);
bgSec6_338.add(rad_2395);
bgSec6_338.add(rad_2396);
bgSec6_338.add(rad_2397);
bgSec6_338.add(rad_3112);
bgSec6_339.add(rad_2398);
bgSec6_339.add(rad_2399);
bgSec6_339.add(rad_2400);
bgSec6_339.add(rad_2401);
bgSec6_339.add(rad_2402);
bgSec6_339.add(rad_2403);
bgSec6_339.add(rad_2404);
bgSec6_339.add(rad_2405);
bgSec6_340.add(rad_2406);
bgSec6_340.add(rad_2407);
bgSec6_340.add(rad_2408);
bgSec6_340.add(rad_2409);
bgSec6_342.add(rad_2411);
bgSec6_342.add(rad_2412);
bgSec6_342.add(rad_2413);
bgSec6_342.add(rad_2414);
bgSec6_342.add(rad_2415);
bgSec6_343.add(rad_2416);
bgSec6_343.add(rad_2417);
bgSec6_343.add(rad_2418);
bgSec6_343.add(rad_2419);
bgSec6_343.add(rad_2420);
bgSec6_344.add(rad_2421);
bgSec6_344.add(rad_2422);
bgSec6_344.add(rad_2423);
bgSec6_344.add(rad_2424);
bgSec6_344.add(rad_2425);
bgSec6_345.add(rad_2426);
bgSec6_345.add(rad_2427);
bgSec6_345.add(rad_2428);
bgSec6_345.add(rad_2429);
bgSec6_345.add(rad_2430);
bgSec6_346.add(rad_2431);
bgSec6_346.add(rad_2432);
bgSec6_346.add(rad_2433);
bgSec6_346.add(rad_2434);
bgSec6_346.add(rad_2435);
bgSec6_348.add(rad_2437);
bgSec6_348.add(rad_2438);
bgSec6_348.add(rad_2439);
bgSec6_348.add(rad_2440);
bgSec6_348.add(rad_2441);
bgSec6_349.add(rad_2442);
bgSec6_349.add(rad_2443);
bgSec6_349.add(rad_2444);
bgSec6_349.add(rad_2445);
bgSec6_349.add(rad_2446);
bgSec6_350.add(rad_2447);
bgSec6_350.add(rad_2448);
bgSec6_350.add(rad_2449);
bgSec6_350.add(rad_2450);
bgSec6_350.add(rad_2451);
bgSec6_351.add(rad_2452);
bgSec6_351.add(rad_2453);
bgSec6_351.add(rad_2454);
bgSec6_351.add(rad_2455);
bgSec6_351.add(rad_2456);
bgSec6_352.add(rad_2457);
bgSec6_352.add(rad_2458);
bgSec6_352.add(rad_2459);
bgSec6_352.add(rad_2460);
bgSec6_352.add(rad_2461);
bgSec6_353.add(rad_2462);
bgSec6_353.add(rad_2463);
bgSec6_353.add(rad_2464);
bgSec6_353.add(rad_2465);
bgSec6_353.add(rad_2466);
jLabel_338.setVisible(false);
jLabel_339.setVisible(false);
jLabel_340.setVisible(false);
jLabel_342.setVisible(false);
jLabel_343.setVisible(false);
jLabel_344.setVisible(false);
jLabel_345.setVisible(false);
jLabel_346.setVisible(false);
jLabel_348.setVisible(false);
jLabel_349.setVisible(false);
jLabel_350.setVisible(false);
jLabel_351.setVisible(false);
jLabel_352.setVisible(false);
jLabel_353.setVisible(false);
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
bgSec1_283 = new javax.swing.ButtonGroup();
bgSec1_285 = new javax.swing.ButtonGroup();
bgSec1_287 = new javax.swing.ButtonGroup();
bgSec1_289 = new javax.swing.ButtonGroup();
bgSec1_290 = new javax.swing.ButtonGroup();
bgSec1_292 = new javax.swing.ButtonGroup();
bgSec1_293 = new javax.swing.ButtonGroup();
bgSec1_294 = new javax.swing.ButtonGroup();
bgSec1_295 = new javax.swing.ButtonGroup();
bgSec1_296 = new javax.swing.ButtonGroup();
bgSec1_297 = new javax.swing.ButtonGroup();
bgSec2_298 = new javax.swing.ButtonGroup();
bgSec2_302 = new javax.swing.ButtonGroup();
bgSec2_303 = new javax.swing.ButtonGroup();
bgSec2_304 = new javax.swing.ButtonGroup();
bgSec2_305 = new javax.swing.ButtonGroup();
bgSec2_306 = new javax.swing.ButtonGroup();
bgSec3_307 = new javax.swing.ButtonGroup();
bgSec3_308 = new javax.swing.ButtonGroup();
bgSec3_309 = new javax.swing.ButtonGroup();
bgSec3_311 = new javax.swing.ButtonGroup();
bgSec3_313 = new javax.swing.ButtonGroup();
bgSec3_314 = new javax.swing.ButtonGroup();
bgSec3_315 = new javax.swing.ButtonGroup();
bgSec3_316 = new javax.swing.ButtonGroup();
bgSec3_317 = new javax.swing.ButtonGroup();
bgSec3_319 = new javax.swing.ButtonGroup();
bgSec3_321 = new javax.swing.ButtonGroup();
bgSec3_322 = new javax.swing.ButtonGroup();
bgSec3_323 = new javax.swing.ButtonGroup();
bgSec3_324 = new javax.swing.ButtonGroup();
bgSec3_325 = new javax.swing.ButtonGroup();
bgSec3_326 = new javax.swing.ButtonGroup();
bgSec4_327 = new javax.swing.ButtonGroup();
bgSec4_328 = new javax.swing.ButtonGroup();
bgSec4_329 = new javax.swing.ButtonGroup();
bgSec4_330 = new javax.swing.ButtonGroup();
bgSec4_331 = new javax.swing.ButtonGroup();
bgSec5_333 = new javax.swing.ButtonGroup();
bgSec5_334 = new javax.swing.ButtonGroup();
bgSec5_336 = new javax.swing.ButtonGroup();
bgSec5_337 = new javax.swing.ButtonGroup();
bgSec6_338 = new javax.swing.ButtonGroup();
bgSec6_339 = new javax.swing.ButtonGroup();
bgSec6_340 = new javax.swing.ButtonGroup();
bgSec6_342 = new javax.swing.ButtonGroup();
bgSec6_343 = new javax.swing.ButtonGroup();
bgSec6_344 = new javax.swing.ButtonGroup();
bgSec6_345 = new javax.swing.ButtonGroup();
bgSec6_346 = new javax.swing.ButtonGroup();
bgSec6_348 = new javax.swing.ButtonGroup();
bgSec6_349 = new javax.swing.ButtonGroup();
bgSec6_350 = new javax.swing.ButtonGroup();
bgSec6_351 = new javax.swing.ButtonGroup();
bgSec6_352 = new javax.swing.ButtonGroup();
bgSec6_353 = new javax.swing.ButtonGroup();
bgSec2_299 = new javax.swing.ButtonGroup();
jTabbedPane1 = new javax.swing.JTabbedPane();
jScrollPane1 = new javax.swing.JScrollPane();
jPanelSec_1 = new javax.swing.JPanel();
jPanel_282 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
chk_1802 = new javax.swing.JCheckBox();
chk_1803 = new javax.swing.JCheckBox();
chk_1804 = new javax.swing.JCheckBox();
chk_1805 = new javax.swing.JCheckBox();
chk_1806 = new javax.swing.JCheckBox();
chk_1807 = new javax.swing.JCheckBox();
chk_1808 = new javax.swing.JCheckBox();
chk_1809 = new javax.swing.JCheckBox();
chk_1810 = new javax.swing.JCheckBox();
chk_1811 = new javax.swing.JCheckBox();
jLabel_282 = new javax.swing.JLabel();
jPanel_283 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
rad_1812 = new javax.swing.JRadioButton();
rad_1813 = new javax.swing.JRadioButton();
jLabel_283 = new javax.swing.JLabel();
jPanel_284 = new javax.swing.JPanel();
jLabel3 = new javax.swing.JLabel();
chk_1814 = new javax.swing.JCheckBox();
chk_1815 = new javax.swing.JCheckBox();
chk_1816 = new javax.swing.JCheckBox();
chk_1817 = new javax.swing.JCheckBox();
chk_1818 = new javax.swing.JCheckBox();
chk_1819 = new javax.swing.JCheckBox();
chk_1820 = new javax.swing.JCheckBox();
chk_1821 = new javax.swing.JCheckBox();
jLabel_284 = new javax.swing.JLabel();
jPanel_285 = new javax.swing.JPanel();
jLabel4 = new javax.swing.JLabel();
rad_1822 = new javax.swing.JRadioButton();
rad_1823 = new javax.swing.JRadioButton();
jLabel_285 = new javax.swing.JLabel();
jPanel_286 = new javax.swing.JPanel();
jLabel5 = new javax.swing.JLabel();
chk_1824 = new javax.swing.JCheckBox();
chk_1825 = new javax.swing.JCheckBox();
chk_1826 = new javax.swing.JCheckBox();
chk_1827 = new javax.swing.JCheckBox();
chk_1828 = new javax.swing.JCheckBox();
chk_1829 = new javax.swing.JCheckBox();
chk_1830 = new javax.swing.JCheckBox();
chk_1831 = new javax.swing.JCheckBox();
jLabel_286 = new javax.swing.JLabel();
jPanel_287 = new javax.swing.JPanel();
jLabel6 = new javax.swing.JLabel();
rad_1832 = new javax.swing.JRadioButton();
rad_1833 = new javax.swing.JRadioButton();
rad_1834 = new javax.swing.JRadioButton();
rad_1835 = new javax.swing.JRadioButton();
jLabel_287 = new javax.swing.JLabel();
jPanel_288 = new javax.swing.JPanel();
jLabel7 = new javax.swing.JLabel();
jLabel_288 = new javax.swing.JLabel();
jScrollPane7 = new javax.swing.JScrollPane();
jList_288 = new javax.swing.JList<>();
jPanel_289 = new javax.swing.JPanel();
jLabel8 = new javax.swing.JLabel();
rad_2085 = new javax.swing.JRadioButton();
rad_2086 = new javax.swing.JRadioButton();
rad_2087 = new javax.swing.JRadioButton();
rad_2088 = new javax.swing.JRadioButton();
rad_2089 = new javax.swing.JRadioButton();
rad_2090 = new javax.swing.JRadioButton();
rad_2091 = new javax.swing.JRadioButton();
jLabel_289 = new javax.swing.JLabel();
jPanel_290 = new javax.swing.JPanel();
jLabel9 = new javax.swing.JLabel();
rad_2092 = new javax.swing.JRadioButton();
rad_2093 = new javax.swing.JRadioButton();
jLabel_290 = new javax.swing.JLabel();
jPanel_291 = new javax.swing.JPanel();
jLabel10 = new javax.swing.JLabel();
txt_2094 = new javax.swing.JTextField();
jLabel84 = new javax.swing.JLabel();
jLabel_291 = new javax.swing.JLabel();
jPanel_292 = new javax.swing.JPanel();
jLabel11 = new javax.swing.JLabel();
rad_2095 = new javax.swing.JRadioButton();
rad_2096 = new javax.swing.JRadioButton();
rad_2097 = new javax.swing.JRadioButton();
rad_2098 = new javax.swing.JRadioButton();
rad_2099 = new javax.swing.JRadioButton();
rad_2100 = new javax.swing.JRadioButton();
rad_2101 = new javax.swing.JRadioButton();
rad_2102 = new javax.swing.JRadioButton();
jLabel_292 = new javax.swing.JLabel();
jPanel_293 = new javax.swing.JPanel();
jLabel12 = new javax.swing.JLabel();
rad_2103 = new javax.swing.JRadioButton();
rad_2104 = new javax.swing.JRadioButton();
rad_2105 = new javax.swing.JRadioButton();
rad_2106 = new javax.swing.JRadioButton();
rad_2107 = new javax.swing.JRadioButton();
rad_2108 = new javax.swing.JRadioButton();
rad_2109 = new javax.swing.JRadioButton();
rad_2110 = new javax.swing.JRadioButton();
rad_2111 = new javax.swing.JRadioButton();
rad_2112 = new javax.swing.JRadioButton();
rad_2113 = new javax.swing.JRadioButton();
rad_2114 = new javax.swing.JRadioButton();
rad_2115 = new javax.swing.JRadioButton();
rad_2116 = new javax.swing.JRadioButton();
rad_2117 = new javax.swing.JRadioButton();
jLabel13 = new javax.swing.JLabel();
rad_2118 = new javax.swing.JRadioButton();
rad_2119 = new javax.swing.JRadioButton();
rad_2120 = new javax.swing.JRadioButton();
rad_2121 = new javax.swing.JRadioButton();
rad_2122 = new javax.swing.JRadioButton();
rad_2123 = new javax.swing.JRadioButton();
rad_2124 = new javax.swing.JRadioButton();
rad_2125 = new javax.swing.JRadioButton();
rad_2126 = new javax.swing.JRadioButton();
rad_2127 = new javax.swing.JRadioButton();
rad_2128 = new javax.swing.JRadioButton();
rad_2129 = new javax.swing.JRadioButton();
rad_2130 = new javax.swing.JRadioButton();
jLabel14 = new javax.swing.JLabel();
jSeparator1 = new javax.swing.JSeparator();
jLabel_293 = new javax.swing.JLabel();
rad_3089 = new javax.swing.JRadioButton();
rad_3090 = new javax.swing.JRadioButton();
rad_3091 = new javax.swing.JRadioButton();
rad_3092 = new javax.swing.JRadioButton();
rad_3093 = new javax.swing.JRadioButton();
jPanel_294 = new javax.swing.JPanel();
jLabel15 = new javax.swing.JLabel();
rad_2131 = new javax.swing.JRadioButton();
rad_2132 = new javax.swing.JRadioButton();
rad_2133 = new javax.swing.JRadioButton();
rad_2134 = new javax.swing.JRadioButton();
rad_2135 = new javax.swing.JRadioButton();
rad_2136 = new javax.swing.JRadioButton();
rad_2137 = new javax.swing.JRadioButton();
rad_2138 = new javax.swing.JRadioButton();
jLabel_294 = new javax.swing.JLabel();
jPanel_295 = new javax.swing.JPanel();
jLabel16 = new javax.swing.JLabel();
rad_2153 = new javax.swing.JRadioButton();
rad_2152 = new javax.swing.JRadioButton();
jSeparator2 = new javax.swing.JSeparator();
rad_2151 = new javax.swing.JRadioButton();
rad_2165 = new javax.swing.JRadioButton();
rad_2164 = new javax.swing.JRadioButton();
jLabel17 = new javax.swing.JLabel();
rad_2166 = new javax.swing.JRadioButton();
rad_2145 = new javax.swing.JRadioButton();
rad_2146 = new javax.swing.JRadioButton();
rad_2149 = new javax.swing.JRadioButton();
rad_2150 = new javax.swing.JRadioButton();
rad_2147 = new javax.swing.JRadioButton();
rad_2148 = new javax.swing.JRadioButton();
rad_2162 = new javax.swing.JRadioButton();
rad_2161 = new javax.swing.JRadioButton();
rad_2144 = new javax.swing.JRadioButton();
rad_2163 = new javax.swing.JRadioButton();
rad_2141 = new javax.swing.JRadioButton();
rad_2140 = new javax.swing.JRadioButton();
rad_2143 = new javax.swing.JRadioButton();
rad_2142 = new javax.swing.JRadioButton();
rad_2154 = new javax.swing.JRadioButton();
jLabel18 = new javax.swing.JLabel();
rad_2155 = new javax.swing.JRadioButton();
rad_2139 = new javax.swing.JRadioButton();
rad_2156 = new javax.swing.JRadioButton();
rad_2157 = new javax.swing.JRadioButton();
rad_2158 = new javax.swing.JRadioButton();
rad_2159 = new javax.swing.JRadioButton();
rad_2160 = new javax.swing.JRadioButton();
jLabel_295 = new javax.swing.JLabel();
rad_3094 = new javax.swing.JRadioButton();
rad_3095 = new javax.swing.JRadioButton();
rad_3096 = new javax.swing.JRadioButton();
rad_3097 = new javax.swing.JRadioButton();
rad_3098 = new javax.swing.JRadioButton();
jPanel_296 = new javax.swing.JPanel();
jLabel21 = new javax.swing.JLabel();
rad_2167 = new javax.swing.JRadioButton();
rad_2168 = new javax.swing.JRadioButton();
rad_2169 = new javax.swing.JRadioButton();
rad_2170 = new javax.swing.JRadioButton();
jLabel_296 = new javax.swing.JLabel();
jPanel_297 = new javax.swing.JPanel();
jLabel22 = new javax.swing.JLabel();
rad_2171 = new javax.swing.JRadioButton();
rad_2172 = new javax.swing.JRadioButton();
rad_2173 = new javax.swing.JRadioButton();
rad_2174 = new javax.swing.JRadioButton();
jLabel_297 = new javax.swing.JLabel();
jPanel_356 = new javax.swing.JPanel();
jLabel42 = new javax.swing.JLabel();
jLabel_356 = new javax.swing.JLabel();
jScrollPane8 = new javax.swing.JScrollPane();
jList_356 = new javax.swing.JList<>();
jPanel_360 = new javax.swing.JPanel();
jLabel86 = new javax.swing.JLabel();
jLabel_360 = new javax.swing.JLabel();
jScrollPane9 = new javax.swing.JScrollPane();
jList_360 = new javax.swing.JList<>();
jPanel_358 = new javax.swing.JPanel();
jLabel87 = new javax.swing.JLabel();
jLabel_358 = new javax.swing.JLabel();
jScrollPane10 = new javax.swing.JScrollPane();
jList_358 = new javax.swing.JList<>();
jPanel_362 = new javax.swing.JPanel();
jLabel88 = new javax.swing.JLabel();
jLabel_362 = new javax.swing.JLabel();
jScrollPane11 = new javax.swing.JScrollPane();
jList_362 = new javax.swing.JList<>();
jPanel_365 = new javax.swing.JPanel();
jLabel90 = new javax.swing.JLabel();
jLabel_365 = new javax.swing.JLabel();
jScrollPane12 = new javax.swing.JScrollPane();
jList_365 = new javax.swing.JList<>();
jScrollPane2 = new javax.swing.JScrollPane();
jPanelSec_2 = new javax.swing.JPanel();
jPanel_298 = new javax.swing.JPanel();
jLabel19 = new javax.swing.JLabel();
rad_2175 = new javax.swing.JRadioButton();
rad_2176 = new javax.swing.JRadioButton();
rad_2177 = new javax.swing.JRadioButton();
rad_2178 = new javax.swing.JRadioButton();
rad_2179 = new javax.swing.JRadioButton();
rad_2180 = new javax.swing.JRadioButton();
rad_2181 = new javax.swing.JRadioButton();
rad_2182 = new javax.swing.JRadioButton();
jLabel_298 = new javax.swing.JLabel();
jPanel_299 = new javax.swing.JPanel();
jLabel25 = new javax.swing.JLabel();
rad_2183 = new javax.swing.JRadioButton();
rad_2184 = new javax.swing.JRadioButton();
rad_2185 = new javax.swing.JRadioButton();
rad_2186 = new javax.swing.JRadioButton();
rad_2187 = new javax.swing.JRadioButton();
rad_2188 = new javax.swing.JRadioButton();
rad_2189 = new javax.swing.JRadioButton();
rad_2190 = new javax.swing.JRadioButton();
jLabel_299 = new javax.swing.JLabel();
jPanel_300 = new javax.swing.JPanel();
jLabel26 = new javax.swing.JLabel();
txt_2191 = new javax.swing.JTextField();
jLabel27 = new javax.swing.JLabel();
jLabel_300 = new javax.swing.JLabel();
jPanel_301 = new javax.swing.JPanel();
jLabel28 = new javax.swing.JLabel();
txt_2192 = new javax.swing.JTextField();
jLabel29 = new javax.swing.JLabel();
jLabel_301 = new javax.swing.JLabel();
jPanel_302 = new javax.swing.JPanel();
jLabel30 = new javax.swing.JLabel();
rad_2193 = new javax.swing.JRadioButton();
rad_2194 = new javax.swing.JRadioButton();
jLabel_302 = new javax.swing.JLabel();
jPanel_303 = new javax.swing.JPanel();
jLabel31 = new javax.swing.JLabel();
rad_2195 = new javax.swing.JRadioButton();
rad_2196 = new javax.swing.JRadioButton();
rad_2197 = new javax.swing.JRadioButton();
rad_2198 = new javax.swing.JRadioButton();
rad_2199 = new javax.swing.JRadioButton();
jLabel_303 = new javax.swing.JLabel();
jPanel_304 = new javax.swing.JPanel();
jLabel32 = new javax.swing.JLabel();
rad_2200 = new javax.swing.JRadioButton();
rad_2201 = new javax.swing.JRadioButton();
rad_2202 = new javax.swing.JRadioButton();
rad_2203 = new javax.swing.JRadioButton();
rad_2204 = new javax.swing.JRadioButton();
jLabel_304 = new javax.swing.JLabel();
jPanel_305 = new javax.swing.JPanel();
jLabel33 = new javax.swing.JLabel();
rad_2205 = new javax.swing.JRadioButton();
rad_2206 = new javax.swing.JRadioButton();
rad_2207 = new javax.swing.JRadioButton();
rad_2208 = new javax.swing.JRadioButton();
rad_2209 = new javax.swing.JRadioButton();
rad_2210 = new javax.swing.JRadioButton();
jLabel_305 = new javax.swing.JLabel();
jPanel_306 = new javax.swing.JPanel();
jLabel34 = new javax.swing.JLabel();
rad_2211 = new javax.swing.JRadioButton();
rad_2212 = new javax.swing.JRadioButton();
rad_2213 = new javax.swing.JRadioButton();
rad_2214 = new javax.swing.JRadioButton();
jLabel_306 = new javax.swing.JLabel();
jScrollPane3 = new javax.swing.JScrollPane();
jPanelSec_3 = new javax.swing.JPanel();
jPanel_307 = new javax.swing.JPanel();
jLabel35 = new javax.swing.JLabel();
rad_2215 = new javax.swing.JRadioButton();
rad_2216 = new javax.swing.JRadioButton();
rad_2217 = new javax.swing.JRadioButton();
rad_2218 = new javax.swing.JRadioButton();
rad_2219 = new javax.swing.JRadioButton();
rad_2220 = new javax.swing.JRadioButton();
rad_2221 = new javax.swing.JRadioButton();
jLabel_307 = new javax.swing.JLabel();
rad_3105 = new javax.swing.JRadioButton();
jPanel_308 = new javax.swing.JPanel();
jLabel36 = new javax.swing.JLabel();
rad_2222 = new javax.swing.JRadioButton();
rad_2223 = new javax.swing.JRadioButton();
rad_2224 = new javax.swing.JRadioButton();
rad_2225 = new javax.swing.JRadioButton();
rad_2226 = new javax.swing.JRadioButton();
rad_2227 = new javax.swing.JRadioButton();
rad_2228 = new javax.swing.JRadioButton();
rad_2229 = new javax.swing.JRadioButton();
jLabel_308 = new javax.swing.JLabel();
jPanel_309 = new javax.swing.JPanel();
jLabel37 = new javax.swing.JLabel();
rad_2230 = new javax.swing.JRadioButton();
rad_2231 = new javax.swing.JRadioButton();
rad_2232 = new javax.swing.JRadioButton();
rad_2233 = new javax.swing.JRadioButton();
rad_2234 = new javax.swing.JRadioButton();
rad_2235 = new javax.swing.JRadioButton();
rad_2236 = new javax.swing.JRadioButton();
rad_2237 = new javax.swing.JRadioButton();
rad_2238 = new javax.swing.JRadioButton();
rad_2239 = new javax.swing.JRadioButton();
jLabel_309 = new javax.swing.JLabel();
jPanel_310 = new javax.swing.JPanel();
jLabel38 = new javax.swing.JLabel();
txt_2467 = new javax.swing.JTextField();
jLabel39 = new javax.swing.JLabel();
jLabel_310 = new javax.swing.JLabel();
jPanel_311 = new javax.swing.JPanel();
jLabel40 = new javax.swing.JLabel();
rad_2240 = new javax.swing.JRadioButton();
rad_2241 = new javax.swing.JRadioButton();
rad_2242 = new javax.swing.JRadioButton();
rad_2243 = new javax.swing.JRadioButton();
rad_2244 = new javax.swing.JRadioButton();
rad_2245 = new javax.swing.JRadioButton();
rad_2246 = new javax.swing.JRadioButton();
rad_2247 = new javax.swing.JRadioButton();
rad_2248 = new javax.swing.JRadioButton();
rad_2249 = new javax.swing.JRadioButton();
jLabel_311 = new javax.swing.JLabel();
jPanel_312 = new javax.swing.JPanel();
jLabel41 = new javax.swing.JLabel();
txt_2250 = new javax.swing.JTextField();
jLabel_312 = new javax.swing.JLabel();
jLabel85 = new javax.swing.JLabel();
jPanel_313 = new javax.swing.JPanel();
jLabel43 = new javax.swing.JLabel();
rad_2251 = new javax.swing.JRadioButton();
rad_2252 = new javax.swing.JRadioButton();
rad_2253 = new javax.swing.JRadioButton();
rad_2254 = new javax.swing.JRadioButton();
rad_2255 = new javax.swing.JRadioButton();
rad_2256 = new javax.swing.JRadioButton();
rad_2257 = new javax.swing.JRadioButton();
rad_2258 = new javax.swing.JRadioButton();
rad_2259 = new javax.swing.JRadioButton();
rad_2260 = new javax.swing.JRadioButton();
rad_2261 = new javax.swing.JRadioButton();
rad_2262 = new javax.swing.JRadioButton();
jLabel_313 = new javax.swing.JLabel();
jPanel_314 = new javax.swing.JPanel();
jLabel44 = new javax.swing.JLabel();
rad_2263 = new javax.swing.JRadioButton();
rad_2264 = new javax.swing.JRadioButton();
rad_2265 = new javax.swing.JRadioButton();
rad_2266 = new javax.swing.JRadioButton();
rad_2267 = new javax.swing.JRadioButton();
rad_2268 = new javax.swing.JRadioButton();
rad_2269 = new javax.swing.JRadioButton();
rad_2270 = new javax.swing.JRadioButton();
rad_2271 = new javax.swing.JRadioButton();
rad_2272 = new javax.swing.JRadioButton();
rad_2273 = new javax.swing.JRadioButton();
jLabel_314 = new javax.swing.JLabel();
rad_3106 = new javax.swing.JRadioButton();
jPanel_315 = new javax.swing.JPanel();
jLabel45 = new javax.swing.JLabel();
rad_2274 = new javax.swing.JRadioButton();
rad_2275 = new javax.swing.JRadioButton();
rad_2276 = new javax.swing.JRadioButton();
rad_2277 = new javax.swing.JRadioButton();
rad_2278 = new javax.swing.JRadioButton();
rad_2279 = new javax.swing.JRadioButton();
rad_2280 = new javax.swing.JRadioButton();
rad_2281 = new javax.swing.JRadioButton();
rad_2282 = new javax.swing.JRadioButton();
rad_2283 = new javax.swing.JRadioButton();
rad_2284 = new javax.swing.JRadioButton();
jLabel_315 = new javax.swing.JLabel();
rad_3107 = new javax.swing.JRadioButton();
jPanel_316 = new javax.swing.JPanel();
jLabel46 = new javax.swing.JLabel();
rad_2285 = new javax.swing.JRadioButton();
rad_2286 = new javax.swing.JRadioButton();
jLabel_316 = new javax.swing.JLabel();
jPanel_317 = new javax.swing.JPanel();
jLabel47 = new javax.swing.JLabel();
rad_2287 = new javax.swing.JRadioButton();
rad_2288 = new javax.swing.JRadioButton();
jLabel_317 = new javax.swing.JLabel();
jPanel_318 = new javax.swing.JPanel();
jLabel48 = new javax.swing.JLabel();
chk_2289 = new javax.swing.JCheckBox();
chk_2290 = new javax.swing.JCheckBox();
chk_2291 = new javax.swing.JCheckBox();
chk_2292 = new javax.swing.JCheckBox();
chk_2293 = new javax.swing.JCheckBox();
jLabel_318 = new javax.swing.JLabel();
chk_3108 = new javax.swing.JCheckBox();
jPanel_319 = new javax.swing.JPanel();
jLabel49 = new javax.swing.JLabel();
rad_2294 = new javax.swing.JRadioButton();
rad_2295 = new javax.swing.JRadioButton();
jLabel_319 = new javax.swing.JLabel();
jPanel_320 = new javax.swing.JPanel();
jLabel50 = new javax.swing.JLabel();
chk_2296 = new javax.swing.JCheckBox();
chk_2297 = new javax.swing.JCheckBox();
chk_2298 = new javax.swing.JCheckBox();
chk_2299 = new javax.swing.JCheckBox();
chk_2300 = new javax.swing.JCheckBox();
chk_2301 = new javax.swing.JCheckBox();
chk_2302 = new javax.swing.JCheckBox();
jLabel_320 = new javax.swing.JLabel();
jPanel_321 = new javax.swing.JPanel();
jLabel51 = new javax.swing.JLabel();
rad_2303 = new javax.swing.JRadioButton();
rad_2304 = new javax.swing.JRadioButton();
rad_2305 = new javax.swing.JRadioButton();
rad_2306 = new javax.swing.JRadioButton();
rad_2307 = new javax.swing.JRadioButton();
rad_2308 = new javax.swing.JRadioButton();
jLabel_321 = new javax.swing.JLabel();
jPanel_322 = new javax.swing.JPanel();
jLabel52 = new javax.swing.JLabel();
rad_2309 = new javax.swing.JRadioButton();
rad_2310 = new javax.swing.JRadioButton();
rad_2311 = new javax.swing.JRadioButton();
rad_2312 = new javax.swing.JRadioButton();
rad_2313 = new javax.swing.JRadioButton();
rad_2314 = new javax.swing.JRadioButton();
rad_2315 = new javax.swing.JRadioButton();
rad_2316 = new javax.swing.JRadioButton();
rad_2317 = new javax.swing.JRadioButton();
jLabel_322 = new javax.swing.JLabel();
rad_3109 = new javax.swing.JRadioButton();
jPanel_323 = new javax.swing.JPanel();
jLabel53 = new javax.swing.JLabel();
rad_2318 = new javax.swing.JRadioButton();
rad_2319 = new javax.swing.JRadioButton();
jLabel_323 = new javax.swing.JLabel();
jPanel_324 = new javax.swing.JPanel();
jLabel54 = new javax.swing.JLabel();
rad_2320 = new javax.swing.JRadioButton();
rad_2321 = new javax.swing.JRadioButton();
rad_2322 = new javax.swing.JRadioButton();
rad_2323 = new javax.swing.JRadioButton();
rad_2324 = new javax.swing.JRadioButton();
rad_2325 = new javax.swing.JRadioButton();
rad_2326 = new javax.swing.JRadioButton();
rad_2327 = new javax.swing.JRadioButton();
jLabel_324 = new javax.swing.JLabel();
jPanel_325 = new javax.swing.JPanel();
jLabel55 = new javax.swing.JLabel();
rad_2328 = new javax.swing.JRadioButton();
rad_2329 = new javax.swing.JRadioButton();
jLabel_325 = new javax.swing.JLabel();
jPanel_326 = new javax.swing.JPanel();
jLabel56 = new javax.swing.JLabel();
rad_2330 = new javax.swing.JRadioButton();
rad_2331 = new javax.swing.JRadioButton();
rad_2332 = new javax.swing.JRadioButton();
rad_2333 = new javax.swing.JRadioButton();
rad_2334 = new javax.swing.JRadioButton();
jLabel_326 = new javax.swing.JLabel();
jScrollPane4 = new javax.swing.JScrollPane();
jPanelSec_4 = new javax.swing.JPanel();
jPanel_327 = new javax.swing.JPanel();
jLabel57 = new javax.swing.JLabel();
rad_2335 = new javax.swing.JRadioButton();
rad_2336 = new javax.swing.JRadioButton();
rad_2337 = new javax.swing.JRadioButton();
rad_2338 = new javax.swing.JRadioButton();
jLabel_327 = new javax.swing.JLabel();
jPanel_328 = new javax.swing.JPanel();
jLabel58 = new javax.swing.JLabel();
rad_2339 = new javax.swing.JRadioButton();
rad_2340 = new javax.swing.JRadioButton();
rad_2341 = new javax.swing.JRadioButton();
rad_2342 = new javax.swing.JRadioButton();
rad_2343 = new javax.swing.JRadioButton();
rad_2344 = new javax.swing.JRadioButton();
jLabel_328 = new javax.swing.JLabel();
jPanel_329 = new javax.swing.JPanel();
jLabel59 = new javax.swing.JLabel();
rad_2345 = new javax.swing.JRadioButton();
rad_2346 = new javax.swing.JRadioButton();
rad_2347 = new javax.swing.JRadioButton();
rad_2348 = new javax.swing.JRadioButton();
rad_2349 = new javax.swing.JRadioButton();
rad_2350 = new javax.swing.JRadioButton();
rad_2351 = new javax.swing.JRadioButton();
rad_2352 = new javax.swing.JRadioButton();
jLabel_329 = new javax.swing.JLabel();
jPanel_330 = new javax.swing.JPanel();
jLabel60 = new javax.swing.JLabel();
rad_2353 = new javax.swing.JRadioButton();
rad_2354 = new javax.swing.JRadioButton();
rad_2355 = new javax.swing.JRadioButton();
rad_2356 = new javax.swing.JRadioButton();
rad_2357 = new javax.swing.JRadioButton();
rad_2358 = new javax.swing.JRadioButton();
rad_2359 = new javax.swing.JRadioButton();
jLabel_330 = new javax.swing.JLabel();
jPanel_331 = new javax.swing.JPanel();
jLabel61 = new javax.swing.JLabel();
rad_2360 = new javax.swing.JRadioButton();
rad_2361 = new javax.swing.JRadioButton();
rad_2362 = new javax.swing.JRadioButton();
rad_2363 = new javax.swing.JRadioButton();
jLabel_331 = new javax.swing.JLabel();
jScrollPane5 = new javax.swing.JScrollPane();
jPanelSec_5 = new javax.swing.JPanel();
jPanel_332 = new javax.swing.JPanel();
jLabel62 = new javax.swing.JLabel();
chk_2364 = new javax.swing.JCheckBox();
chk_2365 = new javax.swing.JCheckBox();
chk_2366 = new javax.swing.JCheckBox();
chk_2367 = new javax.swing.JCheckBox();
chk_2368 = new javax.swing.JCheckBox();
jLabel_332 = new javax.swing.JLabel();
chk_3110 = new javax.swing.JCheckBox();
jPanel_333 = new javax.swing.JPanel();
jLabel63 = new javax.swing.JLabel();
rad_2369 = new javax.swing.JRadioButton();
rad_2370 = new javax.swing.JRadioButton();
rad_2371 = new javax.swing.JRadioButton();
rad_2372 = new javax.swing.JRadioButton();
jLabel_333 = new javax.swing.JLabel();
jPanel_334 = new javax.swing.JPanel();
jLabel64 = new javax.swing.JLabel();
rad_2373 = new javax.swing.JRadioButton();
rad_2374 = new javax.swing.JRadioButton();
rad_2375 = new javax.swing.JRadioButton();
rad_2376 = new javax.swing.JRadioButton();
jLabel_334 = new javax.swing.JLabel();
jPanel_335 = new javax.swing.JPanel();
jLabel65 = new javax.swing.JLabel();
chk_2377 = new javax.swing.JCheckBox();
chk_2378 = new javax.swing.JCheckBox();
chk_2379 = new javax.swing.JCheckBox();
jLabel_335 = new javax.swing.JLabel();
chk_3111 = new javax.swing.JCheckBox();
jPanel_336 = new javax.swing.JPanel();
jLabel66 = new javax.swing.JLabel();
rad_2380 = new javax.swing.JRadioButton();
rad_2381 = new javax.swing.JRadioButton();
rad_2382 = new javax.swing.JRadioButton();
rad_2383 = new javax.swing.JRadioButton();
rad_2384 = new javax.swing.JRadioButton();
jLabel_336 = new javax.swing.JLabel();
jPanel_337 = new javax.swing.JPanel();
jLabel67 = new javax.swing.JLabel();
rad_2385 = new javax.swing.JRadioButton();
rad_2386 = new javax.swing.JRadioButton();
rad_2387 = new javax.swing.JRadioButton();
rad_2388 = new javax.swing.JRadioButton();
rad_2389 = new javax.swing.JRadioButton();
jLabel_337 = new javax.swing.JLabel();
jScrollPane6 = new javax.swing.JScrollPane();
jPanelSec_6 = new javax.swing.JPanel();
jPanel_338 = new javax.swing.JPanel();
jLabel68 = new javax.swing.JLabel();
rad_2390 = new javax.swing.JRadioButton();
rad_2391 = new javax.swing.JRadioButton();
rad_2392 = new javax.swing.JRadioButton();
rad_2393 = new javax.swing.JRadioButton();
rad_2394 = new javax.swing.JRadioButton();
rad_2395 = new javax.swing.JRadioButton();
rad_2396 = new javax.swing.JRadioButton();
rad_2397 = new javax.swing.JRadioButton();
jLabel_338 = new javax.swing.JLabel();
rad_3112 = new javax.swing.JRadioButton();
jPanel_339 = new javax.swing.JPanel();
jLabel69 = new javax.swing.JLabel();
rad_2398 = new javax.swing.JRadioButton();
rad_2399 = new javax.swing.JRadioButton();
rad_2400 = new javax.swing.JRadioButton();
rad_2401 = new javax.swing.JRadioButton();
rad_2402 = new javax.swing.JRadioButton();
rad_2403 = new javax.swing.JRadioButton();
rad_2404 = new javax.swing.JRadioButton();
rad_2405 = new javax.swing.JRadioButton();
jLabel_339 = new javax.swing.JLabel();
jPanel_340 = new javax.swing.JPanel();
jLabel70 = new javax.swing.JLabel();
rad_2406 = new javax.swing.JRadioButton();
rad_2407 = new javax.swing.JRadioButton();
rad_2408 = new javax.swing.JRadioButton();
rad_2409 = new javax.swing.JRadioButton();
jLabel_340 = new javax.swing.JLabel();
jPanel_341 = new javax.swing.JPanel();
jLabel71 = new javax.swing.JLabel();
jPanel_342 = new javax.swing.JPanel();
jLabel72 = new javax.swing.JLabel();
rad_2411 = new javax.swing.JRadioButton();
rad_2412 = new javax.swing.JRadioButton();
rad_2413 = new javax.swing.JRadioButton();
rad_2414 = new javax.swing.JRadioButton();
rad_2415 = new javax.swing.JRadioButton();
jLabel_342 = new javax.swing.JLabel();
jPanel_343 = new javax.swing.JPanel();
rad_2416 = new javax.swing.JRadioButton();
rad_2417 = new javax.swing.JRadioButton();
rad_2418 = new javax.swing.JRadioButton();
rad_2419 = new javax.swing.JRadioButton();
rad_2420 = new javax.swing.JRadioButton();
jLabel_343 = new javax.swing.JLabel();
jLabel73 = new javax.swing.JLabel();
jPanel_344 = new javax.swing.JPanel();
jLabel74 = new javax.swing.JLabel();
rad_2421 = new javax.swing.JRadioButton();
rad_2422 = new javax.swing.JRadioButton();
rad_2423 = new javax.swing.JRadioButton();
rad_2424 = new javax.swing.JRadioButton();
rad_2425 = new javax.swing.JRadioButton();
jLabel_344 = new javax.swing.JLabel();
jPanel_345 = new javax.swing.JPanel();
jLabel75 = new javax.swing.JLabel();
rad_2426 = new javax.swing.JRadioButton();
rad_2427 = new javax.swing.JRadioButton();
rad_2428 = new javax.swing.JRadioButton();
rad_2429 = new javax.swing.JRadioButton();
rad_2430 = new javax.swing.JRadioButton();
jLabel_345 = new javax.swing.JLabel();
jPanel_346 = new javax.swing.JPanel();
jLabel76 = new javax.swing.JLabel();
rad_2431 = new javax.swing.JRadioButton();
rad_2432 = new javax.swing.JRadioButton();
rad_2433 = new javax.swing.JRadioButton();
rad_2434 = new javax.swing.JRadioButton();
rad_2435 = new javax.swing.JRadioButton();
jLabel_346 = new javax.swing.JLabel();
jPanel_347 = new javax.swing.JPanel();
jLabel77 = new javax.swing.JLabel();
jPanel_348 = new javax.swing.JPanel();
jLabel78 = new javax.swing.JLabel();
rad_2437 = new javax.swing.JRadioButton();
rad_2438 = new javax.swing.JRadioButton();
rad_2439 = new javax.swing.JRadioButton();
rad_2440 = new javax.swing.JRadioButton();
rad_2441 = new javax.swing.JRadioButton();
jLabel_348 = new javax.swing.JLabel();
jPanel_349 = new javax.swing.JPanel();
jLabel79 = new javax.swing.JLabel();
rad_2442 = new javax.swing.JRadioButton();
rad_2443 = new javax.swing.JRadioButton();
rad_2444 = new javax.swing.JRadioButton();
rad_2445 = new javax.swing.JRadioButton();
rad_2446 = new javax.swing.JRadioButton();
jLabel_349 = new javax.swing.JLabel();
jPanel_350 = new javax.swing.JPanel();
jLabel80 = new javax.swing.JLabel();
rad_2447 = new javax.swing.JRadioButton();
rad_2448 = new javax.swing.JRadioButton();
rad_2449 = new javax.swing.JRadioButton();
rad_2450 = new javax.swing.JRadioButton();
rad_2451 = new javax.swing.JRadioButton();
jLabel_350 = new javax.swing.JLabel();
jPanel_351 = new javax.swing.JPanel();
jLabel81 = new javax.swing.JLabel();
rad_2452 = new javax.swing.JRadioButton();
rad_2453 = new javax.swing.JRadioButton();
rad_2454 = new javax.swing.JRadioButton();
rad_2455 = new javax.swing.JRadioButton();
rad_2456 = new javax.swing.JRadioButton();
jLabel_351 = new javax.swing.JLabel();
jPanel_352 = new javax.swing.JPanel();
jLabel82 = new javax.swing.JLabel();
rad_2457 = new javax.swing.JRadioButton();
rad_2458 = new javax.swing.JRadioButton();
rad_2459 = new javax.swing.JRadioButton();
rad_2460 = new javax.swing.JRadioButton();
rad_2461 = new javax.swing.JRadioButton();
jLabel_352 = new javax.swing.JLabel();
jPanel_353 = new javax.swing.JPanel();
jLabel83 = new javax.swing.JLabel();
rad_2462 = new javax.swing.JRadioButton();
rad_2463 = new javax.swing.JRadioButton();
rad_2464 = new javax.swing.JRadioButton();
rad_2465 = new javax.swing.JRadioButton();
rad_2466 = new javax.swing.JRadioButton();
jLabel_353 = new javax.swing.JLabel();
jButton_Sigueinte = new javax.swing.JButton();
jButton_Atras = new javax.swing.JButton();
jPanel_DatosPersonales = new javax.swing.JPanel();
jLabel20 = new javax.swing.JLabel();
txt_cedula = new javax.swing.JTextField();
jLabel23 = new javax.swing.JLabel();
txt_nombres = new javax.swing.JTextField();
jLabel24 = new javax.swing.JLabel();
txt_apellidos = new javax.swing.JTextField();
jButton_activarEncuesta = new javax.swing.JButton();
jLabel89 = new javax.swing.JLabel();
jLabel91 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("SNNA - ENCUESTA");
setIconImage(getIconImage());
setLocationByPlatform(true);
setResizable(false);
jTabbedPane1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jTabbedPane1MouseClicked(evt);
}
public void mouseEntered(java.awt.event.MouseEvent evt) {
jTabbedPane1MouseEntered(evt);
}
public void mousePressed(java.awt.event.MouseEvent evt) {
jTabbedPane1MousePressed(evt);
}
});
jTabbedPane1.addChangeListener(new javax.swing.event.ChangeListener() {
public void stateChanged(javax.swing.event.ChangeEvent evt) {
jTabbedPane1StateChanged(evt);
}
});
jScrollPane1.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
jScrollPane1FocusLost(evt);
}
});
jPanel_282.setName("282"); // NOI18N
jLabel1.setText("<html><b>1.1. ¿Con quién vives?</b><br/>(selección múltiple)</html>");
jLabel1.setName("1"); // NOI18N
chk_1802.setText("Solo");
chk_1802.setName("1802"); // NOI18N
chk_1802.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1802ActionPerformed(evt);
}
});
chk_1803.setText("Padre");
chk_1803.setName("1803"); // NOI18N
chk_1803.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1803ActionPerformed(evt);
}
});
chk_1804.setText("Madre");
chk_1804.setName("1804"); // NOI18N
chk_1804.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1804ActionPerformed(evt);
}
});
chk_1805.setText("Hermanas/os");
chk_1805.setName("1805"); // NOI18N
chk_1805.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1805ActionPerformed(evt);
}
});
chk_1806.setText("Abuelas/os");
chk_1806.setName("1806"); // NOI18N
chk_1806.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1806ActionPerformed(evt);
}
});
chk_1807.setText("Hija/o");
chk_1807.setName("1807"); // NOI18N
chk_1807.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1807ActionPerformed(evt);
}
});
chk_1808.setText("Cónyuge o conviviente");
chk_1808.setName("1808"); // NOI18N
chk_1808.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1808ActionPerformed(evt);
}
});
chk_1809.setText("Amiga/o");
chk_1809.setName("1809"); // NOI18N
chk_1809.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1809ActionPerformed(evt);
}
});
chk_1810.setText("Otros");
chk_1810.setName("1810"); // NOI18N
chk_1810.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1810ActionPerformed(evt);
}
});
chk_1811.setText("Me encuentro en situación de privación de libertad");
chk_1811.setName("1811"); // NOI18N
chk_1811.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1811ActionPerformed(evt);
}
});
jLabel_282.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_282.setForeground(new java.awt.Color(255, 51, 51));
jLabel_282.setText("* Esta pregunta es obligatoria.");
jLabel_282.setName("lbl_282"); // NOI18N
javax.swing.GroupLayout jPanel_282Layout = new javax.swing.GroupLayout(jPanel_282);
jPanel_282.setLayout(jPanel_282Layout);
jPanel_282Layout.setHorizontalGroup(
jPanel_282Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_282Layout.createSequentialGroup()
.addGap(15, 15, 15)
.addGroup(jPanel_282Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_282)
.addComponent(chk_1811)
.addComponent(chk_1810)
.addComponent(chk_1809)
.addComponent(chk_1808)
.addComponent(chk_1807)
.addComponent(chk_1806)
.addComponent(chk_1805)
.addComponent(chk_1804)
.addComponent(chk_1803)
.addComponent(chk_1802)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_282Layout.setVerticalGroup(
jPanel_282Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_282Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_282)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(chk_1802)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1803)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1804)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1805)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1806)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1807)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1808)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1809)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1810)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1811)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jLabel1.getAccessibleContext().setAccessibleName("1.- ¿Con quién vives?");
jPanel_283.setName("283"); // NOI18N
jLabel2.setText("<html><b>1.2. ¿Alguien en tu hogar tiene discapacidad?</b><br/>(selecciona una opción )</html>");
jLabel2.setName("1"); // NOI18N
rad_1812.setText("Sí");
rad_1812.setName("1812"); // NOI18N
rad_1812.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_1812ActionPerformed(evt);
}
});
rad_1813.setText("No");
rad_1813.setName("1813"); // NOI18N
rad_1813.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_1813ActionPerformed(evt);
}
});
jLabel_283.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_283.setForeground(new java.awt.Color(255, 51, 51));
jLabel_283.setText("* Esta pregunta es obligatoria.");
jLabel_283.setName("lbl_283"); // NOI18N
javax.swing.GroupLayout jPanel_283Layout = new javax.swing.GroupLayout(jPanel_283);
jPanel_283.setLayout(jPanel_283Layout);
jPanel_283Layout.setHorizontalGroup(
jPanel_283Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_283Layout.createSequentialGroup()
.addGroup(jPanel_283Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_283Layout.createSequentialGroup()
.addGap(15, 15, 15)
.addGroup(jPanel_283Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_1813)
.addComponent(rad_1812)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(jPanel_283Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_283)))
.addContainerGap(57, Short.MAX_VALUE))
);
jPanel_283Layout.setVerticalGroup(
jPanel_283Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_283Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_283)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_1812)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_1813)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_284.setName("284"); // NOI18N
jLabel3.setText("<html><b>1.2.1. ¿Qué miembro de tu hogar tiene discapacidad?</b><br/>(selección múltiple )</html>");
jLabel3.setName("1"); // NOI18N
chk_1814.setText("Yo");
chk_1814.setName("1814"); // NOI18N
chk_1815.setText("Padre");
chk_1815.setName("1815"); // NOI18N
chk_1815.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1815ActionPerformed(evt);
}
});
chk_1816.setText("Madre");
chk_1816.setName("1816"); // NOI18N
chk_1816.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1816ActionPerformed(evt);
}
});
chk_1817.setText("Hermanas/os");
chk_1817.setName("1817"); // NOI18N
chk_1818.setText("Abuelas/os");
chk_1818.setName("1818"); // NOI18N
chk_1819.setText("Hija/o");
chk_1819.setName("1819"); // NOI18N
chk_1820.setText("Cónyuge o conviviente");
chk_1820.setName("1820"); // NOI18N
chk_1821.setText("Otro");
chk_1821.setName("1821"); // NOI18N
jLabel_284.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_284.setForeground(new java.awt.Color(255, 51, 51));
jLabel_284.setText("* Esta pregunta es obligatoria.");
jLabel_284.setName("lbl_284"); // NOI18N
javax.swing.GroupLayout jPanel_284Layout = new javax.swing.GroupLayout(jPanel_284);
jPanel_284.setLayout(jPanel_284Layout);
jPanel_284Layout.setHorizontalGroup(
jPanel_284Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_284Layout.createSequentialGroup()
.addGap(15, 15, 15)
.addGroup(jPanel_284Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_284)
.addComponent(chk_1821)
.addComponent(chk_1820)
.addComponent(chk_1819)
.addComponent(chk_1818)
.addComponent(chk_1817)
.addComponent(chk_1816)
.addComponent(chk_1815)
.addComponent(chk_1814)
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_284Layout.setVerticalGroup(
jPanel_284Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_284Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_284)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(chk_1814)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1815)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1816)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1817)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1818)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1819)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1820)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1821)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_285.setName("285"); // NOI18N
jLabel4.setText("<html><b>1.3. ¿Algún miembro de tu hogar, incluyéndote a ti, <br/>ha estado en situación de movilidad humana<br/>(migración, retorno, refugio)?</b><br/>(selecciona una opción )</html>\n");
jLabel4.setName("1"); // NOI18N
rad_1822.setText("Sí");
rad_1822.setName("1822"); // NOI18N
rad_1822.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_1822ActionPerformed(evt);
}
});
rad_1823.setText("No");
rad_1823.setName("1823"); // NOI18N
rad_1823.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_1823ActionPerformed(evt);
}
});
jLabel_285.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_285.setForeground(new java.awt.Color(255, 51, 51));
jLabel_285.setText("* Esta pregunta es obligatoria.");
jLabel_285.setName("lbl_285"); // NOI18N
javax.swing.GroupLayout jPanel_285Layout = new javax.swing.GroupLayout(jPanel_285);
jPanel_285.setLayout(jPanel_285Layout);
jPanel_285Layout.setHorizontalGroup(
jPanel_285Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_285Layout.createSequentialGroup()
.addGap(15, 15, 15)
.addGroup(jPanel_285Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_285)
.addComponent(rad_1822)
.addComponent(rad_1823)
.addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_285Layout.setVerticalGroup(
jPanel_285Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_285Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_285)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_1822)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_1823)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_286.setName("286"); // NOI18N
jLabel5.setText("<html><b>1.3.1. ¿Qué miembro de tu hogar está en situación de movilidad humana?</b><br/> (selección múltiple)</html>\n\n");
jLabel5.setName("1"); // NOI18N
chk_1824.setText("Yo");
chk_1824.setName("1824"); // NOI18N
chk_1824.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1824ActionPerformed(evt);
}
});
chk_1825.setText("Padre");
chk_1825.setName("1825"); // NOI18N
chk_1825.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1825ActionPerformed(evt);
}
});
chk_1826.setText("Madre");
chk_1826.setName("1826"); // NOI18N
chk_1826.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1826ActionPerformed(evt);
}
});
chk_1827.setText("Hermanas/os");
chk_1827.setName("1827"); // NOI18N
chk_1827.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1827ActionPerformed(evt);
}
});
chk_1828.setText("Abuelas/os");
chk_1828.setName("1828"); // NOI18N
chk_1828.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1828ActionPerformed(evt);
}
});
chk_1829.setText("Hija/o");
chk_1829.setName("1829"); // NOI18N
chk_1829.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1829ActionPerformed(evt);
}
});
chk_1830.setText("Cónyuge o conviviente");
chk_1830.setName("1830"); // NOI18N
chk_1830.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1830ActionPerformed(evt);
}
});
chk_1831.setText("Otro");
chk_1831.setName("1831"); // NOI18N
chk_1831.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_1831ActionPerformed(evt);
}
});
jLabel_286.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_286.setForeground(new java.awt.Color(255, 51, 51));
jLabel_286.setText("* Esta pregunta es obligatoria.");
jLabel_286.setName("lbl_286"); // NOI18N
javax.swing.GroupLayout jPanel_286Layout = new javax.swing.GroupLayout(jPanel_286);
jPanel_286.setLayout(jPanel_286Layout);
jPanel_286Layout.setHorizontalGroup(
jPanel_286Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_286Layout.createSequentialGroup()
.addGap(15, 15, 15)
.addGroup(jPanel_286Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_286)
.addComponent(chk_1831)
.addComponent(chk_1830)
.addComponent(chk_1829)
.addComponent(chk_1828)
.addComponent(chk_1827)
.addComponent(chk_1826)
.addComponent(chk_1825)
.addComponent(chk_1824)
.addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(114, Short.MAX_VALUE))
);
jPanel_286Layout.setVerticalGroup(
jPanel_286Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_286Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_286)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(chk_1824)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1825)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1826)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1827)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1828)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1829)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1830)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_1831)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_287.setName("287"); // NOI18N
jLabel6.setText("<html><b>1.3.2. ¿Qué tipo de movilidad?</b><br/>(selecciona una opción)</html>\n");
jLabel6.setName("1"); // NOI18N
rad_1832.setText("Migrante Interno");
rad_1832.setName("1832"); // NOI18N
rad_1832.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_1832ActionPerformed(evt);
}
});
rad_1833.setText("Migrante Internacional ");
rad_1833.setName("1833"); // NOI18N
rad_1833.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_1833ActionPerformed(evt);
}
});
rad_1834.setText("Migrante Retornado");
rad_1834.setName("1834"); // NOI18N
rad_1834.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_1834ActionPerformed(evt);
}
});
rad_1835.setText("Refugiado");
rad_1835.setName("1835"); // NOI18N
rad_1835.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_1835ActionPerformed(evt);
}
});
jLabel_287.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_287.setForeground(new java.awt.Color(255, 51, 51));
jLabel_287.setText("* Esta pregunta es obligatoria.");
jLabel_287.setName("lbl_287"); // NOI18N
javax.swing.GroupLayout jPanel_287Layout = new javax.swing.GroupLayout(jPanel_287);
jPanel_287.setLayout(jPanel_287Layout);
jPanel_287Layout.setHorizontalGroup(
jPanel_287Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_287Layout.createSequentialGroup()
.addGap(15, 15, 15)
.addGroup(jPanel_287Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_287)
.addComponent(rad_1835)
.addComponent(rad_1834)
.addComponent(rad_1833)
.addComponent(rad_1832)
.addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(172, Short.MAX_VALUE))
);
jPanel_287Layout.setVerticalGroup(
jPanel_287Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_287Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_287)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_1832)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_1833)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_1834)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_1835)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_288.setName("288"); // NOI18N
jLabel7.setText("<html><b>1.3.2.1. ¿A que país realizó la migración?</b><br/>(selecciona una opción)</html>\n");
jLabel7.setName("1"); // NOI18N
jLabel_288.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_288.setForeground(new java.awt.Color(255, 51, 51));
jLabel_288.setText("* Esta pregunta es obligatoria.");
jLabel_288.setName("lbl_288"); // NOI18N
jScrollPane7.setName("lista_288"); // NOI18N
jList_288.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
jList_288.setName("288"); // NOI18N
jList_288.setVisibleRowCount(20);
jScrollPane7.setViewportView(jList_288);
javax.swing.GroupLayout jPanel_288Layout = new javax.swing.GroupLayout(jPanel_288);
jPanel_288.setLayout(jPanel_288Layout);
jPanel_288Layout.setHorizontalGroup(
jPanel_288Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_288Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_288Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_288Layout.createSequentialGroup()
.addComponent(jLabel_288)
.addGap(0, 0, Short.MAX_VALUE))
.addGroup(jPanel_288Layout.createSequentialGroup()
.addComponent(jScrollPane7)
.addGap(85, 85, 85))
.addGroup(jPanel_288Layout.createSequentialGroup()
.addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
);
jPanel_288Layout.setVerticalGroup(
jPanel_288Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_288Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_288)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 204, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(7, 7, 7))
);
jPanel_289.setName("289"); // NOI18N
jLabel8.setText("<html><b>1.3.3. ¿Cuál fue el motivo principal?</b><br/>(selecciona una opción)</html>\n");
jLabel8.setName("1"); // NOI18N
rad_2085.setText("Trabajo");
rad_2085.setName("2085"); // NOI18N
rad_2086.setText("Estudios");
rad_2086.setName("2086"); // NOI18N
rad_2087.setText("Negocios");
rad_2087.setName("2087"); // NOI18N
rad_2088.setText("Reagrupación Familiar");
rad_2088.setName("2088"); // NOI18N
rad_2089.setText("Conflictos sociales");
rad_2089.setName("2089"); // NOI18N
rad_2090.setText("Desastres naturales");
rad_2090.setName("2090"); // NOI18N
rad_2091.setText("Persecución política");
rad_2091.setName("2091"); // NOI18N
jLabel_289.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_289.setForeground(new java.awt.Color(255, 51, 51));
jLabel_289.setText("* Esta pregunta es obligatoria.");
jLabel_289.setName("lbl_289"); // NOI18N
javax.swing.GroupLayout jPanel_289Layout = new javax.swing.GroupLayout(jPanel_289);
jPanel_289.setLayout(jPanel_289Layout);
jPanel_289Layout.setHorizontalGroup(
jPanel_289Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_289Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_289Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2091)
.addComponent(rad_2090)
.addComponent(rad_2089)
.addComponent(rad_2088)
.addComponent(rad_2087)
.addComponent(rad_2086)
.addComponent(rad_2085)
.addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_289))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_289Layout.setVerticalGroup(
jPanel_289Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_289Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_289)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2085)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2086)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2087)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2088)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2089)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2090)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2091)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_290.setName("290"); // NOI18N
jLabel9.setText("<html><b>1.3.4. ¿Recibes algún beneficio económico de esta persona?</b><br/>(selecciona una opción)</html>\n");
jLabel9.setName("1"); // NOI18N
rad_2092.setText("Sí");
rad_2092.setName("2092"); // NOI18N
rad_2092.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2092ActionPerformed(evt);
}
});
rad_2093.setText("No");
rad_2093.setName("2093"); // NOI18N
rad_2093.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2093ActionPerformed(evt);
}
});
jLabel_290.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_290.setForeground(new java.awt.Color(255, 51, 51));
jLabel_290.setText("* Esta pregunta es obligatoria.");
jLabel_290.setName("lbl_290"); // NOI18N
javax.swing.GroupLayout jPanel_290Layout = new javax.swing.GroupLayout(jPanel_290);
jPanel_290.setLayout(jPanel_290Layout);
jPanel_290Layout.setHorizontalGroup(
jPanel_290Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_290Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_290Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2093)
.addComponent(rad_2092)
.addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_290))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_290Layout.setVerticalGroup(
jPanel_290Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_290Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_290)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2092)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2093)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_291.setName("291"); // NOI18N
jLabel10.setText("<html><b>1.3.4.1. ¿Cuánto dinero en promedio recibes mensualmente<br/>de esta persona?</b><html>\n");
jLabel10.setName("1"); // NOI18N
txt_2094.setName("2094"); // NOI18N
txt_2094.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
txt_2094KeyTyped(evt);
}
});
jLabel84.setText("Dólares");
jLabel_291.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_291.setForeground(new java.awt.Color(255, 51, 51));
jLabel_291.setText("* Esta pregunta es obligatoria.");
jLabel_291.setName("lbl_291"); // NOI18N
javax.swing.GroupLayout jPanel_291Layout = new javax.swing.GroupLayout(jPanel_291);
jPanel_291.setLayout(jPanel_291Layout);
jPanel_291Layout.setHorizontalGroup(
jPanel_291Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_291Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_291Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(jPanel_291Layout.createSequentialGroup()
.addComponent(txt_2094, javax.swing.GroupLayout.PREFERRED_SIZE, 78, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel84))
.addComponent(jLabel_291))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_291Layout.setVerticalGroup(
jPanel_291Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_291Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_291)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel_291Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(txt_2094, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel84))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_292.setName("292"); // NOI18N
jLabel11.setText("<html><b>1.4. ¿Cómo se identifica tu padre según su cultura y costumbres?</b><br/>(selecciona una opción)</html>\n");
jLabel11.setName("1"); // NOI18N
rad_2095.setText("Indígena");
rad_2095.setName("2095"); // NOI18N
rad_2095.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2095ActionPerformed(evt);
}
});
rad_2096.setText("Mestizo");
rad_2096.setName("2096"); // NOI18N
rad_2096.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2096ActionPerformed(evt);
}
});
rad_2097.setText("Afroecuatoriano/afrodescendiente");
rad_2097.setName("2097"); // NOI18N
rad_2097.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2097ActionPerformed(evt);
}
});
rad_2098.setText("Negro");
rad_2098.setName("2098"); // NOI18N
rad_2098.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2098ActionPerformed(evt);
}
});
rad_2099.setText("Mulato");
rad_2099.setName("2099"); // NOI18N
rad_2099.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2099ActionPerformed(evt);
}
});
rad_2100.setText("Montuvio");
rad_2100.setName("2100"); // NOI18N
rad_2100.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2100ActionPerformed(evt);
}
});
rad_2101.setText("Blanco");
rad_2101.setName("2101"); // NOI18N
rad_2101.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2101ActionPerformed(evt);
}
});
rad_2102.setText("No conozco a mi padre");
rad_2102.setName("2102"); // NOI18N
rad_2102.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2102ActionPerformed(evt);
}
});
jLabel_292.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_292.setForeground(new java.awt.Color(255, 51, 51));
jLabel_292.setText("* Esta pregunta es obligatoria.");
jLabel_292.setName("lbl_292"); // NOI18N
javax.swing.GroupLayout jPanel_292Layout = new javax.swing.GroupLayout(jPanel_292);
jPanel_292.setLayout(jPanel_292Layout);
jPanel_292Layout.setHorizontalGroup(
jPanel_292Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_292Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_292Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2102)
.addComponent(rad_2101)
.addComponent(rad_2100)
.addComponent(rad_2099)
.addComponent(rad_2098)
.addComponent(rad_2097)
.addComponent(rad_2096)
.addComponent(rad_2095)
.addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_292))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_292Layout.setVerticalGroup(
jPanel_292Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_292Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_292)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2095)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2096)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2097)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2098)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2099)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2100)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2101)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2102)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_293.setName("293"); // NOI18N
jLabel12.setText("<html><b>1.4.1. ¿A cuál pueblo o nacionalidad pertenece?</b><br/>(selecciona una opción)</html>\n");
jLabel12.setName("1"); // NOI18N
rad_2103.setText("Awa");
rad_2103.setName("2103"); // NOI18N
rad_2104.setText("Achuar");
rad_2104.setName("2104"); // NOI18N
rad_2105.setText("Chachi");
rad_2105.setName("2105"); // NOI18N
rad_2106.setText("Cofan");
rad_2106.setName("2106"); // NOI18N
rad_2107.setText("Epera");
rad_2107.setName("2107"); // NOI18N
rad_2108.setText("Siona");
rad_2108.setName("2108"); // NOI18N
rad_2109.setText("Secoya");
rad_2109.setName("2109"); // NOI18N
rad_2110.setText("Shiwiar");
rad_2110.setName("2110"); // NOI18N
rad_2111.setText("Shuar");
rad_2111.setName("2111"); // NOI18N
rad_2112.setText("Tsachila");
rad_2112.setName("2112"); // NOI18N
rad_2113.setText("Waorani");
rad_2113.setName("2113"); // NOI18N
rad_2114.setText("Zapara");
rad_2114.setName("2114"); // NOI18N
rad_2115.setText("Andoa");
rad_2115.setName("2115"); // NOI18N
rad_2116.setText("Kichwa amazonia");
rad_2116.setName("2116"); // NOI18N
rad_2117.setText("Kichwa de la sierra");
rad_2117.setName("2117"); // NOI18N
jLabel13.setText("Pueblos");
rad_2118.setText("Pastos");
rad_2118.setName("2118"); // NOI18N
rad_2119.setText("Natabuela");
rad_2119.setName("2119"); // NOI18N
rad_2120.setText("Otavalo");
rad_2120.setName("2120"); // NOI18N
rad_2121.setText("Karanki");
rad_2121.setName("2121"); // NOI18N
rad_2122.setText("Kayambi");
rad_2122.setName("2122"); // NOI18N
rad_2123.setText("Kitukara");
rad_2123.setName("2123"); // NOI18N
rad_2124.setText("Panzaleo");
rad_2124.setName("2124"); // NOI18N
rad_2125.setText("Chibuleo");
rad_2125.setName("2125"); // NOI18N
rad_2126.setText("Salasaka");
rad_2126.setName("2126"); // NOI18N
rad_2127.setText("Kisapincha");
rad_2127.setName("2127"); // NOI18N
rad_2128.setText("Tomabela");
rad_2128.setName("2128"); // NOI18N
rad_2129.setText("Waranka");
rad_2129.setName("2129"); // NOI18N
rad_2130.setText("Puruhá");
rad_2130.setName("2130"); // NOI18N
jLabel14.setText("Nacionalidades");
jSeparator1.setOrientation(javax.swing.SwingConstants.VERTICAL);
jLabel_293.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_293.setForeground(new java.awt.Color(255, 51, 51));
jLabel_293.setText("* Esta pregunta es obligatoria.");
jLabel_293.setName("lbl_293"); // NOI18N
rad_3089.setText("Kañari");
rad_3089.setName("3089"); // NOI18N
rad_3090.setText("Saraguro");
rad_3090.setName("3090"); // NOI18N
rad_3091.setText("Paltas");
rad_3091.setName("3091"); // NOI18N
rad_3092.setText("Pueblo Manta");
rad_3092.setName("3092"); // NOI18N
rad_3093.setText("Pueblo Huancavilca");
rad_3093.setName("3093"); // NOI18N
javax.swing.GroupLayout jPanel_293Layout = new javax.swing.GroupLayout(jPanel_293);
jPanel_293.setLayout(jPanel_293Layout);
jPanel_293Layout.setHorizontalGroup(
jPanel_293Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_293Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addGroup(jPanel_293Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_293, javax.swing.GroupLayout.PREFERRED_SIZE, 300, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(jPanel_293Layout.createSequentialGroup()
.addGroup(jPanel_293Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_293Layout.createSequentialGroup()
.addGroup(jPanel_293Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2103)
.addComponent(rad_2117)
.addComponent(rad_2105)
.addComponent(rad_2106)
.addComponent(rad_2107)
.addComponent(rad_2108)
.addComponent(rad_2109)
.addComponent(rad_2110)
.addComponent(rad_2111)
.addComponent(rad_2112)
.addComponent(rad_2113)
.addComponent(rad_2114)
.addComponent(rad_2115)
.addComponent(rad_2116)
.addComponent(rad_2104))
.addGap(47, 47, 47)
.addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 11, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jLabel14))
.addGap(18, 18, 18)
.addGroup(jPanel_293Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel13)
.addComponent(rad_2120)
.addComponent(rad_2121)
.addComponent(rad_2122)
.addComponent(rad_2123)
.addComponent(rad_2124)
.addComponent(rad_2125)
.addComponent(rad_2126)
.addComponent(rad_2128)
.addComponent(rad_2129)
.addComponent(rad_2130)
.addComponent(rad_3089)
.addComponent(rad_3090)
.addComponent(rad_3091)
.addComponent(rad_3092)
.addComponent(rad_3093)
.addComponent(rad_2118)
.addComponent(rad_2119)
.addComponent(rad_2127))))
.addContainerGap(233, Short.MAX_VALUE))
);
jPanel_293Layout.setVerticalGroup(
jPanel_293Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_293Layout.createSequentialGroup()
.addComponent(jLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_293)
.addGroup(jPanel_293Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_293Layout.createSequentialGroup()
.addGap(21, 21, 21)
.addComponent(jSeparator1))
.addGroup(jPanel_293Layout.createSequentialGroup()
.addGroup(jPanel_293Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_293Layout.createSequentialGroup()
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(rad_2118))
.addGroup(jPanel_293Layout.createSequentialGroup()
.addGap(6, 6, 6)
.addGroup(jPanel_293Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel14)
.addComponent(jLabel13))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2103)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 1, Short.MAX_VALUE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jPanel_293Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_293Layout.createSequentialGroup()
.addComponent(rad_2119)
.addGap(2, 2, 2)
.addComponent(rad_2120)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2121)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2122)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2123)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2124)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2125)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2126)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2127)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2128)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2129)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2130)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3089)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3090)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3091)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3092))
.addGroup(jPanel_293Layout.createSequentialGroup()
.addComponent(rad_2104)
.addGap(3, 3, 3)
.addComponent(rad_2105)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2106)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2107)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2108)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2109)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2110)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2111)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2112)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2113)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2114)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2115)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2116)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2117)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3093)
.addGap(10, 10, 10)))
.addGap(0, 0, 0))
);
jPanel_294.setName("294"); // NOI18N
jLabel15.setText("<html><b>1.5. ¿Cómo se identifica tu madre según su cultura y costumbres ?</b><br/>(selecciona una opción)</html>\n");
jLabel15.setName("1"); // NOI18N
rad_2131.setText("Indígena");
rad_2131.setName("2131"); // NOI18N
rad_2131.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2131ActionPerformed(evt);
}
});
rad_2132.setText("Mestizo");
rad_2132.setName("2132"); // NOI18N
rad_2132.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2132ActionPerformed(evt);
}
});
rad_2133.setText("Afroecuatoriano/afrodescendiente");
rad_2133.setName("2133"); // NOI18N
rad_2133.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2133ActionPerformed(evt);
}
});
rad_2134.setText("Negro");
rad_2134.setName("2134"); // NOI18N
rad_2134.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2134ActionPerformed(evt);
}
});
rad_2135.setText("Mulato");
rad_2135.setName("2135"); // NOI18N
rad_2135.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2135ActionPerformed(evt);
}
});
rad_2136.setText("Montuvio");
rad_2136.setName("2136"); // NOI18N
rad_2136.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2136ActionPerformed(evt);
}
});
rad_2137.setText("Blanco");
rad_2137.setName("2137"); // NOI18N
rad_2137.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2137ActionPerformed(evt);
}
});
rad_2138.setText("No conozco a mi madre");
rad_2138.setName("2138"); // NOI18N
rad_2138.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2138ActionPerformed(evt);
}
});
jLabel_294.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_294.setForeground(new java.awt.Color(255, 51, 51));
jLabel_294.setText("* Esta pregunta es obligatoria.");
jLabel_294.setName("lbl_294"); // NOI18N
javax.swing.GroupLayout jPanel_294Layout = new javax.swing.GroupLayout(jPanel_294);
jPanel_294.setLayout(jPanel_294Layout);
jPanel_294Layout.setHorizontalGroup(
jPanel_294Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_294Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_294Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2138)
.addComponent(rad_2137)
.addComponent(rad_2136)
.addComponent(rad_2135)
.addComponent(rad_2134)
.addComponent(rad_2133)
.addComponent(rad_2132)
.addComponent(rad_2131)
.addComponent(jLabel15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_294))
.addContainerGap(13, Short.MAX_VALUE))
);
jPanel_294Layout.setVerticalGroup(
jPanel_294Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_294Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_294)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2131)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2132)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2133)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2134)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2135)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2136)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2137)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2138)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_295.setName("295"); // NOI18N
jLabel16.setText("Nacionalidades");
rad_2153.setText("Kichwa de la sierra");
rad_2153.setName("2153"); // NOI18N
rad_2152.setText("Kichwa amazonia");
rad_2152.setName("2152"); // NOI18N
rad_2152.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2152ActionPerformed(evt);
}
});
jSeparator2.setOrientation(javax.swing.SwingConstants.VERTICAL);
rad_2151.setText("Andoa");
rad_2151.setName("2151"); // NOI18N
rad_2165.setText("Waranka");
rad_2165.setName("2165"); // NOI18N
rad_2164.setText("Tomabela");
rad_2164.setName("2164"); // NOI18N
jLabel17.setText("Pueblos");
rad_2166.setText("Puruhá");
rad_2166.setName("2166"); // NOI18N
rad_2145.setText("Secoya");
rad_2145.setName("2145"); // NOI18N
rad_2146.setText("Shiwiar");
rad_2146.setName("2146"); // NOI18N
rad_2149.setText("Waorani");
rad_2149.setName("2149"); // NOI18N
rad_2150.setText("Zapara");
rad_2150.setName("2150"); // NOI18N
rad_2147.setText("Shuar");
rad_2147.setName("2147"); // NOI18N
rad_2148.setText("Tsachila");
rad_2148.setName("2148"); // NOI18N
rad_2162.setText("Salasaka");
rad_2162.setName("2162"); // NOI18N
rad_2161.setText("Chibuleo");
rad_2161.setName("2161"); // NOI18N
rad_2144.setText("Siona");
rad_2144.setName("2144"); // NOI18N
rad_2163.setText("Kisapincha");
rad_2163.setName("2163"); // NOI18N
rad_2141.setText("Chachi");
rad_2141.setName("2141"); // NOI18N
rad_2140.setText("Achuar");
rad_2140.setName("2140"); // NOI18N
rad_2143.setText("Epera");
rad_2143.setName("2143"); // NOI18N
rad_2142.setText("Cofan");
rad_2142.setName("2142"); // NOI18N
rad_2154.setText("Pastos");
rad_2154.setName("2154"); // NOI18N
jLabel18.setText("<html><b>1.5.1. ¿A cuál pueblo o nacionalidad pertenece?</b><br/>(selecciona una opción)</html>\n");
jLabel18.setName("1"); // NOI18N
rad_2155.setText("Natabuela");
rad_2155.setName("2155"); // NOI18N
rad_2139.setText("Awa");
rad_2139.setName("2139"); // NOI18N
rad_2156.setText("Otavalo");
rad_2156.setName("2156"); // NOI18N
rad_2157.setText("Karanki");
rad_2157.setName("2157"); // NOI18N
rad_2158.setText("Kayambi");
rad_2158.setName("2158"); // NOI18N
rad_2159.setText("Kitukara");
rad_2159.setName("2159"); // NOI18N
rad_2160.setText("Panzaleo");
rad_2160.setName("2160"); // NOI18N
jLabel_295.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_295.setForeground(new java.awt.Color(255, 51, 51));
jLabel_295.setText("* Esta pregunta es obligatoria.");
jLabel_295.setName("lbl_295"); // NOI18N
rad_3094.setText("Kañari");
rad_3094.setName("3094"); // NOI18N
rad_3095.setText("Saraguro");
rad_3095.setName("3095"); // NOI18N
rad_3096.setText("Paltas");
rad_3096.setName("3096"); // NOI18N
rad_3097.setText("Pueblo Manta");
rad_3097.setName("3097"); // NOI18N
rad_3098.setText("Pueblo Huancavilca");
rad_3098.setName("3098"); // NOI18N
javax.swing.GroupLayout jPanel_295Layout = new javax.swing.GroupLayout(jPanel_295);
jPanel_295.setLayout(jPanel_295Layout);
jPanel_295Layout.setHorizontalGroup(
jPanel_295Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_295Layout.createSequentialGroup()
.addGroup(jPanel_295Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_295Layout.createSequentialGroup()
.addGroup(jPanel_295Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_295Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel16)
.addGap(83, 83, 83))
.addGroup(jPanel_295Layout.createSequentialGroup()
.addGroup(jPanel_295Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2139)
.addComponent(rad_2152)
.addComponent(rad_2141)
.addComponent(rad_2142)
.addComponent(rad_2143)
.addComponent(rad_2144)
.addComponent(rad_2145)
.addComponent(rad_2146)
.addComponent(rad_2147)
.addComponent(rad_2148)
.addComponent(rad_2149)
.addComponent(rad_2150)
.addComponent(rad_2151)
.addComponent(rad_2153)
.addComponent(rad_2140))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 44, Short.MAX_VALUE)
.addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 11, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(28, 28, 28)))
.addGroup(jPanel_295Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2156)
.addComponent(rad_2157)
.addComponent(rad_2158)
.addComponent(rad_2159)
.addComponent(rad_2160)
.addComponent(rad_2161)
.addComponent(rad_2162)
.addComponent(rad_2164)
.addComponent(rad_2165)
.addComponent(rad_2166)
.addComponent(rad_3094)
.addComponent(rad_3095)
.addComponent(rad_3096)
.addComponent(rad_3097)
.addComponent(rad_3098)
.addComponent(rad_2154)
.addComponent(jLabel17)
.addComponent(rad_2155)
.addComponent(rad_2163)))
.addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_295, javax.swing.GroupLayout.PREFERRED_SIZE, 300, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(122, Short.MAX_VALUE))
);
jPanel_295Layout.setVerticalGroup(
jPanel_295Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_295Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_295)
.addGap(0, 0, 0)
.addGroup(jPanel_295Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_295Layout.createSequentialGroup()
.addComponent(jLabel17)
.addGap(5, 5, 5)
.addGroup(jPanel_295Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_295Layout.createSequentialGroup()
.addComponent(rad_2154)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2155)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2156)
.addGap(0, 0, 0)
.addComponent(rad_2157)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2158)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2159)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2160)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2161)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2162)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2163)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2164)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2165)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2166)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3094)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3095)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3096)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3097)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3098))
.addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 397, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(jPanel_295Layout.createSequentialGroup()
.addComponent(jLabel16)
.addGap(5, 5, 5)
.addComponent(rad_2139)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2140)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2141)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2142)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2143)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2144)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2145)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2146)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2147)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2148)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2149)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2150)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2151)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2152)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2153)))
.addGap(10, 10, 10))
);
jPanel_296.setName("296"); // NOI18N
jLabel21.setText("<html><b>1.6. ¿Qué idioma habla como lengua principal tu padre?</b><br/>(selecciona una opción)</html>\n");
jLabel21.setName("1"); // NOI18N
rad_2167.setText("Español");
rad_2167.setName("2167"); // NOI18N
rad_2167.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2167ActionPerformed(evt);
}
});
rad_2168.setText("Lengua indígena");
rad_2168.setName("2168"); // NOI18N
rad_2168.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2168ActionPerformed(evt);
}
});
rad_2169.setText("Lengua extranjera");
rad_2169.setName("2169"); // NOI18N
rad_2169.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2169ActionPerformed(evt);
}
});
rad_2170.setText("No habla (lenguaje de señas)");
rad_2170.setName("2170"); // NOI18N
rad_2170.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2170ActionPerformed(evt);
}
});
jLabel_296.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_296.setForeground(new java.awt.Color(255, 51, 51));
jLabel_296.setText("* Esta pregunta es obligatoria.");
jLabel_296.setName("lbl_296"); // NOI18N
javax.swing.GroupLayout jPanel_296Layout = new javax.swing.GroupLayout(jPanel_296);
jPanel_296.setLayout(jPanel_296Layout);
jPanel_296Layout.setHorizontalGroup(
jPanel_296Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_296Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_296Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2170)
.addComponent(rad_2169)
.addComponent(rad_2168)
.addComponent(rad_2167)
.addComponent(jLabel21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_296))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_296Layout.setVerticalGroup(
jPanel_296Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_296Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_296)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2167)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2168)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2169)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2170)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_297.setName("297"); // NOI18N
jLabel22.setText("<html><b>1.7. ¿Qué idioma habla como lengua principal tu madre?</b><br/>(selecciona una opción)</html>\n");
jLabel22.setName("1"); // NOI18N
rad_2171.setText("Español");
rad_2171.setName("2171"); // NOI18N
rad_2171.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2171ActionPerformed(evt);
}
});
rad_2172.setText("Lengua indígena");
rad_2172.setName("2172"); // NOI18N
rad_2172.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2172ActionPerformed(evt);
}
});
rad_2173.setText("Lengua extranjera");
rad_2173.setName("2173"); // NOI18N
rad_2173.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2173ActionPerformed(evt);
}
});
rad_2174.setText("No habla (lenguaje de señas)");
rad_2174.setName("2174"); // NOI18N
rad_2174.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2174ActionPerformed(evt);
}
});
jLabel_297.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_297.setForeground(new java.awt.Color(255, 51, 51));
jLabel_297.setText("* Esta pregunta es obligatoria.");
jLabel_297.setName("lbl_297"); // NOI18N
javax.swing.GroupLayout jPanel_297Layout = new javax.swing.GroupLayout(jPanel_297);
jPanel_297.setLayout(jPanel_297Layout);
jPanel_297Layout.setHorizontalGroup(
jPanel_297Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_297Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_297Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2174)
.addComponent(rad_2173)
.addComponent(rad_2172)
.addComponent(rad_2171)
.addComponent(jLabel22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_297))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_297Layout.setVerticalGroup(
jPanel_297Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_297Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_297)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2171)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2172)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2173)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2174)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_356.setName("356"); // NOI18N
jLabel42.setText("<html><b>1.6.1. ¿Cual es la lengua indígena de tu padre?</b><br/>(selecciona una opción)</html>\n");
jLabel42.setName("1"); // NOI18N
jLabel_356.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_356.setForeground(new java.awt.Color(255, 51, 51));
jLabel_356.setText("* Esta pregunta es obligatoria.");
jLabel_356.setName("lbl_356"); // NOI18N
jScrollPane8.setName("lista_356"); // NOI18N
jList_356.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
jList_356.setName("288"); // NOI18N
jList_356.setVisibleRowCount(20);
jScrollPane8.setViewportView(jList_356);
javax.swing.GroupLayout jPanel_356Layout = new javax.swing.GroupLayout(jPanel_356);
jPanel_356.setLayout(jPanel_356Layout);
jPanel_356Layout.setHorizontalGroup(
jPanel_356Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_356Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_356Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addComponent(jLabel42)
.addComponent(jLabel_356, javax.swing.GroupLayout.Alignment.LEADING))
.addContainerGap(273, Short.MAX_VALUE))
);
jPanel_356Layout.setVerticalGroup(
jPanel_356Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_356Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel42, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_356)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane8, javax.swing.GroupLayout.DEFAULT_SIZE, 106, Short.MAX_VALUE)
.addGap(7, 7, 7))
);
jPanel_360.setName("360"); // NOI18N
jLabel86.setText("<html><b>1.6.2. ¿Cual es la lengua extranjera de tu padre?</b><br/>(selecciona una opción)</html>\n");
jLabel86.setName("1"); // NOI18N
jLabel_360.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_360.setForeground(new java.awt.Color(255, 51, 51));
jLabel_360.setText("* Esta pregunta es obligatoria.");
jLabel_360.setName("lbl_360"); // NOI18N
jScrollPane9.setName("lista_360"); // NOI18N
jList_360.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
jList_360.setName("288"); // NOI18N
jList_360.setVisibleRowCount(20);
jScrollPane9.setViewportView(jList_360);
javax.swing.GroupLayout jPanel_360Layout = new javax.swing.GroupLayout(jPanel_360);
jPanel_360.setLayout(jPanel_360Layout);
jPanel_360Layout.setHorizontalGroup(
jPanel_360Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_360Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_360Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addComponent(jLabel86)
.addComponent(jLabel_360, javax.swing.GroupLayout.Alignment.LEADING))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_360Layout.setVerticalGroup(
jPanel_360Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_360Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel86, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_360)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, 204, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(7, 7, 7))
);
jPanel_358.setName("358"); // NOI18N
jLabel87.setText("<html><b>1.7.1. ¿Cual es la lengua indígena de tu madre?</b><br/>(selecciona una opción)</html>\n");
jLabel87.setName("1"); // NOI18N
jLabel_358.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_358.setForeground(new java.awt.Color(255, 51, 51));
jLabel_358.setText("* Esta pregunta es obligatoria.");
jLabel_358.setName("lbl_358"); // NOI18N
jScrollPane10.setName("lista_358"); // NOI18N
jList_358.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
jList_358.setName("358"); // NOI18N
jList_358.setVisibleRowCount(20);
jScrollPane10.setViewportView(jList_358);
javax.swing.GroupLayout jPanel_358Layout = new javax.swing.GroupLayout(jPanel_358);
jPanel_358.setLayout(jPanel_358Layout);
jPanel_358Layout.setHorizontalGroup(
jPanel_358Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_358Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_358Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(jScrollPane10)
.addComponent(jLabel87)
.addComponent(jLabel_358, javax.swing.GroupLayout.Alignment.LEADING))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_358Layout.setVerticalGroup(
jPanel_358Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_358Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel87, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_358)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane10, javax.swing.GroupLayout.PREFERRED_SIZE, 106, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(7, 7, 7))
);
jPanel_362.setName("362"); // NOI18N
jLabel88.setText("<html><b>1.7.2. ¿Cual es la lengua extranjera de tu madre?</b><br/>(selecciona una opción)</html>\n");
jLabel88.setName("1"); // NOI18N
jLabel_362.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_362.setForeground(new java.awt.Color(255, 51, 51));
jLabel_362.setText("* Esta pregunta es obligatoria.");
jLabel_362.setName("lbl_362"); // NOI18N
jScrollPane11.setName("lista_362"); // NOI18N
jList_362.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
jList_362.setName("362"); // NOI18N
jList_362.setVisibleRowCount(20);
jScrollPane11.setViewportView(jList_362);
javax.swing.GroupLayout jPanel_362Layout = new javax.swing.GroupLayout(jPanel_362);
jPanel_362.setLayout(jPanel_362Layout);
jPanel_362Layout.setHorizontalGroup(
jPanel_362Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_362Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_362Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(jScrollPane11)
.addComponent(jLabel88)
.addComponent(jLabel_362, javax.swing.GroupLayout.Alignment.LEADING))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_362Layout.setVerticalGroup(
jPanel_362Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_362Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel88, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_362)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane11, javax.swing.GroupLayout.PREFERRED_SIZE, 204, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(7, 7, 7))
);
jPanel_365.setName("365"); // NOI18N
jLabel90.setText("<html><b>1.3.2.2. ¿De qué país proviene?</b><br/>(selecciona una opción)</html>\n");
jLabel90.setName("1"); // NOI18N
jLabel_365.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_365.setForeground(new java.awt.Color(255, 51, 51));
jLabel_365.setText("* Esta pregunta es obligatoria.");
jLabel_365.setName("lbl_365"); // NOI18N
jScrollPane12.setName("lista_365"); // NOI18N
jList_365.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
jList_365.setName("365"); // NOI18N
jList_365.setVisibleRowCount(20);
jScrollPane12.setViewportView(jList_365);
javax.swing.GroupLayout jPanel_365Layout = new javax.swing.GroupLayout(jPanel_365);
jPanel_365.setLayout(jPanel_365Layout);
jPanel_365Layout.setHorizontalGroup(
jPanel_365Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_365Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_365Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_365Layout.createSequentialGroup()
.addComponent(jLabel_365)
.addGap(0, 0, Short.MAX_VALUE))
.addGroup(jPanel_365Layout.createSequentialGroup()
.addComponent(jScrollPane12)
.addGap(85, 85, 85))
.addGroup(jPanel_365Layout.createSequentialGroup()
.addComponent(jLabel90, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
);
jPanel_365Layout.setVerticalGroup(
jPanel_365Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_365Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel90, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_365)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane12, javax.swing.GroupLayout.PREFERRED_SIZE, 204, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(7, 7, 7))
);
javax.swing.GroupLayout jPanelSec_1Layout = new javax.swing.GroupLayout(jPanelSec_1);
jPanelSec_1.setLayout(jPanelSec_1Layout);
jPanelSec_1Layout.setHorizontalGroup(
jPanelSec_1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_1Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanelSec_1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(jPanel_295, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_294, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanelSec_1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(jPanel_358, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_291, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jPanel_290, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_289, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_288, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_287, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jPanel_286, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_285, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jPanel_284, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jPanel_282, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jPanel_283, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jPanel_296, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_297, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_356, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_360, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_362, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_293, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_292, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_365, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
.addGap(100, 100, 100))
);
jPanelSec_1Layout.setVerticalGroup(
jPanelSec_1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_1Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(jPanel_282, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_283, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_284, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_285, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_286, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_287, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_288, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_365, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_289, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_290, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_291, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_292, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_293, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_294, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPanel_295, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_296, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_356, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_360, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_297, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_358, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_362, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0))
);
jScrollPane1.setViewportView(jPanelSec_1);
jTabbedPane1.addTab("INFORMACIÓN FAMILIAR", jScrollPane1);
jScrollPane1.getAccessibleContext().setAccessibleParent(jTabbedPane1);
jPanel_298.setName("298"); // NOI18N
jLabel19.setText("<html><b>2.1. Indica las características de la vivienda en la que habitas.</b><br/>(selecciona una opción)</html>");
jLabel19.setName("1"); // NOI18N
rad_2175.setText("Suite de lujo");
rad_2175.setName("2175"); // NOI18N
rad_2175.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2175ActionPerformed(evt);
}
});
rad_2176.setText("Cuarto (s) en casa de inquilinato");
rad_2176.setName("2176"); // NOI18N
rad_2176.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2176ActionPerformed(evt);
}
});
rad_2177.setText("Departamento en casa o edificio");
rad_2177.setName("2177"); // NOI18N
rad_2177.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2177ActionPerformed(evt);
}
});
rad_2178.setText("Casa/Villa");
rad_2178.setName("2178"); // NOI18N
rad_2178.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2178ActionPerformed(evt);
}
});
rad_2179.setText("Mediagua");
rad_2179.setName("2179"); // NOI18N
rad_2179.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2179ActionPerformed(evt);
}
});
rad_2180.setText("Rancho");
rad_2180.setName("2180"); // NOI18N
rad_2180.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2180ActionPerformed(evt);
}
});
rad_2181.setText("Choza/Covacha/Otro");
rad_2181.setName("2181"); // NOI18N
rad_2181.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2181ActionPerformed(evt);
}
});
rad_2182.setText("Vivienda colectiva");
rad_2182.setName("2182"); // NOI18N
rad_2182.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2182ActionPerformed(evt);
}
});
jLabel_298.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_298.setForeground(new java.awt.Color(255, 51, 51));
jLabel_298.setText("* Esta pregunta es obligatoria.");
jLabel_298.setName("lbl_298"); // NOI18N
javax.swing.GroupLayout jPanel_298Layout = new javax.swing.GroupLayout(jPanel_298);
jPanel_298.setLayout(jPanel_298Layout);
jPanel_298Layout.setHorizontalGroup(
jPanel_298Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_298Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_298Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_298)
.addComponent(rad_2182)
.addComponent(rad_2181)
.addComponent(rad_2180)
.addComponent(rad_2179)
.addComponent(rad_2178)
.addComponent(rad_2177)
.addComponent(rad_2176)
.addComponent(rad_2175)
.addComponent(jLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_298Layout.setVerticalGroup(
jPanel_298Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_298Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(jLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_298)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2175)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2176)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2177)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2178)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2179)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2180)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2181)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2182)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_299.setName("299"); // NOI18N
jLabel25.setText("<html><b>2.1.1. ¿Qué tipo de vivienda colectiva?</b><br/>(selecciona una opción)</html>");
jLabel25.setName("1"); // NOI18N
rad_2183.setText("Hotel, pensión, residencial u hospital");
rad_2183.setName("2183"); // NOI18N
rad_2183.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2183ActionPerformed(evt);
}
});
rad_2184.setText("Cuartel Militar, Policial o Bomberos");
rad_2184.setName("2184"); // NOI18N
rad_2184.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2184ActionPerformed(evt);
}
});
rad_2185.setText("Centro de rehabilitación social/Cárcel");
rad_2185.setName("2185"); // NOI18N
rad_2185.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2185ActionPerformed(evt);
}
});
rad_2186.setText("Centro de acogida y protección para niños y niñas");
rad_2186.setName("2186"); // NOI18N
rad_2186.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2186ActionPerformed(evt);
}
});
rad_2187.setText("Hospital, clínica");
rad_2187.setName("2187"); // NOI18N
rad_2187.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2187ActionPerformed(evt);
}
});
rad_2188.setText("Convento o institución religiosa");
rad_2188.setName("2188"); // NOI18N
rad_2188.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2188ActionPerformed(evt);
}
});
rad_2189.setText("Orfanato");
rad_2189.setName("2189"); // NOI18N
rad_2189.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2189ActionPerformed(evt);
}
});
rad_2190.setText("Otra vivienda colectiva");
rad_2190.setName("2190"); // NOI18N
rad_2190.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2190ActionPerformed(evt);
}
});
jLabel_299.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_299.setForeground(new java.awt.Color(255, 51, 51));
jLabel_299.setText("* Esta pregunta es obligatoria.");
jLabel_299.setName("lbl_299"); // NOI18N
javax.swing.GroupLayout jPanel_299Layout = new javax.swing.GroupLayout(jPanel_299);
jPanel_299.setLayout(jPanel_299Layout);
jPanel_299Layout.setHorizontalGroup(
jPanel_299Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_299Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_299Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_299)
.addComponent(rad_2190)
.addComponent(rad_2189)
.addComponent(rad_2188)
.addComponent(rad_2187)
.addComponent(rad_2186)
.addComponent(rad_2185)
.addComponent(rad_2184)
.addComponent(rad_2183)
.addComponent(jLabel25, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_299Layout.setVerticalGroup(
jPanel_299Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_299Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel25, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_299)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2183)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2184)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2185)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2186)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2187)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2188)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2189)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2190)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_300.setName("300"); // NOI18N
jLabel26.setText("<html><b>2.2. Número de miembros de tu hogar incluyéndote a ti </b><br/>(Se les considera Miembros de Hogar a los residentes habituales presentes en el momento<br/>de la encuesta que viven permanentemente en el hogar, es decir que duermen la mayor<br/>parte del tiempo en tu hogar)</html>");
jLabel26.setName("1"); // NOI18N
txt_2191.setName("2191"); // NOI18N
txt_2191.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
txt_2191KeyTyped(evt);
}
});
jLabel27.setText("personas");
jLabel_300.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_300.setForeground(new java.awt.Color(255, 51, 51));
jLabel_300.setText("* Esta pregunta es obligatoria.");
jLabel_300.setName("lbl_300"); // NOI18N
javax.swing.GroupLayout jPanel_300Layout = new javax.swing.GroupLayout(jPanel_300);
jPanel_300.setLayout(jPanel_300Layout);
jPanel_300Layout.setHorizontalGroup(
jPanel_300Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_300Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_300Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_300)
.addComponent(jLabel26, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(jPanel_300Layout.createSequentialGroup()
.addComponent(txt_2191, javax.swing.GroupLayout.PREFERRED_SIZE, 61, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel27)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_300Layout.setVerticalGroup(
jPanel_300Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_300Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel26, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_300)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel_300Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(txt_2191, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel27))
.addGap(7, 7, 7))
);
jPanel_301.setName("301"); // NOI18N
jLabel28.setText("<html><b>2.3. Número de cuartos exclusivos para dormir que tiene la vivienda</b></html>");
jLabel28.setName("1"); // NOI18N
txt_2192.setName("2192"); // NOI18N
txt_2192.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
txt_2192KeyTyped(evt);
}
});
jLabel29.setText("cuartos");
jLabel_301.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_301.setForeground(new java.awt.Color(255, 51, 51));
jLabel_301.setText("* Esta pregunta es obligatoria.");
jLabel_301.setName("lbl_301"); // NOI18N
javax.swing.GroupLayout jPanel_301Layout = new javax.swing.GroupLayout(jPanel_301);
jPanel_301.setLayout(jPanel_301Layout);
jPanel_301Layout.setHorizontalGroup(
jPanel_301Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_301Layout.createSequentialGroup()
.addGroup(jPanel_301Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_301Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_301Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_301)
.addGroup(jPanel_301Layout.createSequentialGroup()
.addComponent(txt_2192, javax.swing.GroupLayout.PREFERRED_SIZE, 61, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel29))))
.addGroup(jPanel_301Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel28, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_301Layout.setVerticalGroup(
jPanel_301Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_301Layout.createSequentialGroup()
.addComponent(jLabel28, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_301)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel_301Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(txt_2192, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel29))
.addGap(7, 7, 7))
);
jPanel_302.setName("302"); // NOI18N
jLabel30.setText("<html><b>2.4. ¿Dónde está localizada tu vivienda?</b><br/>(selecciona una opción)</html>");
jLabel30.setName("1"); // NOI18N
rad_2193.setText("<html>área urbana (Es aquella en la cual se permiten usos urbanos y cuentan, o se hallan<br/>dentro del radio de servicio de infraestructura de: agua, luz eléctrica, aseo de calles<br/>y de otros de naturaleza semejante)</html>");
rad_2193.setName("2193"); // NOI18N
rad_2194.setText("<html>área rural (Es una extensión razonable de territorio conformada por localidades<br/>identificadas por un nombre donde se encuentra un asentamiento de viviendas las<br/>mismas que pueden estar dispersas o agrupadas)</html>");
rad_2194.setName("2194"); // NOI18N
jLabel_302.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_302.setForeground(new java.awt.Color(255, 51, 51));
jLabel_302.setText("* Esta pregunta es obligatoria.");
jLabel_302.setName("lbl_302"); // NOI18N
javax.swing.GroupLayout jPanel_302Layout = new javax.swing.GroupLayout(jPanel_302);
jPanel_302.setLayout(jPanel_302Layout);
jPanel_302Layout.setHorizontalGroup(
jPanel_302Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_302Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_302Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel30, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2193, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2194, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_302))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_302Layout.setVerticalGroup(
jPanel_302Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_302Layout.createSequentialGroup()
.addComponent(jLabel30, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_302)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2193, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2194, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_303.setName("303"); // NOI18N
jLabel31.setText("<html><b>2.5. Selecciona el material predominante de las paredes exteriores de la vivienda.</b><br/>(selecciona una opción)</html>");
jLabel31.setName("1"); // NOI18N
rad_2195.setText("Hormigón");
rad_2195.setName("2195"); // NOI18N
rad_2196.setText("Ladrillo o bloque");
rad_2196.setName("2196"); // NOI18N
rad_2197.setText("Adobe o tapia");
rad_2197.setName("2197"); // NOI18N
rad_2198.setText("Caña revestida o bahareque/Madera");
rad_2198.setName("2198"); // NOI18N
rad_2199.setText("Caña no revestida/otros materiales");
rad_2199.setName("2199"); // NOI18N
jLabel_303.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_303.setForeground(new java.awt.Color(255, 51, 51));
jLabel_303.setText("* Esta pregunta es obligatoria.");
jLabel_303.setName("lbl_303"); // NOI18N
javax.swing.GroupLayout jPanel_303Layout = new javax.swing.GroupLayout(jPanel_303);
jPanel_303.setLayout(jPanel_303Layout);
jPanel_303Layout.setHorizontalGroup(
jPanel_303Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_303Layout.createSequentialGroup()
.addGroup(jPanel_303Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_303Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_303Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2198)
.addComponent(rad_2197)
.addComponent(rad_2196)
.addComponent(rad_2195)
.addComponent(jLabel31, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2199)))
.addGroup(jPanel_303Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_303)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_303Layout.setVerticalGroup(
jPanel_303Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_303Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel31, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_303)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2195)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2196)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2197)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(rad_2198)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(rad_2199)
.addContainerGap())
);
jPanel_304.setName("304"); // NOI18N
jLabel32.setText("<html><b>2.6. Selecciona el material predominante del piso de la vivienda.</b><br/>(selecciona una opción)</html>");
jLabel32.setName("1"); // NOI18N
rad_2200.setText("Duela, parquet, tablón o piso flotante");
rad_2200.setName("2200"); // NOI18N
rad_2201.setText("Cerámica, baldosa, vinil o marmetón ");
rad_2201.setName("2201"); // NOI18N
rad_2202.setText("Ladrillo o cemento");
rad_2202.setName("2202"); // NOI18N
rad_2203.setText("Tabla sin tratar ");
rad_2203.setName("2203"); // NOI18N
rad_2204.setText("Tierra/Caña/Otros materiales ");
rad_2204.setName("2204"); // NOI18N
jLabel_304.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_304.setForeground(new java.awt.Color(255, 51, 51));
jLabel_304.setText("* Esta pregunta es obligatoria.");
jLabel_304.setName("lbl_304"); // NOI18N
javax.swing.GroupLayout jPanel_304Layout = new javax.swing.GroupLayout(jPanel_304);
jPanel_304.setLayout(jPanel_304Layout);
jPanel_304Layout.setHorizontalGroup(
jPanel_304Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_304Layout.createSequentialGroup()
.addGroup(jPanel_304Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_304Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_304Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2203)
.addComponent(rad_2202)
.addComponent(rad_2201)
.addComponent(rad_2200)
.addComponent(jLabel32, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2204)))
.addGroup(jPanel_304Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_304)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_304Layout.setVerticalGroup(
jPanel_304Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_304Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel32, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_304)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2200)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2201)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2202)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(rad_2203)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(rad_2204)
.addContainerGap())
);
jPanel_305.setName("305"); // NOI18N
jLabel33.setText("<html><b>2.7. El tipo de servicio higiénico con que cuenta tu vivienda es: </b><br/>(selecciona una opción)</html>");
jLabel33.setName("1"); // NOI18N
rad_2205.setText("No tiene");
rad_2205.setName("2205"); // NOI18N
rad_2206.setText("Letrina");
rad_2206.setName("2206"); // NOI18N
rad_2207.setText("Con descarga directa al mar, río, lago o quebrada");
rad_2207.setName("2207"); // NOI18N
rad_2208.setText("Conectada a pozo ciego");
rad_2208.setName("2208"); // NOI18N
rad_2209.setText("Conectado a pozo séptico");
rad_2209.setName("2209"); // NOI18N
rad_2210.setText("Conectado a red pública del alcantarillado");
rad_2210.setName("2210"); // NOI18N
jLabel_305.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_305.setForeground(new java.awt.Color(255, 51, 51));
jLabel_305.setText("* Esta pregunta es obligatoria.");
jLabel_305.setName("lbl_305"); // NOI18N
javax.swing.GroupLayout jPanel_305Layout = new javax.swing.GroupLayout(jPanel_305);
jPanel_305.setLayout(jPanel_305Layout);
jPanel_305Layout.setHorizontalGroup(
jPanel_305Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_305Layout.createSequentialGroup()
.addGroup(jPanel_305Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_305Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_305Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2208)
.addComponent(rad_2207)
.addComponent(rad_2206)
.addComponent(rad_2205)
.addComponent(jLabel33, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2209)
.addComponent(rad_2210)))
.addGroup(jPanel_305Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_305)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_305Layout.setVerticalGroup(
jPanel_305Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_305Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel33, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_305)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2205)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2206)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2207)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(rad_2208)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(rad_2209)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(rad_2210)
.addContainerGap())
);
jPanel_306.setName("306"); // NOI18N
jLabel34.setText("<html><b>2.8. ¿Cuántos cuartos de baño con ducha de uso exclusivo tiene tu hogar?</b><br/>(selecciona una opción)</html>");
jLabel34.setName("1"); // NOI18N
rad_2211.setText("No tiene cuarto de baño exclusivo con ducha en el hogar");
rad_2211.setName("2211"); // NOI18N
rad_2212.setText("Tiene 1 cuarto de baño exclusivo con ducha");
rad_2212.setName("2212"); // NOI18N
rad_2213.setText("Tiene 2 cuartos de baño exclusivos con ducha");
rad_2213.setName("2213"); // NOI18N
rad_2214.setText("Tiene 3 o más cuartos de baño exclusivos con ducha");
rad_2214.setName("2214"); // NOI18N
jLabel_306.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_306.setForeground(new java.awt.Color(255, 51, 51));
jLabel_306.setText("* Esta pregunta es obligatoria.");
jLabel_306.setName("lbl_306"); // NOI18N
javax.swing.GroupLayout jPanel_306Layout = new javax.swing.GroupLayout(jPanel_306);
jPanel_306.setLayout(jPanel_306Layout);
jPanel_306Layout.setHorizontalGroup(
jPanel_306Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_306Layout.createSequentialGroup()
.addGroup(jPanel_306Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_306Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_306Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2214)
.addComponent(rad_2213)
.addComponent(rad_2212)
.addComponent(rad_2211)
.addComponent(jLabel34, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(jPanel_306Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_306)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_306Layout.setVerticalGroup(
jPanel_306Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_306Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel34, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_306)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2211)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2212)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2213)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2214)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
javax.swing.GroupLayout jPanelSec_2Layout = new javax.swing.GroupLayout(jPanelSec_2);
jPanelSec_2.setLayout(jPanelSec_2Layout);
jPanelSec_2Layout.setHorizontalGroup(
jPanelSec_2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_2Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanelSec_2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jPanel_301, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_303, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_304, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_305, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_306, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_302, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_298, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_299, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_300, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(100, 100, 100))
);
jPanelSec_2Layout.setVerticalGroup(
jPanelSec_2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_2Layout.createSequentialGroup()
.addComponent(jPanel_298, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_299, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_300, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_301, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_302, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGap(0, 0, 0)
.addComponent(jPanel_303, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGap(0, 0, 0)
.addComponent(jPanel_304, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGap(0, 0, 0)
.addComponent(jPanel_305, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGap(0, 0, 0)
.addComponent(jPanel_306, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGap(0, 0, 0))
);
jScrollPane2.setViewportView(jPanelSec_2);
jTabbedPane1.addTab("TIPOLOGÍA DE LA VIVIENDA", jScrollPane2);
jPanel_307.setName("307"); // NOI18N
jLabel35.setText("<html><b>3.1. ¿Quién es el jefe/a de tu hogar?</b><br/>(selecciona una opción)</html>");
jLabel35.setName("1"); // NOI18N
rad_2215.setText("Padre");
rad_2215.setName("2215"); // NOI18N
rad_2216.setText("Madre");
rad_2216.setName("2216"); // NOI18N
rad_2217.setText("Hermanas/os");
rad_2217.setName("2217"); // NOI18N
rad_2218.setText("Abuelas/os");
rad_2218.setName("2218"); // NOI18N
rad_2219.setText("Hija/o");
rad_2219.setName("2219"); // NOI18N
rad_2220.setText("Cónyuge o conviviente");
rad_2220.setName("2220"); // NOI18N
rad_2221.setText("Otro");
rad_2221.setName("2221"); // NOI18N
jLabel_307.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_307.setForeground(new java.awt.Color(255, 51, 51));
jLabel_307.setText("* Esta pregunta es obligatoria.");
jLabel_307.setName("lbl_307"); // NOI18N
rad_3105.setText("Yo");
rad_3105.setName("3105"); // NOI18N
javax.swing.GroupLayout jPanel_307Layout = new javax.swing.GroupLayout(jPanel_307);
jPanel_307.setLayout(jPanel_307Layout);
jPanel_307Layout.setHorizontalGroup(
jPanel_307Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_307Layout.createSequentialGroup()
.addGroup(jPanel_307Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_307Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_307Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2218)
.addComponent(rad_2217)
.addComponent(rad_2216)
.addComponent(rad_2215)
.addComponent(jLabel35, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2219)
.addComponent(rad_2220)
.addComponent(rad_2221)
.addComponent(rad_3105)))
.addGroup(jPanel_307Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_307)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_307Layout.setVerticalGroup(
jPanel_307Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_307Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(jLabel35, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_307)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2215)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2216)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2217)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2218)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2219)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2220)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2221)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3105)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_308.setName("308"); // NOI18N
jLabel36.setText("<html><b>3.2. ¿Cuál es el nivel de instrucción del jefe/a de tu hogar?</b><br/>(selecciona una opción)</html>");
jLabel36.setName("1"); // NOI18N
rad_2222.setText("Sin estudios");
rad_2222.setName("2222"); // NOI18N
rad_2223.setText("Primaria incompleta ");
rad_2223.setName("2223"); // NOI18N
rad_2224.setText("Primaria completa ");
rad_2224.setName("2224"); // NOI18N
rad_2225.setText("Secundaria incompleta ");
rad_2225.setName("2225"); // NOI18N
rad_2226.setText("Secundaria completa ");
rad_2226.setName("2226"); // NOI18N
rad_2227.setText("Hasta tres años de educación superior");
rad_2227.setName("2227"); // NOI18N
rad_2228.setText("4 o mas años de educación superior (sin post grado)");
rad_2228.setName("2228"); // NOI18N
rad_2229.setText("Postgrado");
rad_2229.setName("2229"); // NOI18N
jLabel_308.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_308.setForeground(new java.awt.Color(255, 51, 51));
jLabel_308.setText("* Esta pregunta es obligatoria.");
jLabel_308.setName("lbl_308"); // NOI18N
javax.swing.GroupLayout jPanel_308Layout = new javax.swing.GroupLayout(jPanel_308);
jPanel_308.setLayout(jPanel_308Layout);
jPanel_308Layout.setHorizontalGroup(
jPanel_308Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_308Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_308Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_308)
.addComponent(rad_2225)
.addComponent(rad_2224)
.addComponent(rad_2223)
.addComponent(rad_2222)
.addComponent(jLabel36, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2226)
.addComponent(rad_2227)
.addComponent(rad_2228)
.addComponent(rad_2229))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_308Layout.setVerticalGroup(
jPanel_308Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_308Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel36, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_308)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2222)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2223)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2224)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2225)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2226)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2227)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2228)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2229)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_309.setName("309"); // NOI18N
jLabel37.setText("<html><b>3.3. ¿Cuál es el nivel de instrucción de tu padre?</b><br/>(selecciona una opción)</html>");
jLabel37.setName("1"); // NOI18N
rad_2230.setText("Ninguno");
rad_2230.setName("2230"); // NOI18N
rad_2230.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2230ActionPerformed(evt);
}
});
rad_2231.setText("Centro de alfabetización/(EBA)");
rad_2231.setName("2231"); // NOI18N
rad_2231.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2231ActionPerformed(evt);
}
});
rad_2232.setText("Jardín de infante");
rad_2232.setName("2232"); // NOI18N
rad_2232.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2232ActionPerformed(evt);
}
});
rad_2233.setText("Primaria");
rad_2233.setName("2233"); // NOI18N
rad_2233.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2233ActionPerformed(evt);
}
});
rad_2234.setText("Educación básica");
rad_2234.setName("2234"); // NOI18N
rad_2234.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2234ActionPerformed(evt);
}
});
rad_2235.setText("Secundaria ");
rad_2235.setName("2235"); // NOI18N
rad_2235.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2235ActionPerformed(evt);
}
});
rad_2236.setText("Educación media/ bachillerato");
rad_2236.setName("2236"); // NOI18N
rad_2236.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2236ActionPerformed(evt);
}
});
rad_2237.setText("Superior no universitaria");
rad_2237.setName("2237"); // NOI18N
rad_2237.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2237ActionPerformed(evt);
}
});
rad_2238.setText("Superior universitaria");
rad_2238.setName("2238"); // NOI18N
rad_2238.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2238ActionPerformed(evt);
}
});
rad_2239.setText("Postgrado");
rad_2239.setName("2239"); // NOI18N
rad_2239.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2239ActionPerformed(evt);
}
});
jLabel_309.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_309.setForeground(new java.awt.Color(255, 51, 51));
jLabel_309.setText("* Esta pregunta es obligatoria.");
jLabel_309.setName("lbl_309"); // NOI18N
javax.swing.GroupLayout jPanel_309Layout = new javax.swing.GroupLayout(jPanel_309);
jPanel_309.setLayout(jPanel_309Layout);
jPanel_309Layout.setHorizontalGroup(
jPanel_309Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_309Layout.createSequentialGroup()
.addGroup(jPanel_309Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_309Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_309Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2233)
.addComponent(rad_2232)
.addComponent(rad_2231)
.addComponent(rad_2230)
.addComponent(jLabel37, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2234)
.addComponent(rad_2235)
.addComponent(rad_2236)
.addComponent(rad_2237)
.addComponent(rad_2238)
.addComponent(rad_2239)))
.addGroup(jPanel_309Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_309)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_309Layout.setVerticalGroup(
jPanel_309Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_309Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel37, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_309)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2230)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2231)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2232)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2233)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2234)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2235)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2236)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2237)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2238)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2239)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_310.setName("310"); // NOI18N
jLabel38.setText("<html><b>3.3.1. ¿Cuál es el año mas alto de estudios que aprobó?</b></html>");
jLabel38.setName("1"); // NOI18N
txt_2467.setName("2467"); // NOI18N
txt_2467.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
txt_2467KeyTyped(evt);
}
});
jLabel39.setText("Año(s)");
jLabel_310.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_310.setForeground(new java.awt.Color(255, 51, 51));
jLabel_310.setText("* Esta pregunta es obligatoria.");
jLabel_310.setName("lbl_310"); // NOI18N
javax.swing.GroupLayout jPanel_310Layout = new javax.swing.GroupLayout(jPanel_310);
jPanel_310.setLayout(jPanel_310Layout);
jPanel_310Layout.setHorizontalGroup(
jPanel_310Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_310Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_310Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel38, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_310)
.addGroup(jPanel_310Layout.createSequentialGroup()
.addComponent(txt_2467, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel39)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_310Layout.setVerticalGroup(
jPanel_310Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_310Layout.createSequentialGroup()
.addComponent(jLabel38, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_310)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel_310Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(txt_2467, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel39))
.addGap(7, 7, 7))
);
jPanel_311.setName("311"); // NOI18N
jLabel40.setText("<html><b>3.4. ¿Cuál es el nivel de instrucción de tu madre?</b><br/>(selecciona una opción)</html>");
jLabel40.setName("1"); // NOI18N
rad_2240.setText("Ninguno");
rad_2240.setName("2240"); // NOI18N
rad_2240.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2240ActionPerformed(evt);
}
});
rad_2241.setText("Centro de alfabetización/(EBA)");
rad_2241.setName("2241"); // NOI18N
rad_2241.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2241ActionPerformed(evt);
}
});
rad_2242.setText("Jardín de infante");
rad_2242.setName("2242"); // NOI18N
rad_2242.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2242ActionPerformed(evt);
}
});
rad_2243.setText("Primaria");
rad_2243.setName("2243"); // NOI18N
rad_2243.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2243ActionPerformed(evt);
}
});
rad_2244.setText("Educación básica");
rad_2244.setName("2244"); // NOI18N
rad_2244.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2244ActionPerformed(evt);
}
});
rad_2245.setText("Secundaria ");
rad_2245.setName("2245"); // NOI18N
rad_2245.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2245ActionPerformed(evt);
}
});
rad_2246.setText("Educación media/ bachillerato");
rad_2246.setName("2246"); // NOI18N
rad_2246.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2246ActionPerformed(evt);
}
});
rad_2247.setText("Superior no universitaria");
rad_2247.setName("2247"); // NOI18N
rad_2247.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2247ActionPerformed(evt);
}
});
rad_2248.setText("Superior universitaria");
rad_2248.setName("2248"); // NOI18N
rad_2248.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2248ActionPerformed(evt);
}
});
rad_2249.setText("Postgrado");
rad_2249.setName("2249"); // NOI18N
rad_2249.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2249ActionPerformed(evt);
}
});
jLabel_311.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_311.setForeground(new java.awt.Color(255, 51, 51));
jLabel_311.setText("* Esta pregunta es obligatoria.");
jLabel_311.setName("lbl_311"); // NOI18N
javax.swing.GroupLayout jPanel_311Layout = new javax.swing.GroupLayout(jPanel_311);
jPanel_311.setLayout(jPanel_311Layout);
jPanel_311Layout.setHorizontalGroup(
jPanel_311Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_311Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_311Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_311)
.addComponent(rad_2249)
.addComponent(rad_2248)
.addComponent(rad_2247)
.addComponent(rad_2246)
.addComponent(rad_2245)
.addComponent(rad_2244)
.addComponent(rad_2243)
.addComponent(rad_2242)
.addComponent(rad_2241)
.addComponent(rad_2240)
.addComponent(jLabel40, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_311Layout.setVerticalGroup(
jPanel_311Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_311Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel40, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_311)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2240)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2241)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2242)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2243)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2244)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2245)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2246)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2247)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2248)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2249)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_312.setName("312"); // NOI18N
jLabel41.setText("<html><b>3.4.1. ¿Cuál es el año mas alto de estudios que aprobó?</b></html>");
jLabel41.setName("1"); // NOI18N
txt_2250.setName("2250"); // NOI18N
txt_2250.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
txt_2250KeyTyped(evt);
}
});
jLabel_312.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_312.setForeground(new java.awt.Color(255, 51, 51));
jLabel_312.setText("* Esta pregunta es obligatoria.");
jLabel_312.setName("lbl_312"); // NOI18N
jLabel85.setText("Año(s)");
javax.swing.GroupLayout jPanel_312Layout = new javax.swing.GroupLayout(jPanel_312);
jPanel_312.setLayout(jPanel_312Layout);
jPanel_312Layout.setHorizontalGroup(
jPanel_312Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_312Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_312Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel41, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel_312)
.addGroup(jPanel_312Layout.createSequentialGroup()
.addComponent(txt_2250, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel85)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_312Layout.setVerticalGroup(
jPanel_312Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_312Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel41, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(2, 2, 2)
.addComponent(jLabel_312)
.addGap(0, 0, 0)
.addGroup(jPanel_312Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(txt_2250, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel85))
.addGap(6, 6, 6))
);
jPanel_313.setName("313"); // NOI18N
jLabel43.setText("<html><b>3.5. ¿Cuál es la principal ocupación del jefe de tu hogar?</b><br/>(selecciona una opción) </html>");
jLabel43.setName("1"); // NOI18N
rad_2251.setText("Personal Directivo de la administración publica y de empresas");
rad_2251.setName("2251"); // NOI18N
rad_2252.setText("Profesionales científicos e intelectuales");
rad_2252.setName("2252"); // NOI18N
rad_2253.setText("Técnicos y profesionales de nivel medio");
rad_2253.setName("2253"); // NOI18N
rad_2254.setText("Empleados de oficina");
rad_2254.setName("2254"); // NOI18N
rad_2255.setText("Trabajador de los servicios y comerciantes");
rad_2255.setName("2255"); // NOI18N
rad_2256.setText("Trabajador calificado agropecuario y pesquero");
rad_2256.setName("2256"); // NOI18N
rad_2257.setText("Oficiales operarios y artesanos");
rad_2257.setName("2257"); // NOI18N
rad_2258.setText("Operadores de instalaciones y maquinas");
rad_2258.setName("2258"); // NOI18N
rad_2259.setText("Trabajadores no calificados");
rad_2259.setName("2259"); // NOI18N
rad_2260.setText("Fuerzas armadas");
rad_2260.setName("2260"); // NOI18N
rad_2261.setText("Desocupados");
rad_2261.setName("2261"); // NOI18N
rad_2262.setText("Inactivo (Jubilado)");
rad_2262.setName("2262"); // NOI18N
jLabel_313.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_313.setForeground(new java.awt.Color(255, 51, 51));
jLabel_313.setText("* Esta pregunta es obligatoria.");
jLabel_313.setName("lbl_313"); // NOI18N
javax.swing.GroupLayout jPanel_313Layout = new javax.swing.GroupLayout(jPanel_313);
jPanel_313.setLayout(jPanel_313Layout);
jPanel_313Layout.setHorizontalGroup(
jPanel_313Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_313Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_313Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_313)
.addComponent(rad_2252)
.addComponent(rad_2251)
.addComponent(jLabel43, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2253)
.addComponent(rad_2254)
.addComponent(rad_2255)
.addComponent(rad_2256)
.addComponent(rad_2257)
.addComponent(rad_2258)
.addComponent(rad_2259)
.addComponent(rad_2260)
.addComponent(rad_2261)
.addComponent(rad_2262))
.addGap(10, 10, 10))
);
jPanel_313Layout.setVerticalGroup(
jPanel_313Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_313Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel43, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_313)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2251)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2252)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2253)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2254)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2255)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2256)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2257)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2258)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2259)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2260)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2261)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2262)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_314.setName("314"); // NOI18N
jLabel44.setText("<html><b>3.6. ¿Cuál es la principal ocupación de tu padre?</b><br/>(selecciona una opción)</html>");
jLabel44.setName("1"); // NOI18N
rad_2263.setText("Empleado, obrero de gobierno o Estado");
rad_2263.setName("2263"); // NOI18N
rad_2264.setText("Empleado/obrero privado");
rad_2264.setName("2264"); // NOI18N
rad_2265.setText("Empleado/obrero tercerizado");
rad_2265.setName("2265"); // NOI18N
rad_2266.setText("Jornalero o peón");
rad_2266.setName("2266"); // NOI18N
rad_2267.setText("Patrono");
rad_2267.setName("2267"); // NOI18N
rad_2268.setText("Cuenta propia ");
rad_2268.setName("2268"); // NOI18N
rad_2269.setText("Trabajador del hogar no remunerado");
rad_2269.setName("2269"); // NOI18N
rad_2270.setText("Trabajador del hogar no remunerado en otro hogar");
rad_2270.setName("2270"); // NOI18N
rad_2271.setText("Ayudante no remunerado de asalariado / jornalero");
rad_2271.setName("2271"); // NOI18N
rad_2272.setText("Empleado doméstico");
rad_2272.setName("2272"); // NOI18N
rad_2273.setText("Desocupado");
rad_2273.setName("2273"); // NOI18N
jLabel_314.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_314.setForeground(new java.awt.Color(255, 51, 51));
jLabel_314.setText("* Esta pregunta es obligatoria.");
jLabel_314.setName("lbl_314"); // NOI18N
rad_3106.setText("Inactivo (Jubilado)");
rad_3106.setName("3106"); // NOI18N
javax.swing.GroupLayout jPanel_314Layout = new javax.swing.GroupLayout(jPanel_314);
jPanel_314.setLayout(jPanel_314Layout);
jPanel_314Layout.setHorizontalGroup(
jPanel_314Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_314Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_314Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_314)
.addComponent(rad_2264)
.addComponent(rad_2263)
.addComponent(jLabel44, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2265)
.addComponent(rad_2266)
.addComponent(rad_2267)
.addComponent(rad_2268)
.addComponent(rad_2269)
.addComponent(rad_2270)
.addComponent(rad_2271)
.addComponent(rad_2272)
.addComponent(rad_2273)
.addComponent(rad_3106))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_314Layout.setVerticalGroup(
jPanel_314Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_314Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel44, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_314)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2263)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2264)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2265)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2266)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2267)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2268)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2269)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2270)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2271)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2272)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2273)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3106)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_315.setName("315"); // NOI18N
jLabel45.setText("<html><b>3.7. ¿Cuál es la principal ocupación de tu madre?</b><br/>(selecciona una opción)</html>");
jLabel45.setName("1"); // NOI18N
rad_2274.setText("Empleada, obrera de gobierno o Estado");
rad_2274.setName("2274"); // NOI18N
rad_2275.setText("Empleada/obrera privada");
rad_2275.setName("2275"); // NOI18N
rad_2276.setText("Empleada/obrera tercerizada");
rad_2276.setName("2276"); // NOI18N
rad_2277.setText("Jornalera o peón");
rad_2277.setName("2277"); // NOI18N
rad_2278.setText("Patrona");
rad_2278.setName("2278"); // NOI18N
rad_2279.setText("Cuenta propia ");
rad_2279.setName("2279"); // NOI18N
rad_2280.setText("Trabajadora del hogar no remunerada");
rad_2280.setName("2280"); // NOI18N
rad_2281.setText("Trabajadora del hogar no remunerada en otro hogar");
rad_2281.setName("2281"); // NOI18N
rad_2282.setText("Ayudante no remunerada de asalariada / jornalera");
rad_2282.setName("2282"); // NOI18N
rad_2283.setText("Empleada doméstico");
rad_2283.setName("2283"); // NOI18N
rad_2284.setText("Desocupada");
rad_2284.setName("2284"); // NOI18N
jLabel_315.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_315.setForeground(new java.awt.Color(255, 51, 51));
jLabel_315.setText("* Esta pregunta es obligatoria.");
jLabel_315.setName("lbl_315"); // NOI18N
rad_3107.setText("Inactiva (Jubilada)");
rad_3107.setName("3107"); // NOI18N
javax.swing.GroupLayout jPanel_315Layout = new javax.swing.GroupLayout(jPanel_315);
jPanel_315.setLayout(jPanel_315Layout);
jPanel_315Layout.setHorizontalGroup(
jPanel_315Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_315Layout.createSequentialGroup()
.addGroup(jPanel_315Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_315Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_315Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2275)
.addComponent(rad_2274)
.addComponent(jLabel45, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2276)
.addComponent(rad_2277)
.addComponent(rad_2278)
.addComponent(rad_2279)
.addComponent(rad_2280)
.addComponent(rad_2281)
.addComponent(rad_2282)
.addComponent(rad_2283)
.addComponent(rad_2284)
.addComponent(rad_3107)))
.addGroup(jPanel_315Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_315)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_315Layout.setVerticalGroup(
jPanel_315Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_315Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(jLabel45, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_315)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2274)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2275)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2276)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2277)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2278)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2279)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2280)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2281)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2282)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2283)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2284)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_3107)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_316.setName("316"); // NOI18N
jLabel46.setText("<html><b>3.8. Alguien en tu hogar está afiliado o cubierto por el seguro del IESS<br/> (general, voluntario o campesino) y/o seguro del ISSFA o ISSPOL.</b><br/>(selecciona una opción)</html>");
jLabel46.setName("1"); // NOI18N
rad_2285.setText("Sí");
rad_2285.setName("2285"); // NOI18N
rad_2286.setText("No");
rad_2286.setName("2286"); // NOI18N
jLabel_316.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_316.setForeground(new java.awt.Color(255, 51, 51));
jLabel_316.setText("* Esta pregunta es obligatoria.");
jLabel_316.setName("lbl_316"); // NOI18N
javax.swing.GroupLayout jPanel_316Layout = new javax.swing.GroupLayout(jPanel_316);
jPanel_316.setLayout(jPanel_316Layout);
jPanel_316Layout.setHorizontalGroup(
jPanel_316Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_316Layout.createSequentialGroup()
.addGroup(jPanel_316Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_316Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_316Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2286)
.addComponent(rad_2285)
.addComponent(jLabel46, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(jPanel_316Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_316)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_316Layout.setVerticalGroup(
jPanel_316Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_316Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel46, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_316)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2285)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2286)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jLabel46.getAccessibleContext().setAccessibleName("<html><b>3.8. Alguien en tu hogar está afiliado o cubierto por el seguro del IESS<br/> (general, voluntario o campesino) y/o seguro del ISSFA o ISSPOL.</b><br/>(selecciona una opción)</html>");
jPanel_317.setName("317"); // NOI18N
jLabel47.setText("<html><b>3.9. Alguien en tu hogar tiene seguro de salud privado con hospitalización,<br/>seguro de salud privada sin hospitalización, seguro internacional, seguros<br/>municipales y de Consejos Provinciales y/o seguro de vida?</b><br/>(selecciona una opción)</html>");
jLabel47.setName("1"); // NOI18N
rad_2287.setText("Sí");
rad_2287.setName("2287"); // NOI18N
rad_2288.setText("No");
rad_2288.setName("2288"); // NOI18N
jLabel_317.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_317.setForeground(new java.awt.Color(255, 51, 51));
jLabel_317.setText("* Esta pregunta es obligatoria.");
jLabel_317.setName("lbl_317"); // NOI18N
javax.swing.GroupLayout jPanel_317Layout = new javax.swing.GroupLayout(jPanel_317);
jPanel_317.setLayout(jPanel_317Layout);
jPanel_317Layout.setHorizontalGroup(
jPanel_317Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_317Layout.createSequentialGroup()
.addGroup(jPanel_317Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_317Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_317Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2288)
.addComponent(rad_2287)
.addComponent(jLabel47, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(jPanel_317Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_317)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_317Layout.setVerticalGroup(
jPanel_317Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_317Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel47, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_317)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2287)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2288)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_318.setName("318"); // NOI18N
jLabel48.setText("<html><b>3.10. Hábitos de consumo</b><br/>(selecciona la opción o las opciones que se adecuen a tu realidad)</html>");
jLabel48.setName("1"); // NOI18N
chk_2289.setText("En mi hogar compran vestimenta en centros comerciales");
chk_2289.setName("2289"); // NOI18N
chk_2290.setText("En mi hogar alguien ha usado internet durante los últimos 6 meses ");
chk_2290.setName("2290"); // NOI18N
chk_2291.setText("En mi hogar alguien utiliza correo electrónico que no sea del trabajo");
chk_2291.setName("2291"); // NOI18N
chk_2292.setText("En mi hogar alguien esta registrado en una red social");
chk_2292.setName("2292"); // NOI18N
chk_2293.setText("<html>En mi hogar alguien ha leído un libro completo en los últimos tres meses<br/>(exceptuar libros o manuales de estudio y lecturas de trabajo)</html>");
chk_2293.setName("2293"); // NOI18N
jLabel_318.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_318.setForeground(new java.awt.Color(255, 51, 51));
jLabel_318.setText("* Esta pregunta es obligatoria.");
jLabel_318.setName("lbl_318"); // NOI18N
chk_3108.setText("Ninguna de las anteriores");
chk_3108.setName("3108"); // NOI18N
chk_3108.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_3108ActionPerformed(evt);
}
});
javax.swing.GroupLayout jPanel_318Layout = new javax.swing.GroupLayout(jPanel_318);
jPanel_318.setLayout(jPanel_318Layout);
jPanel_318Layout.setHorizontalGroup(
jPanel_318Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_318Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_318Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(chk_2293)
.addGroup(jPanel_318Layout.createSequentialGroup()
.addGroup(jPanel_318Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_318)
.addComponent(chk_2289)
.addComponent(jLabel48, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(chk_2290)
.addComponent(chk_2291)
.addComponent(chk_2292))
.addGap(0, 0, Short.MAX_VALUE))
.addComponent(chk_3108, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addContainerGap())
);
jPanel_318Layout.setVerticalGroup(
jPanel_318Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_318Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel48, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_318)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(chk_2289)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2290)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2291)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2292)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2293, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_3108)
.addGap(6, 6, 6))
);
jPanel_319.setName("319"); // NOI18N
jLabel49.setText("<html><b>3.11. ¿Alguien depende económicamente de ti?</b><br/>(selecciona una opción)</html>");
jLabel49.setName("1"); // NOI18N
rad_2294.setText("Sí");
rad_2294.setName("2294"); // NOI18N
rad_2294.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2294ActionPerformed(evt);
}
});
rad_2295.setText("No");
rad_2295.setName("2295"); // NOI18N
rad_2295.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2295ActionPerformed(evt);
}
});
jLabel_319.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_319.setForeground(new java.awt.Color(255, 51, 51));
jLabel_319.setText("* Esta pregunta es obligatoria.");
jLabel_319.setName("lbl_319"); // NOI18N
javax.swing.GroupLayout jPanel_319Layout = new javax.swing.GroupLayout(jPanel_319);
jPanel_319.setLayout(jPanel_319Layout);
jPanel_319Layout.setHorizontalGroup(
jPanel_319Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_319Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_319Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_319)
.addComponent(rad_2295)
.addComponent(rad_2294)
.addComponent(jLabel49, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_319Layout.setVerticalGroup(
jPanel_319Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_319Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel49, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_319)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2294)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2295)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_320.setName("320"); // NOI18N
jLabel50.setText("<html><b>3.11.1. ¿Quién depende económicamente de ti?</b><br/>(selección múltiple)</html>");
jLabel50.setName("1"); // NOI18N
chk_2296.setText("Padre");
chk_2296.setName("2296"); // NOI18N
chk_2297.setText("Madre ");
chk_2297.setName("2297"); // NOI18N
chk_2298.setText("Hermanas/os");
chk_2298.setName("2298"); // NOI18N
chk_2299.setText("Abuelas/os");
chk_2299.setName("2299"); // NOI18N
chk_2300.setText("Hija/o");
chk_2300.setName("2300"); // NOI18N
chk_2301.setText("Cónyuge o conviviente");
chk_2301.setName("2301"); // NOI18N
chk_2302.setText("Otro");
chk_2302.setName("2302"); // NOI18N
jLabel_320.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_320.setForeground(new java.awt.Color(255, 51, 51));
jLabel_320.setText("* Esta pregunta es obligatoria.");
jLabel_320.setName("lbl_320"); // NOI18N
javax.swing.GroupLayout jPanel_320Layout = new javax.swing.GroupLayout(jPanel_320);
jPanel_320.setLayout(jPanel_320Layout);
jPanel_320Layout.setHorizontalGroup(
jPanel_320Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_320Layout.createSequentialGroup()
.addGroup(jPanel_320Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_320Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_320Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(chk_2296)
.addComponent(jLabel50, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(chk_2297)
.addComponent(chk_2298)
.addComponent(chk_2299)
.addComponent(chk_2300)
.addComponent(chk_2301)
.addComponent(chk_2302)))
.addGroup(jPanel_320Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_320)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_320Layout.setVerticalGroup(
jPanel_320Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_320Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel50, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_320)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(chk_2296)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2297)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2298)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2299)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2300)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2301)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2302)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_321.setName("321"); // NOI18N
jLabel51.setText("<html><b>3.12. ¿Cuántos libros, sin tomar en cuenta revistas<br/>y periódicos, existen en tu hogar aproximadamente?</b><br/>(selecciona una opción)</html>");
jLabel51.setName("1"); // NOI18N
rad_2303.setText("Ninguno ");
rad_2303.setName("2303"); // NOI18N
rad_2304.setText("1 - 25");
rad_2304.setName("2304"); // NOI18N
rad_2305.setText("26 - 50");
rad_2305.setName("2305"); // NOI18N
rad_2306.setText("51 - 75");
rad_2306.setName("2306"); // NOI18N
rad_2307.setText("76 -100");
rad_2307.setName("2307"); // NOI18N
rad_2308.setText("más de 100 ");
rad_2308.setName("2308"); // NOI18N
jLabel_321.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_321.setForeground(new java.awt.Color(255, 51, 51));
jLabel_321.setText("* Esta pregunta es obligatoria.");
jLabel_321.setName("lbl_321"); // NOI18N
javax.swing.GroupLayout jPanel_321Layout = new javax.swing.GroupLayout(jPanel_321);
jPanel_321.setLayout(jPanel_321Layout);
jPanel_321Layout.setHorizontalGroup(
jPanel_321Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_321Layout.createSequentialGroup()
.addGroup(jPanel_321Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_321Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_321Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2303)
.addComponent(jLabel51, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2304)
.addComponent(rad_2305)
.addComponent(rad_2306)
.addComponent(rad_2307)
.addComponent(rad_2308)))
.addGroup(jPanel_321Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_321)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_321Layout.setVerticalGroup(
jPanel_321Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_321Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel51, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_321)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2303)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2304)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2305)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2306)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2307)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2308)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_322.setName("322"); // NOI18N
jLabel52.setText("<html><b>3.13. ¿Cuál es la principal actividad cultural a la que asistes con frecuencia?</b><br/>(selecciona una opción)</html>");
jLabel52.setName("1"); // NOI18N
rad_2309.setText("Cine");
rad_2309.setName("2309"); // NOI18N
rad_2310.setText("Teatro/ teatro de la calle");
rad_2310.setName("2310"); // NOI18N
rad_2311.setText("Museo");
rad_2311.setName("2311"); // NOI18N
rad_2312.setText("Fiestas tradicionales");
rad_2312.setName("2312"); // NOI18N
rad_2313.setText("Conciertos");
rad_2313.setName("2313"); // NOI18N
rad_2314.setText("Visitas a comunidades ancestrales");
rad_2314.setName("2314"); // NOI18N
rad_2315.setText("Fiestas barriales");
rad_2315.setName("2315"); // NOI18N
rad_2316.setText("Juegos populares");
rad_2316.setName("2316"); // NOI18N
rad_2317.setText("Ferias");
rad_2317.setName("2317"); // NOI18N
jLabel_322.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_322.setForeground(new java.awt.Color(255, 51, 51));
jLabel_322.setText("* Esta pregunta es obligatoria.");
jLabel_322.setName("lbl_322"); // NOI18N
rad_3109.setText("Ninguna");
rad_3109.setName("3109"); // NOI18N
javax.swing.GroupLayout jPanel_322Layout = new javax.swing.GroupLayout(jPanel_322);
jPanel_322.setLayout(jPanel_322Layout);
jPanel_322Layout.setHorizontalGroup(
jPanel_322Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_322Layout.createSequentialGroup()
.addGroup(jPanel_322Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_322Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_322Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2309)
.addComponent(jLabel52, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2310)
.addComponent(rad_2311)
.addComponent(rad_2312)
.addComponent(rad_2313)
.addComponent(rad_2314)
.addComponent(rad_2315)
.addComponent(rad_2316)
.addComponent(rad_2317)
.addComponent(rad_3109)))
.addGroup(jPanel_322Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_322)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_322Layout.setVerticalGroup(
jPanel_322Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_322Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel52, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_322)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2309)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2310)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2311)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2312)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2313)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2314)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2315)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2316)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2317)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_3109)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_323.setName("323"); // NOI18N
jLabel53.setText("<html><b>3.14. ¿Has sido beneficiario/a de alguna beca para tus estudios de bachillerato?</b><br/>(selecciona una opción)</html>");
jLabel53.setName("1"); // NOI18N
rad_2318.setText("Sí");
rad_2318.setName("2318"); // NOI18N
rad_2318.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2318ActionPerformed(evt);
}
});
rad_2319.setText("No");
rad_2319.setName("2319"); // NOI18N
rad_2319.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2319ActionPerformed(evt);
}
});
jLabel_323.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_323.setForeground(new java.awt.Color(255, 51, 51));
jLabel_323.setText("* Esta pregunta es obligatoria.");
jLabel_323.setName("lbl_323"); // NOI18N
javax.swing.GroupLayout jPanel_323Layout = new javax.swing.GroupLayout(jPanel_323);
jPanel_323.setLayout(jPanel_323Layout);
jPanel_323Layout.setHorizontalGroup(
jPanel_323Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_323Layout.createSequentialGroup()
.addGroup(jPanel_323Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_323Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_323Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2318)
.addComponent(jLabel53, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2319)))
.addGroup(jPanel_323Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_323)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_323Layout.setVerticalGroup(
jPanel_323Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_323Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel53, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_323)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2318)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2319)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_324.setName("324"); // NOI18N
jLabel54.setText("<html><b>3.14.1. ¿Qué tipo de beca?</b><br/>(selecciona una opción)</html>");
jLabel54.setName("1"); // NOI18N
rad_2320.setText("Académica");
rad_2320.setName("2320"); // NOI18N
rad_2321.setText("Deportiva");
rad_2321.setName("2321"); // NOI18N
rad_2322.setText("Cultural");
rad_2322.setName("2322"); // NOI18N
rad_2323.setText("Discapacidad");
rad_2323.setName("2323"); // NOI18N
rad_2324.setText("Situación económica");
rad_2324.setName("2324"); // NOI18N
rad_2325.setText("Pueblos y nacionalidades");
rad_2325.setName("2325"); // NOI18N
rad_2326.setText("Hermanos");
rad_2326.setName("2326"); // NOI18N
rad_2327.setText("Otro");
rad_2327.setName("2327"); // NOI18N
jLabel_324.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_324.setForeground(new java.awt.Color(255, 51, 51));
jLabel_324.setText("* Esta pregunta es obligatoria.");
jLabel_324.setName("lbl_324"); // NOI18N
javax.swing.GroupLayout jPanel_324Layout = new javax.swing.GroupLayout(jPanel_324);
jPanel_324.setLayout(jPanel_324Layout);
jPanel_324Layout.setHorizontalGroup(
jPanel_324Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_324Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_324Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_324)
.addComponent(rad_2320)
.addComponent(jLabel54, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2321)
.addComponent(rad_2322)
.addComponent(rad_2323)
.addComponent(rad_2324)
.addComponent(rad_2325)
.addComponent(rad_2326)
.addComponent(rad_2327))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_324Layout.setVerticalGroup(
jPanel_324Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_324Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel54, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_324)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2320)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2321)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2322)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2323)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2324)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2325)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2326)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2327)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_325.setName("325"); // NOI18N
jLabel55.setText("<html><b>3.15. ¿Has sido abanderado/a de tu colegio?</b><br/>(selecciona una opción)</html>");
jLabel55.setName("1"); // NOI18N
rad_2328.setText("Sí");
rad_2328.setName("2328"); // NOI18N
rad_2329.setText("No");
rad_2329.setName("2329"); // NOI18N
jLabel_325.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_325.setForeground(new java.awt.Color(255, 51, 51));
jLabel_325.setText("* Esta pregunta es obligatoria.");
jLabel_325.setName("lbl_325"); // NOI18N
javax.swing.GroupLayout jPanel_325Layout = new javax.swing.GroupLayout(jPanel_325);
jPanel_325.setLayout(jPanel_325Layout);
jPanel_325Layout.setHorizontalGroup(
jPanel_325Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_325Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_325Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_325)
.addComponent(rad_2328)
.addComponent(jLabel55, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2329))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_325Layout.setVerticalGroup(
jPanel_325Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_325Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel55, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_325)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2328)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2329)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_326.setName("326"); // NOI18N
jLabel56.setText("<html><b>3.16. ¿Cuál ha sido tu promedio durante el bachillerato?</b><br/>(selecciona una opción)</html>");
jLabel56.setName("1"); // NOI18N
rad_2330.setText("Sobresaliente");
rad_2330.setName("2330"); // NOI18N
rad_2331.setText("Muy bueno");
rad_2331.setName("2331"); // NOI18N
rad_2332.setText("Bueno");
rad_2332.setName("2332"); // NOI18N
rad_2333.setText("Regular");
rad_2333.setName("2333"); // NOI18N
rad_2334.setText("Malo");
rad_2334.setName("2334"); // NOI18N
jLabel_326.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_326.setForeground(new java.awt.Color(255, 51, 51));
jLabel_326.setText("* Esta pregunta es obligatoria.");
jLabel_326.setName("lbl_326"); // NOI18N
javax.swing.GroupLayout jPanel_326Layout = new javax.swing.GroupLayout(jPanel_326);
jPanel_326.setLayout(jPanel_326Layout);
jPanel_326Layout.setHorizontalGroup(
jPanel_326Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_326Layout.createSequentialGroup()
.addGroup(jPanel_326Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_326Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_326Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2330)
.addComponent(jLabel56, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2331)
.addComponent(rad_2332)
.addComponent(rad_2333)
.addComponent(rad_2334)))
.addGroup(jPanel_326Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_326)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_326Layout.setVerticalGroup(
jPanel_326Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_326Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel56, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_326)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2330)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2331)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2332)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2333)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2334)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
javax.swing.GroupLayout jPanelSec_3Layout = new javax.swing.GroupLayout(jPanelSec_3);
jPanelSec_3.setLayout(jPanelSec_3Layout);
jPanelSec_3Layout.setHorizontalGroup(
jPanelSec_3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_3Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanelSec_3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(jPanel_307, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_308, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_309, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_310, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_311, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_314, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_315, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_316, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_317, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_323, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_324, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_325, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_326, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_321, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_322, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_320, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_318, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_319, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_313, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_312, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(100, 100, 100))
);
jPanelSec_3Layout.setVerticalGroup(
jPanelSec_3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_3Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel_307, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGap(0, 0, 0)
.addComponent(jPanel_308, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGap(0, 0, 0)
.addComponent(jPanel_309, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_310, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_311, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(jPanel_312, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_313, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_314, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPanel_315, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_316, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_317, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_318, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_319, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_320, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_321, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_322, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_323, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_324, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_325, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_326, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0))
);
jScrollPane3.setViewportView(jPanelSec_3);
jTabbedPane1.addTab("CAPITAL ECONÓMICO, SOCIAL Y CULTURAL", jScrollPane3);
jPanel_327.setName("327"); // NOI18N
jLabel57.setText("<html><b>4.1. ¿La institución educativa en la que estudiaste o estudias es :</b><br/>(selecciona una opción)</html>");
jLabel57.setName("1"); // NOI18N
rad_2335.setText("Fiscal");
rad_2335.setName("2335"); // NOI18N
rad_2336.setText("Particular");
rad_2336.setName("2336"); // NOI18N
rad_2337.setText("Fiscomisional");
rad_2337.setName("2337"); // NOI18N
rad_2338.setText("Municipal");
rad_2338.setName("2338"); // NOI18N
jLabel_327.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_327.setForeground(new java.awt.Color(255, 51, 51));
jLabel_327.setText("* Esta pregunta es obligatoria.");
jLabel_327.setName("lbl_327"); // NOI18N
javax.swing.GroupLayout jPanel_327Layout = new javax.swing.GroupLayout(jPanel_327);
jPanel_327.setLayout(jPanel_327Layout);
jPanel_327Layout.setHorizontalGroup(
jPanel_327Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_327Layout.createSequentialGroup()
.addGroup(jPanel_327Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_327Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_327Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2335)
.addComponent(jLabel57, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2336)
.addComponent(rad_2337)
.addComponent(rad_2338)))
.addGroup(jPanel_327Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_327)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_327Layout.setVerticalGroup(
jPanel_327Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_327Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(jLabel57, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_327)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2335)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2336)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2337)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2338)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_328.setName("328"); // NOI18N
jLabel58.setText("<html><b>4.2. ¿A qué institución de educación superior aspiras ingresar?</b><br/>(selecciona una opción)</html>");
jLabel58.setName("1"); // NOI18N
rad_2339.setText("Universidad pública");
rad_2339.setName("2339"); // NOI18N
rad_2340.setText("Instituto público");
rad_2340.setName("2340"); // NOI18N
rad_2341.setText("Universidad de excelencia en el exterior");
rad_2341.setName("2341"); // NOI18N
rad_2342.setText("Instituto de excelencia en el exterior");
rad_2342.setName("2342"); // NOI18N
rad_2343.setText("Instituto privado");
rad_2343.setName("2343"); // NOI18N
rad_2344.setText("Universidad privada");
rad_2344.setName("2344"); // NOI18N
jLabel_328.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_328.setForeground(new java.awt.Color(255, 51, 51));
jLabel_328.setText("* Esta pregunta es obligatoria.");
jLabel_328.setName("lbl_328"); // NOI18N
javax.swing.GroupLayout jPanel_328Layout = new javax.swing.GroupLayout(jPanel_328);
jPanel_328.setLayout(jPanel_328Layout);
jPanel_328Layout.setHorizontalGroup(
jPanel_328Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_328Layout.createSequentialGroup()
.addGroup(jPanel_328Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_328Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_328Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2339)
.addComponent(jLabel58, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2340)
.addComponent(rad_2341)
.addComponent(rad_2342)
.addComponent(rad_2343)
.addComponent(rad_2344)))
.addGroup(jPanel_328Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_328)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_328Layout.setVerticalGroup(
jPanel_328Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_328Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel58, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_328)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2339)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2340)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2341)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2342)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2343)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2344)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_329.setName("329"); // NOI18N
jLabel59.setText("<html><b>4.3. ¿Cuál es la principal razón por la que deseas estudiar la<br/>carrera de tu preferencia ?</b><br/>(selecciona una opción)</html>");
jLabel59.setName("1"); // NOI18N
rad_2345.setText("Tradición familiar");
rad_2345.setName("2345"); // NOI18N
rad_2346.setText("Interés personal");
rad_2346.setName("2346"); // NOI18N
rad_2347.setText("Facilidad para encontrar trabajo");
rad_2347.setName("2347"); // NOI18N
rad_2348.setText("Está ligada a los procesos de desarrollo del país");
rad_2348.setName("2348"); // NOI18N
rad_2349.setText("Por lo que se dice en medios de comunicación");
rad_2349.setName("2349"); // NOI18N
rad_2350.setText("Mejores ingresos");
rad_2350.setName("2350"); // NOI18N
rad_2351.setText("Reconocimiento social");
rad_2351.setName("2351"); // NOI18N
rad_2352.setText("Otros");
rad_2352.setName("2352"); // NOI18N
jLabel_329.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_329.setForeground(new java.awt.Color(255, 51, 51));
jLabel_329.setText("* Esta pregunta es obligatoria.");
jLabel_329.setName("lbl_329"); // NOI18N
javax.swing.GroupLayout jPanel_329Layout = new javax.swing.GroupLayout(jPanel_329);
jPanel_329.setLayout(jPanel_329Layout);
jPanel_329Layout.setHorizontalGroup(
jPanel_329Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_329Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_329Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_329)
.addComponent(rad_2345)
.addComponent(jLabel59, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2346)
.addComponent(rad_2347)
.addComponent(rad_2348)
.addComponent(rad_2349)
.addComponent(rad_2350)
.addComponent(rad_2351)
.addComponent(rad_2352))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_329Layout.setVerticalGroup(
jPanel_329Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_329Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel59, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_329)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2345)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2346)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2347)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2348)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2349)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2350)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2351)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2352)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_330.setName("330"); // NOI18N
jLabel60.setText("<html><b>4.4. ¿Cuál fue tu preparación para rendir el ENES?</b><br/>(selecciona una opción)</html>");
jLabel60.setName("1"); // NOI18N
rad_2353.setText("Curso preuniversitario privado");
rad_2353.setName("2353"); // NOI18N
rad_2353.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2353ActionPerformed(evt);
}
});
rad_2354.setText("Curso de nivelación general SNNA");
rad_2354.setName("2354"); // NOI18N
rad_2354.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2354ActionPerformed(evt);
}
});
rad_2355.setText("Preparación a través de la plataforma Jóvenes");
rad_2355.setName("2355"); // NOI18N
rad_2355.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2355ActionPerformed(evt);
}
});
rad_2356.setText("Auto preparación en casa");
rad_2356.setName("2356"); // NOI18N
rad_2356.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2356ActionPerformed(evt);
}
});
rad_2357.setText("Ninguna");
rad_2357.setName("2357"); // NOI18N
rad_2357.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2357ActionPerformed(evt);
}
});
rad_2358.setText("En tu colegio");
rad_2358.setName("2358"); // NOI18N
rad_2358.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2358ActionPerformed(evt);
}
});
rad_2359.setText("Otro");
rad_2359.setName("2359"); // NOI18N
rad_2359.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2359ActionPerformed(evt);
}
});
jLabel_330.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_330.setForeground(new java.awt.Color(255, 51, 51));
jLabel_330.setText("* Esta pregunta es obligatoria.");
jLabel_330.setName("lbl_330"); // NOI18N
javax.swing.GroupLayout jPanel_330Layout = new javax.swing.GroupLayout(jPanel_330);
jPanel_330.setLayout(jPanel_330Layout);
jPanel_330Layout.setHorizontalGroup(
jPanel_330Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_330Layout.createSequentialGroup()
.addGap(15, 15, 15)
.addGroup(jPanel_330Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_330)
.addComponent(rad_2353)
.addComponent(jLabel60, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2354)
.addComponent(rad_2355)
.addComponent(rad_2356)
.addComponent(rad_2357)
.addComponent(rad_2358)
.addComponent(rad_2359))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_330Layout.setVerticalGroup(
jPanel_330Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_330Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel60, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_330)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2353)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2354)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2355)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2356)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2357)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2358)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2359)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_331.setName("331"); // NOI18N
jLabel61.setText("<html><b>4.4.1. ¿Cuánto costó el curso?</b><br/>(selecciona una opción)</html>");
jLabel61.setName("1"); // NOI18N
rad_2360.setText("Menos de $ 100 ");
rad_2360.setName("2360"); // NOI18N
rad_2361.setText("$100 – $200");
rad_2361.setName("2361"); // NOI18N
rad_2362.setText("$201 – S300");
rad_2362.setName("2362"); // NOI18N
rad_2363.setText("Más de $300");
rad_2363.setName("2363"); // NOI18N
jLabel_331.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_331.setForeground(new java.awt.Color(255, 51, 51));
jLabel_331.setText("* Esta pregunta es obligatoria.");
jLabel_331.setName("lbl_331"); // NOI18N
javax.swing.GroupLayout jPanel_331Layout = new javax.swing.GroupLayout(jPanel_331);
jPanel_331.setLayout(jPanel_331Layout);
jPanel_331Layout.setHorizontalGroup(
jPanel_331Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_331Layout.createSequentialGroup()
.addGap(15, 15, 15)
.addGroup(jPanel_331Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_331)
.addComponent(rad_2360)
.addComponent(jLabel61, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2361)
.addComponent(rad_2362)
.addComponent(rad_2363))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_331Layout.setVerticalGroup(
jPanel_331Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_331Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel61, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_331)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2360)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2361)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2362)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2363)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
javax.swing.GroupLayout jPanelSec_4Layout = new javax.swing.GroupLayout(jPanelSec_4);
jPanelSec_4.setLayout(jPanelSec_4Layout);
jPanelSec_4Layout.setHorizontalGroup(
jPanelSec_4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_4Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanelSec_4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jPanel_327, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_328, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_329, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_330, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_331, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(100, 100, 100))
);
jPanelSec_4Layout.setVerticalGroup(
jPanelSec_4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_4Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel_327, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_328, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(jPanel_329, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_330, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_331, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE))
);
jScrollPane4.setViewportView(jPanelSec_4);
jTabbedPane1.addTab("PREPARACIÓN PARA RENDIR EL ENES", jScrollPane4);
jPanel_332.setName("332"); // NOI18N
jLabel62.setText("<html><b>5.1. ¿Cuáles de estos bienes tienes en tu casa?</b><br/>(selección múltiple)</html>");
jLabel62.setName("1"); // NOI18N
chk_2364.setText("Servicio de telefonía convencional, teléfono fijo ");
chk_2364.setName("2364"); // NOI18N
chk_2365.setText("Cocina con horno ");
chk_2365.setName("2365"); // NOI18N
chk_2366.setText("Refrigeradora ");
chk_2366.setName("2366"); // NOI18N
chk_2367.setText("Lavadora ");
chk_2367.setName("2367"); // NOI18N
chk_2368.setText("Equipo de sonido ");
chk_2368.setName("2368"); // NOI18N
jLabel_332.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_332.setForeground(new java.awt.Color(255, 51, 51));
jLabel_332.setText("* Esta pregunta es obligatoria.");
jLabel_332.setName("lbl_332"); // NOI18N
chk_3110.setText("Ninguno");
chk_3110.setName("3110"); // NOI18N
chk_3110.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_3110ActionPerformed(evt);
}
});
javax.swing.GroupLayout jPanel_332Layout = new javax.swing.GroupLayout(jPanel_332);
jPanel_332.setLayout(jPanel_332Layout);
jPanel_332Layout.setHorizontalGroup(
jPanel_332Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_332Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_332Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_332)
.addComponent(chk_2364)
.addComponent(jLabel62, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(chk_2365)
.addComponent(chk_2366)
.addComponent(chk_2367)
.addComponent(chk_2368)
.addComponent(chk_3110))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_332Layout.setVerticalGroup(
jPanel_332Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_332Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(jLabel62, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_332)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(chk_2364)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2365)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2366)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2367)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2368)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_3110)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_333.setName("333"); // NOI18N
jLabel63.setText("<html><b>5.2. ¿Cuántos televisores a color tienes en tu hogar?</b><br/>(selecciona una opción)</html>");
jLabel63.setName("1"); // NOI18N
rad_2369.setText("No hay TV a color en el hogar ");
rad_2369.setName("2369"); // NOI18N
rad_2370.setText("Hay 1 tv a color ");
rad_2370.setName("2370"); // NOI18N
rad_2371.setText("Hay 2 tv a color ");
rad_2371.setName("2371"); // NOI18N
rad_2372.setText("Hay 3 o más tv a color ");
rad_2372.setName("2372"); // NOI18N
jLabel_333.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_333.setForeground(new java.awt.Color(255, 51, 51));
jLabel_333.setText("* Esta pregunta es obligatoria.");
jLabel_333.setName("lbl_333"); // NOI18N
javax.swing.GroupLayout jPanel_333Layout = new javax.swing.GroupLayout(jPanel_333);
jPanel_333.setLayout(jPanel_333Layout);
jPanel_333Layout.setHorizontalGroup(
jPanel_333Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_333Layout.createSequentialGroup()
.addGroup(jPanel_333Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_333Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_333Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2369)
.addComponent(jLabel63, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2370)
.addComponent(rad_2371)
.addComponent(rad_2372)))
.addGroup(jPanel_333Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_333)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_333Layout.setVerticalGroup(
jPanel_333Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_333Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel63, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_333)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2369)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2370)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2371)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2372)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_334.setName("334"); // NOI18N
jLabel64.setText("<html><b>5.3. ¿Cuántos vehículos de uso exclusivo hay en tu hogar?</b><br/>(selecciona una opción)</html>");
jLabel64.setName("1"); // NOI18N
rad_2373.setText("No hay vehículo de uso exclusivo para el hogar ");
rad_2373.setName("2373"); // NOI18N
rad_2374.setText("Hay 1 vehículo exclusivo para el hogar ");
rad_2374.setName("2374"); // NOI18N
rad_2375.setText("Hay 2 vehículos exclusivos para el hogar");
rad_2375.setName("2375"); // NOI18N
rad_2376.setText("Hay 3 o más vehículos exclusivos para el hogar");
rad_2376.setName("2376"); // NOI18N
jLabel_334.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_334.setForeground(new java.awt.Color(255, 51, 51));
jLabel_334.setText("* Esta pregunta es obligatoria.");
jLabel_334.setName("lbl_334"); // NOI18N
javax.swing.GroupLayout jPanel_334Layout = new javax.swing.GroupLayout(jPanel_334);
jPanel_334.setLayout(jPanel_334Layout);
jPanel_334Layout.setHorizontalGroup(
jPanel_334Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_334Layout.createSequentialGroup()
.addGroup(jPanel_334Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_334Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_334Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2373)
.addComponent(jLabel64, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2374)
.addComponent(rad_2375)
.addComponent(rad_2376)))
.addGroup(jPanel_334Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_334)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_334Layout.setVerticalGroup(
jPanel_334Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_334Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel64, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_334)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2373)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2374)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2375)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2376)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_335.setName("335"); // NOI18N
jLabel65.setText("<html><b>5.4. ¿Cuáles de estos servicios tiene tu casa?</b><br/>(selección múltiple)</html>");
jLabel65.setName("1"); // NOI18N
chk_2377.setText("Servicio de internet ");
chk_2377.setName("2377"); // NOI18N
chk_2378.setText("Computadora de escritorio ");
chk_2378.setName("2378"); // NOI18N
chk_2379.setText("Computadora portátil ");
chk_2379.setName("2379"); // NOI18N
jLabel_335.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_335.setForeground(new java.awt.Color(255, 51, 51));
jLabel_335.setText("* Esta pregunta es obligatoria.");
jLabel_335.setName("lbl_335"); // NOI18N
chk_3111.setText("Ninguno");
chk_3111.setName("3111"); // NOI18N
chk_3111.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chk_3111ActionPerformed(evt);
}
});
javax.swing.GroupLayout jPanel_335Layout = new javax.swing.GroupLayout(jPanel_335);
jPanel_335.setLayout(jPanel_335Layout);
jPanel_335Layout.setHorizontalGroup(
jPanel_335Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_335Layout.createSequentialGroup()
.addGroup(jPanel_335Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_335Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_335Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(chk_2377)
.addComponent(jLabel65, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(chk_2378)
.addComponent(chk_2379)
.addComponent(chk_3111)))
.addGroup(jPanel_335Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_335)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_335Layout.setVerticalGroup(
jPanel_335Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_335Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel65, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_335)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(chk_2377)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2378)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_2379)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(chk_3111)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_336.setName("336"); // NOI18N
jLabel66.setText("<html><b>5.5. ¿Cuántos celulares activados tienen en tu hogar?</b><br/>(selecciona una opción)</html>");
jLabel66.setName("1"); // NOI18N
rad_2380.setText("Nadie tiene celulares en el hogar ");
rad_2380.setName("2380"); // NOI18N
rad_2381.setText("Hay 1 celular ");
rad_2381.setName("2381"); // NOI18N
rad_2382.setText("Hay 2 celulares ");
rad_2382.setName("2382"); // NOI18N
rad_2383.setText("Hay 3 celulares ");
rad_2383.setName("2383"); // NOI18N
rad_2384.setText("Hay 4 o más celulares");
rad_2384.setName("2384"); // NOI18N
jLabel_336.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_336.setForeground(new java.awt.Color(255, 51, 51));
jLabel_336.setText("* Esta pregunta es obligatoria.");
jLabel_336.setName("lbl_336"); // NOI18N
javax.swing.GroupLayout jPanel_336Layout = new javax.swing.GroupLayout(jPanel_336);
jPanel_336.setLayout(jPanel_336Layout);
jPanel_336Layout.setHorizontalGroup(
jPanel_336Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_336Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_336Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_336)
.addComponent(rad_2380)
.addComponent(jLabel66, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2381)
.addComponent(rad_2382)
.addComponent(rad_2383)
.addComponent(rad_2384))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_336Layout.setVerticalGroup(
jPanel_336Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_336Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel66, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_336)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2380)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2381)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2382)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2383)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2384)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_337.setName("337"); // NOI18N
jLabel67.setText("<html><b>5.6. ¿Dónde utilizas principalmente el internet?</b><br/>(selecciona una opción)</html>");
jLabel67.setName("1"); // NOI18N
rad_2385.setText("Hogar");
rad_2385.setName("2385"); // NOI18N
rad_2386.setText("Trabajo");
rad_2386.setName("2386"); // NOI18N
rad_2387.setText("Colegio");
rad_2387.setName("2387"); // NOI18N
rad_2388.setText("Espacios públicos con servicio gratuito");
rad_2388.setName("2388"); // NOI18N
rad_2389.setText("Lugar pagado como cyber café o centro de llamadas");
rad_2389.setName("2389"); // NOI18N
jLabel_337.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_337.setForeground(new java.awt.Color(255, 51, 51));
jLabel_337.setText("* Esta pregunta es obligatoria.");
jLabel_337.setName("lbl_337"); // NOI18N
javax.swing.GroupLayout jPanel_337Layout = new javax.swing.GroupLayout(jPanel_337);
jPanel_337.setLayout(jPanel_337Layout);
jPanel_337Layout.setHorizontalGroup(
jPanel_337Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_337Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_337Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_337)
.addComponent(rad_2385)
.addComponent(jLabel67, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2386)
.addComponent(rad_2387)
.addComponent(rad_2388)
.addComponent(rad_2389))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_337Layout.setVerticalGroup(
jPanel_337Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_337Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel67, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_337)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2385)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2386)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2387)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2388)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2389)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
javax.swing.GroupLayout jPanelSec_5Layout = new javax.swing.GroupLayout(jPanelSec_5);
jPanelSec_5.setLayout(jPanelSec_5Layout);
jPanelSec_5Layout.setHorizontalGroup(
jPanelSec_5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_5Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanelSec_5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jPanel_334, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_333, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_332, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_336, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_335, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_337, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(100, 100, 100))
);
jPanelSec_5Layout.setVerticalGroup(
jPanelSec_5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_5Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel_332, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_333, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_334, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_335, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_336, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_337, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0))
);
jScrollPane5.setViewportView(jPanelSec_5);
jTabbedPane1.addTab("ACCESO A TECNOLOGÍA DE LA INFORMACIÓN Y COMUNICACIÓN", jScrollPane5);
jPanel_338.setName("338"); // NOI18N
jLabel68.setText("<html><b>6.1. ¿Cómo te enteraste de la convocatoria para rendir el ENES?</b><br/>(selecciona una opción)</html>");
jLabel68.setName("1"); // NOI18N
rad_2390.setText("Colegio");
rad_2390.setName("2390"); // NOI18N
rad_2391.setText("Familiares");
rad_2391.setName("2391"); // NOI18N
rad_2392.setText("Amigos/vecinos");
rad_2392.setName("2392"); // NOI18N
rad_2393.setText("Internet");
rad_2393.setName("2393"); // NOI18N
rad_2394.setText("Redes sociales");
rad_2394.setName("2394"); // NOI18N
rad_2395.setText("Televisión");
rad_2395.setName("2395"); // NOI18N
rad_2396.setText("Radio");
rad_2396.setName("2396"); // NOI18N
rad_2397.setText("Prensa escrita");
rad_2397.setName("2397"); // NOI18N
jLabel_338.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_338.setForeground(new java.awt.Color(255, 51, 51));
jLabel_338.setText("* Esta pregunta es obligatoria.");
jLabel_338.setName("lbl_338"); // NOI18N
rad_3112.setText("Contact Center SNNA");
rad_3112.setName("3112"); // NOI18N
javax.swing.GroupLayout jPanel_338Layout = new javax.swing.GroupLayout(jPanel_338);
jPanel_338.setLayout(jPanel_338Layout);
jPanel_338Layout.setHorizontalGroup(
jPanel_338Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_338Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_338Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_338)
.addComponent(rad_2390)
.addComponent(jLabel68, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2391)
.addComponent(rad_2392)
.addComponent(rad_2393)
.addComponent(rad_2394)
.addComponent(rad_2395)
.addComponent(rad_2396)
.addComponent(rad_2397)
.addComponent(rad_3112))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_338Layout.setVerticalGroup(
jPanel_338Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_338Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(jLabel68, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_338)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2390)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2391)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2392)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2393)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2394)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2395)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2396)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2397)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_3112)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_339.setName("339"); // NOI18N
jLabel69.setText("<html><b>6.2. ¿Cómo calificarías el acceso a educación superior que tuvieron tus padres?</b><br/>(selecciona una opción)</html>");
jLabel69.setName("1"); // NOI18N
rad_2398.setText("Transparente");
rad_2398.setName("2398"); // NOI18N
rad_2399.setText("Meritocrático");
rad_2399.setName("2399"); // NOI18N
rad_2400.setText("Complejo");
rad_2400.setName("2400"); // NOI18N
rad_2401.setText("Burocrático");
rad_2401.setName("2401"); // NOI18N
rad_2402.setText("Libre");
rad_2402.setName("2402"); // NOI18N
rad_2403.setText("Fácil");
rad_2403.setName("2403"); // NOI18N
rad_2404.setText("Extenso");
rad_2404.setName("2404"); // NOI18N
rad_2405.setText("Organizado");
rad_2405.setName("2405"); // NOI18N
jLabel_339.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_339.setForeground(new java.awt.Color(255, 51, 51));
jLabel_339.setText("* Esta pregunta es obligatoria.");
jLabel_339.setName("lbl_339"); // NOI18N
javax.swing.GroupLayout jPanel_339Layout = new javax.swing.GroupLayout(jPanel_339);
jPanel_339.setLayout(jPanel_339Layout);
jPanel_339Layout.setHorizontalGroup(
jPanel_339Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_339Layout.createSequentialGroup()
.addGroup(jPanel_339Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_339Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_339Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2398)
.addComponent(jLabel69, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2399)
.addComponent(rad_2400)
.addComponent(rad_2401)
.addComponent(rad_2402)
.addComponent(rad_2403)
.addComponent(rad_2404)
.addComponent(rad_2405)))
.addGroup(jPanel_339Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_339)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_339Layout.setVerticalGroup(
jPanel_339Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_339Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel69, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_339)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2398)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2399)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2400)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2401)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2402)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2403)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2404)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2405)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_340.setName("340"); // NOI18N
jLabel70.setText("<html><b>6.3. ¿Actualmente consideras que el SNNA ha:</b><br/>(selecciona una opción)</html>");
jLabel70.setName("1"); // NOI18N
rad_2406.setText("Mejorado el acceso a educación superior");
rad_2406.setName("2406"); // NOI18N
rad_2407.setText("Regularizado el acceso a educación superior");
rad_2407.setName("2407"); // NOI18N
rad_2408.setText("Dificultado el acceso para los y las aspirantes");
rad_2408.setName("2408"); // NOI18N
rad_2409.setText("<html>Establecido parámetros para democratizar el<br/>acceso a educación superior</html>");
rad_2409.setName("2409"); // NOI18N
jLabel_340.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_340.setForeground(new java.awt.Color(255, 51, 51));
jLabel_340.setText("* Esta pregunta es obligatoria.");
jLabel_340.setName("lbl_340"); // NOI18N
javax.swing.GroupLayout jPanel_340Layout = new javax.swing.GroupLayout(jPanel_340);
jPanel_340.setLayout(jPanel_340Layout);
jPanel_340Layout.setHorizontalGroup(
jPanel_340Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_340Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_340Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_340)
.addComponent(rad_2406)
.addComponent(jLabel70, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2407)
.addComponent(rad_2408)
.addComponent(rad_2409, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_340Layout.setVerticalGroup(
jPanel_340Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_340Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel70, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_340)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2406)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2407)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2408)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2409, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_341.setName("341"); // NOI18N
jLabel71.setText("<html><b>6.4. Evalúa las siguientes afirmaciones :</b><br/>(selecciona una opción)</html>");
jLabel71.setName("1"); // NOI18N
javax.swing.GroupLayout jPanel_341Layout = new javax.swing.GroupLayout(jPanel_341);
jPanel_341.setLayout(jPanel_341Layout);
jPanel_341Layout.setHorizontalGroup(
jPanel_341Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_341Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(jLabel71, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(33, Short.MAX_VALUE))
);
jPanel_341Layout.setVerticalGroup(
jPanel_341Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_341Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel71, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(7, 7, 7))
);
jPanel_342.setName("342"); // NOI18N
jLabel72.setText("<html><b>6.4.1. Los/las profesionales técnicos/as y tecnólogos/as reciben altos sueldos.</b></html>");
jLabel72.setName("1"); // NOI18N
rad_2411.setText("Totalmente de acuerdo");
rad_2411.setName("2411"); // NOI18N
rad_2412.setText("De acuerdo");
rad_2412.setName("2412"); // NOI18N
rad_2413.setText("Medianamente de acuerdo");
rad_2413.setName("2413"); // NOI18N
rad_2414.setText("En desacuerdo");
rad_2414.setName("2414"); // NOI18N
rad_2415.setText("Totalmente en desacuerdo");
rad_2415.setName("2415"); // NOI18N
jLabel_342.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_342.setForeground(new java.awt.Color(255, 51, 51));
jLabel_342.setText("* Esta pregunta es obligatoria.");
jLabel_342.setName("lbl_342"); // NOI18N
javax.swing.GroupLayout jPanel_342Layout = new javax.swing.GroupLayout(jPanel_342);
jPanel_342.setLayout(jPanel_342Layout);
jPanel_342Layout.setHorizontalGroup(
jPanel_342Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_342Layout.createSequentialGroup()
.addGroup(jPanel_342Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_342Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_342Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2411)
.addComponent(jLabel_342)
.addComponent(rad_2412)
.addComponent(rad_2413)
.addComponent(rad_2414)
.addComponent(rad_2415)))
.addGroup(jPanel_342Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel72, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_342Layout.setVerticalGroup(
jPanel_342Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_342Layout.createSequentialGroup()
.addComponent(jLabel72, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_342)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(rad_2411)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2412)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2413)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2414)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2415)
.addGap(7, 7, 7))
);
jPanel_343.setName("343"); // NOI18N
rad_2416.setText("Totalmente de acuerdo");
rad_2416.setName("2416"); // NOI18N
rad_2417.setText("De acuerdo");
rad_2417.setName("2417"); // NOI18N
rad_2418.setText("Medianamente de acuerdo");
rad_2418.setName("2418"); // NOI18N
rad_2419.setText("En desacuerdo");
rad_2419.setName("2419"); // NOI18N
rad_2420.setText("Totalmente en desacuerdo");
rad_2420.setName("2420"); // NOI18N
rad_2420.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
rad_2420ActionPerformed(evt);
}
});
jLabel_343.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_343.setForeground(new java.awt.Color(255, 51, 51));
jLabel_343.setText("* Esta pregunta es obligatoria.");
jLabel_343.setName("lbl_343"); // NOI18N
jLabel73.setText("<html><b>6.4.2. La formación técnica y tecnológica permite encontrar empleo fácilmente</b></html>");
jLabel73.setName("1"); // NOI18N
javax.swing.GroupLayout jPanel_343Layout = new javax.swing.GroupLayout(jPanel_343);
jPanel_343.setLayout(jPanel_343Layout);
jPanel_343Layout.setHorizontalGroup(
jPanel_343Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_343Layout.createSequentialGroup()
.addGroup(jPanel_343Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_343Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_343Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_343)
.addComponent(rad_2418)
.addComponent(rad_2419)
.addComponent(rad_2420)
.addComponent(rad_2416)
.addComponent(rad_2417)))
.addGroup(jPanel_343Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel73, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_343Layout.setVerticalGroup(
jPanel_343Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_343Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel73, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_343)
.addGap(0, 0, 0)
.addComponent(rad_2416)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2417)
.addGap(0, 0, 0)
.addComponent(rad_2418)
.addGap(0, 0, 0)
.addComponent(rad_2419)
.addGap(0, 0, 0)
.addComponent(rad_2420))
);
jPanel_344.setName("344"); // NOI18N
jLabel74.setText("<html><b>6.4.3. La educación técnica y tecnológica puede formarme en habilidades<br/>para el desarrollo personal</b></html>");
jLabel74.setName("1"); // NOI18N
rad_2421.setText("Totalmente de acuerdo");
rad_2421.setName("2421"); // NOI18N
rad_2422.setText("De acuerdo");
rad_2422.setName("2422"); // NOI18N
rad_2423.setText("Medianamente de acuerdo");
rad_2423.setName("2423"); // NOI18N
rad_2424.setText("En desacuerdo");
rad_2424.setName("2424"); // NOI18N
rad_2425.setText("Totalmente en desacuerdo");
rad_2425.setName("2425"); // NOI18N
jLabel_344.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_344.setForeground(new java.awt.Color(255, 51, 51));
jLabel_344.setText("* Esta pregunta es obligatoria.");
jLabel_344.setName("lbl_344"); // NOI18N
javax.swing.GroupLayout jPanel_344Layout = new javax.swing.GroupLayout(jPanel_344);
jPanel_344.setLayout(jPanel_344Layout);
jPanel_344Layout.setHorizontalGroup(
jPanel_344Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_344Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_344Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_344)
.addComponent(rad_2421)
.addComponent(jLabel74, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2422)
.addComponent(rad_2423)
.addComponent(rad_2424)
.addComponent(rad_2425))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_344Layout.setVerticalGroup(
jPanel_344Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_344Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel74, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_344)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2421)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2422)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2423)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2424)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2425)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_345.setName("345"); // NOI18N
jLabel75.setText("<html><b>6.4.4. Prefiero estudiar en un Instituto técnico o tecnológico que en la universidad</b></html>");
jLabel75.setName("1"); // NOI18N
rad_2426.setText("Totalmente de acuerdo");
rad_2426.setName("2426"); // NOI18N
rad_2427.setText("De acuerdo");
rad_2427.setName("2427"); // NOI18N
rad_2428.setText("Medianamente de acuerdo");
rad_2428.setName("2428"); // NOI18N
rad_2429.setText("En desacuerdo");
rad_2429.setName("2429"); // NOI18N
rad_2430.setText("Totalmente en desacuerdo");
rad_2430.setName("2430"); // NOI18N
jLabel_345.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_345.setForeground(new java.awt.Color(255, 51, 51));
jLabel_345.setText("* Esta pregunta es obligatoria.");
jLabel_345.setName("lbl_345"); // NOI18N
javax.swing.GroupLayout jPanel_345Layout = new javax.swing.GroupLayout(jPanel_345);
jPanel_345.setLayout(jPanel_345Layout);
jPanel_345Layout.setHorizontalGroup(
jPanel_345Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_345Layout.createSequentialGroup()
.addGroup(jPanel_345Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_345Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_345Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2426)
.addComponent(jLabel_345)
.addComponent(rad_2427)
.addComponent(rad_2428)
.addComponent(rad_2429)
.addComponent(rad_2430)))
.addGroup(jPanel_345Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel75, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_345Layout.setVerticalGroup(
jPanel_345Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_345Layout.createSequentialGroup()
.addComponent(jLabel75, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_345)
.addGap(0, 0, 0)
.addComponent(rad_2426)
.addGap(0, 0, 0)
.addComponent(rad_2427)
.addGap(0, 0, 0)
.addComponent(rad_2428)
.addGap(0, 0, 0)
.addComponent(rad_2429)
.addGap(0, 0, 0)
.addComponent(rad_2430))
);
jPanel_346.setName("346"); // NOI18N
jLabel76.setText("<html><b>6.4.5. La formación técnica y tecnológica es de baja calidad comparada con la<br/>formación universitaria</b></html>");
jLabel76.setName("1"); // NOI18N
rad_2431.setText("Totalmente de acuerdo");
rad_2431.setName("2431"); // NOI18N
rad_2432.setText("De acuerdo");
rad_2432.setName("2432"); // NOI18N
rad_2433.setText("Medianamente de acuerdo");
rad_2433.setName("2433"); // NOI18N
rad_2434.setText("En desacuerdo");
rad_2434.setName("2434"); // NOI18N
rad_2435.setText("Totalmente en desacuerdo");
rad_2435.setName("2435"); // NOI18N
jLabel_346.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_346.setForeground(new java.awt.Color(255, 51, 51));
jLabel_346.setText("* Esta pregunta es obligatoria.");
jLabel_346.setName("lbl_346"); // NOI18N
javax.swing.GroupLayout jPanel_346Layout = new javax.swing.GroupLayout(jPanel_346);
jPanel_346.setLayout(jPanel_346Layout);
jPanel_346Layout.setHorizontalGroup(
jPanel_346Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_346Layout.createSequentialGroup()
.addGroup(jPanel_346Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_346Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_346Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2431)
.addComponent(jLabel76, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2432)
.addComponent(rad_2433)
.addComponent(rad_2434)
.addComponent(rad_2435)))
.addGroup(jPanel_346Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_346)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_346Layout.setVerticalGroup(
jPanel_346Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_346Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel76, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_346)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2431)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2432)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2433)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2434)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2435)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_347.setName("347"); // NOI18N
jLabel77.setText("<html><b>6.5. A continuación te pedimos que evalúes los siguientes aspectos de tu<br/>formación de bachillerato. Selecciona la opción que esté acorde a tu opinión.</b><br/>(selecciona una opción)</html>");
jLabel77.setName("1"); // NOI18N
javax.swing.GroupLayout jPanel_347Layout = new javax.swing.GroupLayout(jPanel_347);
jPanel_347.setLayout(jPanel_347Layout);
jPanel_347Layout.setHorizontalGroup(
jPanel_347Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_347Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel77)
.addContainerGap())
);
jPanel_347Layout.setVerticalGroup(
jPanel_347Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_347Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel77, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(7, 7, 7))
);
jPanel_348.setName("348"); // NOI18N
jLabel78.setText("<html><b>6.5.1. Infraestructura del colegio</b><br/>(aulas, baños, laboratorios, biblioteca, comedor, patio, canchas, etc.)</html>");
jLabel78.setName("1"); // NOI18N
rad_2437.setText("Totalmente satisfecho");
rad_2437.setName("2437"); // NOI18N
rad_2438.setText("Satisfecho");
rad_2438.setName("2438"); // NOI18N
rad_2439.setText("Medianamente satisfecho");
rad_2439.setName("2439"); // NOI18N
rad_2440.setText("Insatisfecho");
rad_2440.setName("2440"); // NOI18N
rad_2441.setText("Totalmente insatisfecho");
rad_2441.setName("2441"); // NOI18N
jLabel_348.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_348.setForeground(new java.awt.Color(255, 51, 51));
jLabel_348.setText("* Esta pregunta es obligatoria.");
jLabel_348.setName("lbl_348"); // NOI18N
javax.swing.GroupLayout jPanel_348Layout = new javax.swing.GroupLayout(jPanel_348);
jPanel_348.setLayout(jPanel_348Layout);
jPanel_348Layout.setHorizontalGroup(
jPanel_348Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_348Layout.createSequentialGroup()
.addGroup(jPanel_348Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_348Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_348Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2437)
.addComponent(jLabel78, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2438)
.addComponent(rad_2439)
.addComponent(rad_2440)
.addComponent(rad_2441)))
.addGroup(jPanel_348Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_348)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_348Layout.setVerticalGroup(
jPanel_348Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_348Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel78, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_348)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2437)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2438)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2439)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2440)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2441)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_349.setName("349"); // NOI18N
jLabel79.setText("<html><b>6.5.2. Ambiente sin violencia (la violencia puede incluir violencia física,<br/>verbal, psicológica, bullying, racismo, discriminación, etc.) entre estudiantes</b></html>");
jLabel79.setName("1"); // NOI18N
rad_2442.setText("Totalmente satisfecho");
rad_2442.setName("2442"); // NOI18N
rad_2443.setText("Satisfecho");
rad_2443.setName("2443"); // NOI18N
rad_2444.setText("Medianamente satisfecho");
rad_2444.setName("2444"); // NOI18N
rad_2445.setText("Insatisfecho");
rad_2445.setName("2445"); // NOI18N
rad_2446.setText("Totalmente insatisfecho");
rad_2446.setName("2446"); // NOI18N
jLabel_349.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_349.setForeground(new java.awt.Color(255, 51, 51));
jLabel_349.setText("* Esta pregunta es obligatoria.");
jLabel_349.setName("lbl_349"); // NOI18N
javax.swing.GroupLayout jPanel_349Layout = new javax.swing.GroupLayout(jPanel_349);
jPanel_349.setLayout(jPanel_349Layout);
jPanel_349Layout.setHorizontalGroup(
jPanel_349Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_349Layout.createSequentialGroup()
.addGroup(jPanel_349Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_349Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_349Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2442)
.addComponent(jLabel79, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2443)
.addComponent(rad_2444)
.addComponent(rad_2445)
.addComponent(rad_2446)))
.addGroup(jPanel_349Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_349)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_349Layout.setVerticalGroup(
jPanel_349Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_349Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel79, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel_349)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2442)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2443)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2444)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2445)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2446)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_350.setName("350"); // NOI18N
jLabel80.setText("<html><b>6.5.3. Ambiente sin violencia (la violencia puede incluir violencia física,<br/>verbal, psicológica, bullying, racismo, discriminación, etc.) entre estudiantes<br/>y docentes.</b></html>");
jLabel80.setName("1"); // NOI18N
rad_2447.setText("Totalmente satisfecho");
rad_2447.setName("2447"); // NOI18N
rad_2448.setText("Satisfecho");
rad_2448.setName("2448"); // NOI18N
rad_2449.setText("Medianamente satisfecho");
rad_2449.setName("2449"); // NOI18N
rad_2450.setText("Insatisfecho");
rad_2450.setName("2450"); // NOI18N
rad_2451.setText("Totalmente insatisfecho");
rad_2451.setName("2451"); // NOI18N
jLabel_350.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_350.setForeground(new java.awt.Color(255, 51, 51));
jLabel_350.setText("* Esta pregunta es obligatoria.");
jLabel_350.setName("lbl_350"); // NOI18N
javax.swing.GroupLayout jPanel_350Layout = new javax.swing.GroupLayout(jPanel_350);
jPanel_350.setLayout(jPanel_350Layout);
jPanel_350Layout.setHorizontalGroup(
jPanel_350Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_350Layout.createSequentialGroup()
.addGroup(jPanel_350Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_350Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_350Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2447)
.addComponent(jLabel80, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2448)
.addComponent(rad_2449)
.addComponent(rad_2450)
.addComponent(rad_2451)))
.addGroup(jPanel_350Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_350)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_350Layout.setVerticalGroup(
jPanel_350Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_350Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel80, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_350)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2447)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2448)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2449)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2450)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2451)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_351.setName("351"); // NOI18N
jLabel81.setText("<html><b>6.5.4. Orientación vocacional en el colegio para selección de carrera<br/>y elaboración de proyecto de vida.</b></html>");
jLabel81.setName("1"); // NOI18N
rad_2452.setText("Totalmente satisfecho");
rad_2452.setName("2452"); // NOI18N
rad_2453.setText("Satisfecho");
rad_2453.setName("2453"); // NOI18N
rad_2454.setText("Medianamente satisfecho");
rad_2454.setName("2454"); // NOI18N
rad_2455.setText("Insatisfecho");
rad_2455.setName("2455"); // NOI18N
rad_2456.setText("Totalmente insatisfecho");
rad_2456.setName("2456"); // NOI18N
jLabel_351.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_351.setForeground(new java.awt.Color(255, 51, 51));
jLabel_351.setText("* Esta pregunta es obligatoria.");
jLabel_351.setName("lbl_351"); // NOI18N
javax.swing.GroupLayout jPanel_351Layout = new javax.swing.GroupLayout(jPanel_351);
jPanel_351.setLayout(jPanel_351Layout);
jPanel_351Layout.setHorizontalGroup(
jPanel_351Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_351Layout.createSequentialGroup()
.addGroup(jPanel_351Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_351Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_351Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2452)
.addComponent(jLabel81, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2453)
.addComponent(rad_2454)
.addComponent(rad_2455)
.addComponent(rad_2456)))
.addGroup(jPanel_351Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_351)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_351Layout.setVerticalGroup(
jPanel_351Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_351Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel81, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_351)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2452)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2453)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2454)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2455)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2456)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_352.setName("352"); // NOI18N
jLabel82.setText("<html><b>6.5.5.Existencia de sistema de acompañamiento (tutoría) durante<br/>tu permanencia en la institución</b></html>");
jLabel82.setName("1"); // NOI18N
rad_2457.setText("Totalmente satisfecho");
rad_2457.setName("2457"); // NOI18N
rad_2458.setText("Satisfecho");
rad_2458.setName("2458"); // NOI18N
rad_2459.setText("Medianamente satisfecho");
rad_2459.setName("2459"); // NOI18N
rad_2460.setText("Insatisfecho");
rad_2460.setName("2460"); // NOI18N
rad_2461.setText("Totalmente insatisfecho");
rad_2461.setName("2461"); // NOI18N
jLabel_352.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_352.setForeground(new java.awt.Color(255, 51, 51));
jLabel_352.setText("* Esta pregunta es obligatoria.");
jLabel_352.setName("lbl_352"); // NOI18N
javax.swing.GroupLayout jPanel_352Layout = new javax.swing.GroupLayout(jPanel_352);
jPanel_352.setLayout(jPanel_352Layout);
jPanel_352Layout.setHorizontalGroup(
jPanel_352Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_352Layout.createSequentialGroup()
.addGroup(jPanel_352Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_352Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_352Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(rad_2457)
.addComponent(jLabel82, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2458)
.addComponent(rad_2459)
.addComponent(rad_2460)
.addComponent(rad_2461)))
.addGroup(jPanel_352Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel_352)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_352Layout.setVerticalGroup(
jPanel_352Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_352Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel82, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_352)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2457)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2458)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2459)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2460)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2461)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_353.setName("353"); // NOI18N
jLabel83.setText("<html><b>6.5.6. Los conocimientos y aprendizajes adquiridos en tu colegio<br/>te son útiles en tu vida.</b></html>");
jLabel83.setName("1"); // NOI18N
rad_2462.setText("Totalmente satisfecho");
rad_2462.setName("2462"); // NOI18N
rad_2463.setText("Satisfecho");
rad_2463.setName("2463"); // NOI18N
rad_2464.setText("Medianamente satisfecho");
rad_2464.setName("2464"); // NOI18N
rad_2465.setText("Insatisfecho");
rad_2465.setName("2465"); // NOI18N
rad_2466.setText("Totalmente insatisfecho");
rad_2466.setName("2466"); // NOI18N
jLabel_353.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
jLabel_353.setForeground(new java.awt.Color(255, 51, 51));
jLabel_353.setText("* Esta pregunta es obligatoria.");
jLabel_353.setName("lbl_353"); // NOI18N
javax.swing.GroupLayout jPanel_353Layout = new javax.swing.GroupLayout(jPanel_353);
jPanel_353.setLayout(jPanel_353Layout);
jPanel_353Layout.setHorizontalGroup(
jPanel_353Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_353Layout.createSequentialGroup()
.addGap(10, 10, 10)
.addGroup(jPanel_353Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel_353)
.addComponent(rad_2462)
.addComponent(jLabel83, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(rad_2463)
.addComponent(rad_2464)
.addComponent(rad_2465)
.addComponent(rad_2466))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel_353Layout.setVerticalGroup(
jPanel_353Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_353Layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel83, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jLabel_353)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(rad_2462)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2463)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2464)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2465)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(rad_2466)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
javax.swing.GroupLayout jPanelSec_6Layout = new javax.swing.GroupLayout(jPanelSec_6);
jPanelSec_6.setLayout(jPanelSec_6Layout);
jPanelSec_6Layout.setHorizontalGroup(
jPanelSec_6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_6Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanelSec_6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jPanel_341, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jPanel_343, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_344, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_342, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_345, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_340, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_339, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_338, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_346, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_347, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_348, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_349, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_350, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_351, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_352, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel_353, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(100, 100, 100))
);
jPanelSec_6Layout.setVerticalGroup(
jPanelSec_6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanelSec_6Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel_338, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_339, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_340, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_341, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_342, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_343, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_344, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_345, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_346, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_347, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_348, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_349, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_350, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_351, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_352, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jPanel_353, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0))
);
jScrollPane6.setViewportView(jPanelSec_6);
jTabbedPane1.addTab("PERCEPCIONES", jScrollPane6);
jButton_Sigueinte.setText("Siguiente");
jButton_Sigueinte.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton_SigueinteActionPerformed(evt);
}
});
jButton_Atras.setText("Atrás");
jButton_Atras.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton_AtrasActionPerformed(evt);
}
});
jPanel_DatosPersonales.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Datos Personales", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, new java.awt.Color(153, 153, 153)));
jLabel20.setText("Documento de identificación:");
txt_cedula.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
txt_cedulaKeyTyped(evt);
}
});
jLabel23.setText("Nombres:");
txt_nombres.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
txt_nombresKeyTyped(evt);
}
});
jLabel24.setText("Apellidos:");
txt_apellidos.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
txt_apellidosKeyTyped(evt);
}
});
jButton_activarEncuesta.setText("Activar Encuesta");
jButton_activarEncuesta.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton_activarEncuestaActionPerformed(evt);
}
});
javax.swing.GroupLayout jPanel_DatosPersonalesLayout = new javax.swing.GroupLayout(jPanel_DatosPersonales);
jPanel_DatosPersonales.setLayout(jPanel_DatosPersonalesLayout);
jPanel_DatosPersonalesLayout.setHorizontalGroup(
jPanel_DatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_DatosPersonalesLayout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel_DatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel20)
.addComponent(jLabel23, javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jLabel24, javax.swing.GroupLayout.Alignment.TRAILING))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel_DatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(txt_nombres)
.addComponent(txt_cedula, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(txt_apellidos, javax.swing.GroupLayout.DEFAULT_SIZE, 274, Short.MAX_VALUE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton_activarEncuesta)
.addContainerGap())
);
jPanel_DatosPersonalesLayout.setVerticalGroup(
jPanel_DatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel_DatosPersonalesLayout.createSequentialGroup()
.addGap(3, 3, 3)
.addGroup(jPanel_DatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel20)
.addComponent(txt_cedula, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(3, 3, 3)
.addGroup(jPanel_DatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(txt_nombres, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton_activarEncuesta)
.addComponent(jLabel23))
.addGap(3, 3, 3)
.addGroup(jPanel_DatosPersonalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(txt_apellidos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel24)))
);
jLabel89.setFont(new java.awt.Font("Arial", 1, 14)); // NOI18N
jLabel89.setText("ENCUESTA DE CONTEXTO SEGUNDO PERIODO 2016");
jLabel91.setFont(new java.awt.Font("Arial", 0, 10)); // NOI18N
jLabel91.setText("© Copyright Derechos Reservados - SNNA. Encuesta v1.0, 2016.");
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 644, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap())
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(jLabel91)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton_Atras, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(jButton_Sigueinte)
.addGap(58, 58, 58))))
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel_DatosPersonales, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addContainerGap())))
.addGroup(layout.createSequentialGroup()
.addGap(141, 141, 141)
.addComponent(jLabel89)
.addGap(0, 0, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addGap(0, 0, 0)
.addComponent(jLabel89)
.addGap(0, 0, 0)
.addComponent(jPanel_DatosPersonales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, 0)
.addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 510, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jButton_Sigueinte)
.addComponent(jButton_Atras)
.addComponent(jLabel91))
.addGap(3, 3, 3))
);
pack();
}// </editor-fold>//GEN-END:initComponents
private void jButton_SigueinteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_SigueinteActionPerformed
validaSiguiente();
}//GEN-LAST:event_jButton_SigueinteActionPerformed
private void jButton_AtrasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_AtrasActionPerformed
int i = jTabbedPane1.getSelectedIndex();
if (i > 0) {
i--;
}
jTabbedPane1.setSelectedIndex(i);
index = i;
//CAMBIAR VERSION ANTIGUA FCO
// int i = jTabbedPane1.getSelectedIndex()+1;
// boolean bandera;
// switch(i){
// case 1:
// bandera = validarPreguntasPorPanel(jPanelSec_1);
// break;
// case 2:
// bandera = validarPreguntasPorPanel(jPanelSec_2);
// break;
// case 3:
// bandera = validarPreguntasPorPanel(jPanelSec_3);
// break;
// case 4:
// bandera = validarPreguntasPorPanel(jPanelSec_4);
// break;
// case 5:
// bandera = validarPreguntasPorPanel(jPanelSec_5);
// break;
// case 6:
// bandera = validarPreguntasPorPanel(jPanelSec_6);
// break;
// default:
// bandera = false;
// break;
// }
// i--;
// if(bandera){
// try {
// if (i > 0) {
// jTabbedPane1.setSelectedIndex(--i);
// index = jTabbedPane1.getSelectedIndex();
// }
// generateXML(allComponents);
// } catch (Exception ex) {
// Logger.getLogger(EncuestaContexto.class.getName()).log(Level.SEVERE, null, ex);
// }
// }
}//GEN-LAST:event_jButton_AtrasActionPerformed
private void jTabbedPane1StateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jTabbedPane1StateChanged
int i = jTabbedPane1.getSelectedIndex() + 1;
switch(i){
case 1:
jButton_Sigueinte.setText("Siguiente");
break;
case 2:
jButton_Sigueinte.setText("Siguiente");
break;
case 3:
jButton_Sigueinte.setText("Siguiente");
rad_2215.setEnabled(false);
rad_2216.setEnabled(false);
rad_2217.setEnabled(false);
rad_2218.setEnabled(false);
rad_2219.setEnabled(false);
rad_2220.setEnabled(false);
rad_2221.setEnabled(false);
rad_3105.setEnabled(true);
// if(chk_1802.isSelected())//YO
// habilitaDeshabilitaComponentesRango(3105,3105,true);
if(chk_1803.isSelected())//Padre
habilitaDeshabilitaComponentesRango(2215,2215,true);
if(chk_1804.isSelected())//Madre
habilitaDeshabilitaComponentesRango(2216,2216,true);
if(chk_1805.isSelected())//Hermanos
habilitaDeshabilitaComponentesRango(2217,2217,true);
if(chk_1806.isSelected())//Abuelos
habilitaDeshabilitaComponentesRango(2218,2218,true);
if(chk_1807.isSelected())//Hijo
habilitaDeshabilitaComponentesRango(2219,2219,true);
if(chk_1808.isSelected())//Conyuge
habilitaDeshabilitaComponentesRango(2220,2220,true);
if(chk_1810.isSelected())//Otros
habilitaDeshabilitaComponentesRango(2221,2221,true);
break;
case 4:
jButton_Sigueinte.setText("Siguiente");
break;
case 5:
jButton_Sigueinte.setText("Siguiente");
break;
case 6:
jButton_Sigueinte.setText("Finalizar");
break;
}
}//GEN-LAST:event_jTabbedPane1StateChanged
private void jTabbedPane1MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTabbedPane1MousePressed
jTabbedPane1.setSelectedIndex(index);
//System.out.println(index);
}//GEN-LAST:event_jTabbedPane1MousePressed
private void jTabbedPane1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTabbedPane1MouseEntered
// TODO add your handling code here:
}//GEN-LAST:event_jTabbedPane1MouseEntered
private void jTabbedPane1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTabbedPane1MouseClicked
// TODO add your handling code here:
//jTabbedPane1.setSelectedIndex(index);
}//GEN-LAST:event_jTabbedPane1MouseClicked
private void jScrollPane1FocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jScrollPane1FocusLost
// TODO add your handling code here:
}//GEN-LAST:event_jScrollPane1FocusLost
private void jButton_activarEncuestaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_activarEncuestaActionPerformed
// TODO add your handling code here:
if(txt_cedula.getText().isEmpty() || txt_nombres.getText().isEmpty() || txt_apellidos.getText().isEmpty()){
JOptionPane.showMessageDialog(this, "Todos los campos son obligatorios","¡Atención!",JOptionPane.WARNING_MESSAGE);
}else{
switch(jButton_activarEncuesta.getText()){
case "Activar Encuesta":
for(Component c: jPanelSec_1.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(true);
if(d instanceof JScrollPane){
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_288") && jList_288 != null){
jList_288.setEnabled(true);
}
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_365") && jList_365 != null){
jList_365.setEnabled(true);
}
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_356") && jList_356 != null){
jList_356.setEnabled(true);
}
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_358") && jList_358 != null){
jList_358.setEnabled(true);
}
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_360") && jList_360 != null){
jList_360.setEnabled(true);
}
if(((JScrollPane)d).getName().equalsIgnoreCase("lista_362") && jList_362 != null){
jList_362.setEnabled(true);
}
}
}
}
}
for(Component c: jPanelSec_2.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(true);
}
}
}
for(Component c: jPanelSec_3.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(true);
}
}
}
for(Component c: jPanelSec_4.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(true);
}
}
}
for(Component c: jPanelSec_5.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(true);
}
}
}
for(Component c: jPanelSec_6.getComponents()){
if(c instanceof JPanel && ((JPanel)c).isVisible()){
for(Component d: ((JPanel)c).getComponents()){
d.setEnabled(true);
}
}
}
jButton_Atras.setEnabled(true);
jButton_Sigueinte.setEnabled(true);
txt_cedula.setEnabled(false);
txt_nombres.setEnabled(false);
txt_apellidos.setEnabled(false);
//CAMBIAR VERSION ANTIGUA FCO
jButton_activarEncuesta.setText("Editar");
//jButton_activarEncuesta.setVisible(false);
if(index > 0){
cargarXml();
}
for(int i=0;i<=index;i++){
jTabbedPane1.setEnabledAt(i,true);
}
break;
case "Editar":
txt_cedula.setEnabled(true);
txt_nombres.setEnabled(true);
txt_apellidos.setEnabled(true);
bloqueaPestanias(-1);
jButton_activarEncuesta.setText("Activar Encuesta");
banderaEditar = true;
break;
}
}
}//GEN-LAST:event_jButton_activarEncuestaActionPerformed
private void txt_cedulaKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_cedulaKeyTyped
//soloNumeros(evt,10);
soloLetrasNumeros(evt,10);
}//GEN-LAST:event_txt_cedulaKeyTyped
private void txt_nombresKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_nombresKeyTyped
soloLetras(evt,20);
}//GEN-LAST:event_txt_nombresKeyTyped
private void txt_apellidosKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_apellidosKeyTyped
soloLetras(evt,20);
}//GEN-LAST:event_txt_apellidosKeyTyped
private void rad_2152ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2152ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_rad_2152ActionPerformed
private void rad_2138ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2138ActionPerformed
if(rad_2138.isSelected()){
muestraOcultaPanel(jPanel_295, false);
muestraOcultaPanel(jPanel_297, false);
muestraOcultaPanel(jPanel_311, false);
muestraOcultaPanel(jPanel_312, false);
muestraOcultaPanel(jPanel_315, false);
habilitaDeshabilitaComponentesRango(2297, 2297, false);
}
}//GEN-LAST:event_rad_2138ActionPerformed
private void rad_2137ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2137ActionPerformed
if(rad_2137.isSelected()){
muestraOcultaPanel(jPanel_295, false);
muestraOcultaPanel(jPanel_297, true);
muestraOcultaPanel(jPanel_311, true);
muestraOcultaPanel(jPanel_315, true);
habilitaDeshabilitaComponentesRango(2297, 2297, true);
}
}//GEN-LAST:event_rad_2137ActionPerformed
private void rad_2136ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2136ActionPerformed
if(rad_2136.isSelected()){
muestraOcultaPanel(jPanel_295, false);
muestraOcultaPanel(jPanel_297, true);
muestraOcultaPanel(jPanel_311, true);
muestraOcultaPanel(jPanel_315, true);
habilitaDeshabilitaComponentesRango(2297, 2297, true);
}
}//GEN-LAST:event_rad_2136ActionPerformed
private void rad_2135ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2135ActionPerformed
if(rad_2135.isSelected()){
muestraOcultaPanel(jPanel_295, false);
muestraOcultaPanel(jPanel_297, true);
muestraOcultaPanel(jPanel_311, true);
muestraOcultaPanel(jPanel_315, true);
habilitaDeshabilitaComponentesRango(2297, 2297, true);
}
}//GEN-LAST:event_rad_2135ActionPerformed
private void rad_2134ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2134ActionPerformed
if(rad_2134.isSelected()){
muestraOcultaPanel(jPanel_295, false);
muestraOcultaPanel(jPanel_297, true);
muestraOcultaPanel(jPanel_311, true);
muestraOcultaPanel(jPanel_315, true);
habilitaDeshabilitaComponentesRango(2297, 2297, true);
}
}//GEN-LAST:event_rad_2134ActionPerformed
private void rad_2133ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2133ActionPerformed
if(rad_2133.isSelected()){
muestraOcultaPanel(jPanel_295, false);
muestraOcultaPanel(jPanel_297, true);
muestraOcultaPanel(jPanel_311, true);
muestraOcultaPanel(jPanel_315, true);
habilitaDeshabilitaComponentesRango(2297, 2297, true);
}
}//GEN-LAST:event_rad_2133ActionPerformed
private void rad_2132ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2132ActionPerformed
if(rad_2132.isSelected()){
muestraOcultaPanel(jPanel_295, false);
muestraOcultaPanel(jPanel_297, true);
muestraOcultaPanel(jPanel_311, true);
muestraOcultaPanel(jPanel_315, true);
habilitaDeshabilitaComponentesRango(2297, 2297, true);
}
}//GEN-LAST:event_rad_2132ActionPerformed
private void rad_2131ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2131ActionPerformed
if(rad_2131.isSelected()){
muestraOcultaPanel(jPanel_295, true);
muestraOcultaPanel(jPanel_297, true);
muestraOcultaPanel(jPanel_311, true);
muestraOcultaPanel(jPanel_315, true);
habilitaDeshabilitaComponentesRango(2297, 2297, true);
}
}//GEN-LAST:event_rad_2131ActionPerformed
private void rad_2102ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2102ActionPerformed
if(rad_2102.isSelected()){
muestraOcultaPanel(jPanel_293, false);
muestraOcultaPanel(jPanel_296, false);
muestraOcultaPanel(jPanel_309,false);
muestraOcultaPanel(jPanel_310,false);
muestraOcultaPanel(jPanel_314,false);
habilitaDeshabilitaComponentesRango(2296, 2296, false);
}
}//GEN-LAST:event_rad_2102ActionPerformed
private void rad_2101ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2101ActionPerformed
if(rad_2101.isSelected()){
muestraOcultaPanel(jPanel_293, false);
muestraOcultaPanel(jPanel_296, true);
muestraOcultaPanel(jPanel_309,true);
muestraOcultaPanel(jPanel_314,true);
habilitaDeshabilitaComponentesRango(2296, 2296, true);
}
}//GEN-LAST:event_rad_2101ActionPerformed
private void rad_2100ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2100ActionPerformed
if(rad_2100.isSelected()){
muestraOcultaPanel(jPanel_293, false);
muestraOcultaPanel(jPanel_296, true);
muestraOcultaPanel(jPanel_309,true);
muestraOcultaPanel(jPanel_314,true);
habilitaDeshabilitaComponentesRango(2296, 2296, true);
}
}//GEN-LAST:event_rad_2100ActionPerformed
private void rad_2099ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2099ActionPerformed
if(rad_2099.isSelected()){
muestraOcultaPanel(jPanel_293, false);
muestraOcultaPanel(jPanel_296, true);
muestraOcultaPanel(jPanel_309,true);
muestraOcultaPanel(jPanel_314,true);
habilitaDeshabilitaComponentesRango(2296, 2296, true);
}
}//GEN-LAST:event_rad_2099ActionPerformed
private void rad_2098ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2098ActionPerformed
if(rad_2098.isSelected()){
muestraOcultaPanel(jPanel_293, false);
muestraOcultaPanel(jPanel_296, true);
muestraOcultaPanel(jPanel_309,true);
muestraOcultaPanel(jPanel_314,true);
habilitaDeshabilitaComponentesRango(2296, 2296, true);
}
}//GEN-LAST:event_rad_2098ActionPerformed
private void rad_2097ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2097ActionPerformed
if(rad_2097.isSelected()){
muestraOcultaPanel(jPanel_293, false);
muestraOcultaPanel(jPanel_296, true);
muestraOcultaPanel(jPanel_309,true);
muestraOcultaPanel(jPanel_314,true);
habilitaDeshabilitaComponentesRango(2296, 2296, true);
}
}//GEN-LAST:event_rad_2097ActionPerformed
private void rad_2096ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2096ActionPerformed
if(rad_2096.isSelected()){
muestraOcultaPanel(jPanel_293, false);
muestraOcultaPanel(jPanel_296, true);
muestraOcultaPanel(jPanel_309,true);
muestraOcultaPanel(jPanel_314,true);
habilitaDeshabilitaComponentesRango(2296, 2296, true);
}
}//GEN-LAST:event_rad_2096ActionPerformed
private void rad_2095ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2095ActionPerformed
if(rad_2095.isSelected()){
muestraOcultaPanel(jPanel_293, true);
muestraOcultaPanel(jPanel_296, true);
muestraOcultaPanel(jPanel_309,true);
muestraOcultaPanel(jPanel_314,true);
habilitaDeshabilitaComponentesRango(2296, 2296, true);
}
}//GEN-LAST:event_rad_2095ActionPerformed
private void rad_2093ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2093ActionPerformed
if(rad_2093.isSelected()){
muestraOcultaPanel(jPanel_291, false);
}
}//GEN-LAST:event_rad_2093ActionPerformed
private void rad_2092ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2092ActionPerformed
if(rad_2092.isSelected()){
muestraOcultaPanel(jPanel_291, true);
}
}//GEN-LAST:event_rad_2092ActionPerformed
private void rad_1835ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_1835ActionPerformed
if(rad_1835.isSelected()){
muestraOcultaPanel(jPanel_288, false);
muestraOcultaPanel(jPanel_365, true);
}
}//GEN-LAST:event_rad_1835ActionPerformed
private void rad_1834ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_1834ActionPerformed
if(rad_1834.isSelected()){
muestraOcultaPanel(jPanel_288, true);
muestraOcultaPanel(jPanel_365, false);
}
}//GEN-LAST:event_rad_1834ActionPerformed
private void rad_1833ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_1833ActionPerformed
if(rad_1833.isSelected()){
muestraOcultaPanel(jPanel_288, true);
muestraOcultaPanel(jPanel_365, false);
}
}//GEN-LAST:event_rad_1833ActionPerformed
private void rad_1832ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_1832ActionPerformed
if(rad_1832.isSelected()){
muestraOcultaPanel(jPanel_288, false);
muestraOcultaPanel(jPanel_365, false);
muestraOcultaPanel(jPanel_289, true);
}
}//GEN-LAST:event_rad_1832ActionPerformed
private void chk_1827ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1827ActionPerformed
if(chk_1827.isSelected()){
habilitaDeshabilitaComponentesRango(2217, 2217, false);
}else{
habilitaDeshabilitaComponentesRango(2217, 2217, true);
}
}//GEN-LAST:event_chk_1827ActionPerformed
private void rad_1823ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_1823ActionPerformed
if(rad_1823.isSelected()){
muestraOcultaPanel(jPanel_286, false);
muestraOcultaPanel(jPanel_287, false);
muestraOcultaPanel(jPanel_288, false);
muestraOcultaPanel(jPanel_289, false);
muestraOcultaPanel(jPanel_290, false);
muestraOcultaPanel(jPanel_291, false);
muestraOcultaPanel(jPanel_365, false);
}
}//GEN-LAST:event_rad_1823ActionPerformed
private void rad_1822ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_1822ActionPerformed
if(rad_1822.isSelected()){
muestraOcultaPanel(jPanel_286, true);
muestraOcultaPanel(jPanel_287, true);
muestraOcultaPanel(jPanel_289, true);
muestraOcultaPanel(jPanel_290, true);
}
}//GEN-LAST:event_rad_1822ActionPerformed
private void rad_1813ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_1813ActionPerformed
if(rad_1813.isSelected()){
muestraOcultaPanel(jPanel_284,false);
}
}//GEN-LAST:event_rad_1813ActionPerformed
private void rad_1812ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_1812ActionPerformed
if(rad_1812.isSelected()){
muestraOcultaPanel(jPanel_284,true);
}
}//GEN-LAST:event_rad_1812ActionPerformed
private void chk_1810ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1810ActionPerformed
if(chk_1810.isSelected()){
habilitaDeshabilitaComponentesRango(1821,1821,true);
habilitaDeshabilitaComponentesRango(2221,2221,true);
}else{
habilitaDeshabilitaComponentesRango(1821,1821,false);
habilitaDeshabilitaComponentesRango(2221,2221,false);
}
bgSec3_307.clearSelection();
txt_2191.setText("");
}//GEN-LAST:event_chk_1810ActionPerformed
private void chk_1809ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1809ActionPerformed
bgSec3_307.clearSelection();
txt_2191.setText("");
}//GEN-LAST:event_chk_1809ActionPerformed
private void chk_1808ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1808ActionPerformed
if(chk_1808.isSelected()){
habilitaDeshabilitaComponentesRango(1830,1830,false);
habilitaDeshabilitaComponentesRango(2220,2220,true);
habilitaDeshabilitaComponentesRango(1820,1820,true);
}else{
habilitaDeshabilitaComponentesRango(1830,1830,true);
habilitaDeshabilitaComponentesRango(2220,2220,false);
habilitaDeshabilitaComponentesRango(1820,1820,false);
}
bgSec3_307.clearSelection();
txt_2191.setText("");
}//GEN-LAST:event_chk_1808ActionPerformed
private void chk_1807ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1807ActionPerformed
if(chk_1807.isSelected()){
habilitaDeshabilitaComponentesRango(1819,1819,true);
habilitaDeshabilitaComponentesRango(2219,2219,true);
}else{
habilitaDeshabilitaComponentesRango(1819,1819,false);
habilitaDeshabilitaComponentesRango(2219,2219,false);
}
bgSec3_307.clearSelection();
txt_2191.setText("");
}//GEN-LAST:event_chk_1807ActionPerformed
private void chk_1806ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1806ActionPerformed
if(chk_1806.isSelected()){
habilitaDeshabilitaComponentesRango(1818,1818,true);
habilitaDeshabilitaComponentesRango(2218,2218,true);
}else{
habilitaDeshabilitaComponentesRango(1818,1818,false);
habilitaDeshabilitaComponentesRango(2218,2218,false);
}
bgSec3_307.clearSelection();
txt_2191.setText("");
}//GEN-LAST:event_chk_1806ActionPerformed
private void chk_1805ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1805ActionPerformed
if(chk_1805.isSelected()){
habilitaDeshabilitaComponentesRango(1817,1817,true);
habilitaDeshabilitaComponentesRango(2217,2217,true);
}else{
habilitaDeshabilitaComponentesRango(1817,1817,false);
habilitaDeshabilitaComponentesRango(2217,2217,false);
}
bgSec3_307.clearSelection();
txt_2191.setText("");
}//GEN-LAST:event_chk_1805ActionPerformed
private void chk_1804ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1804ActionPerformed
if(chk_1804.isSelected()){
habilitaDeshabilitaComponentesRango(1826,1826,false);
habilitaDeshabilitaComponentesRango(2138,2138,false);
habilitaDeshabilitaComponentesRango(2216,2216,true);
habilitaDeshabilitaComponentesRango(1816,1816,true);
}else{
habilitaDeshabilitaComponentesRango(1826,1826,true);
habilitaDeshabilitaComponentesRango(2138,2138,true);
habilitaDeshabilitaComponentesRango(1816,1816,false);
}
bgSec3_307.clearSelection();
txt_2191.setText("");
}//GEN-LAST:event_chk_1804ActionPerformed
private void chk_1803ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1803ActionPerformed
if(chk_1803.isSelected()){
habilitaDeshabilitaComponentesRango(1825,1825,false);
habilitaDeshabilitaComponentesRango(2102,2102,false);
habilitaDeshabilitaComponentesRango(2215,2215,true);
habilitaDeshabilitaComponentesRango(1815,1815,true);
}else{
habilitaDeshabilitaComponentesRango(1825,1825,true);
habilitaDeshabilitaComponentesRango(2102,2102,true);
habilitaDeshabilitaComponentesRango(2215,2215,false);
habilitaDeshabilitaComponentesRango(1815,1815,false);
}
bgSec3_307.clearSelection();
txt_2191.setText("");
}//GEN-LAST:event_chk_1803ActionPerformed
private void chk_1802ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1802ActionPerformed
if(chk_1802.isSelected()){
habilitaDeshabilitaComponentesRango(1803,1811,false);
habilitaDeshabilitaComponentesRango(1824,1831,true);
habilitaDeshabilitaComponentesRango(2215,2221,true);
habilitaDeshabilitaComponentesRango(2095,2102,true);
habilitaDeshabilitaComponentesRango(2131,2138,true);
habilitaDeshabilitaComponentesRango(1814,1814,true);
}else{
habilitaDeshabilitaComponentesRango(1803,1811,true);
habilitaDeshabilitaComponentesRango(1814,1814,false);
}
bgSec3_307.clearSelection();
txt_2191.setText("");
}//GEN-LAST:event_chk_1802ActionPerformed
private void rad_2420ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2420ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_rad_2420ActionPerformed
private void rad_2168ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2168ActionPerformed
if(rad_2168.isSelected()){
muestraOcultaPanel(jPanel_356,true);
muestraOcultaPanel(jPanel_360,false);
}
}//GEN-LAST:event_rad_2168ActionPerformed
private void rad_2169ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2169ActionPerformed
if(rad_2169.isSelected()){
muestraOcultaPanel(jPanel_360,true);
muestraOcultaPanel(jPanel_356,false);
}
}//GEN-LAST:event_rad_2169ActionPerformed
private void rad_2167ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2167ActionPerformed
if(rad_2167.isSelected()){
muestraOcultaPanel(jPanel_360,false);
muestraOcultaPanel(jPanel_356,false);
}
}//GEN-LAST:event_rad_2167ActionPerformed
private void rad_2170ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2170ActionPerformed
if(rad_2170.isSelected()){
muestraOcultaPanel(jPanel_360,false);
muestraOcultaPanel(jPanel_356,false);
}
}//GEN-LAST:event_rad_2170ActionPerformed
private void rad_2171ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2171ActionPerformed
if(rad_2171.isSelected()){
muestraOcultaPanel(jPanel_358,false);
muestraOcultaPanel(jPanel_362,false);
}
}//GEN-LAST:event_rad_2171ActionPerformed
private void rad_2172ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2172ActionPerformed
if(rad_2172.isSelected()){
muestraOcultaPanel(jPanel_358,true);
muestraOcultaPanel(jPanel_362,false);
}
}//GEN-LAST:event_rad_2172ActionPerformed
private void rad_2173ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2173ActionPerformed
if(rad_2173.isSelected()){
muestraOcultaPanel(jPanel_358,false);
muestraOcultaPanel(jPanel_362,true);
}
}//GEN-LAST:event_rad_2173ActionPerformed
private void rad_2174ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2174ActionPerformed
if(rad_2174.isSelected()){
muestraOcultaPanel(jPanel_358,false);
muestraOcultaPanel(jPanel_362,false);
}
}//GEN-LAST:event_rad_2174ActionPerformed
private void txt_2094KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_2094KeyTyped
soloNumerosRango(evt, 5, 1, 10000);
}//GEN-LAST:event_txt_2094KeyTyped
private void rad_2182ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2182ActionPerformed
if(rad_2182.isSelected()){
muestraOcultaPanel(jPanel_299,true);
muestraOcultaPanel(jPanel_300,true);
muestraOcultaPanel(jPanel_301,true);
muestraOcultaPanel(jPanel_302,true);
muestraOcultaPanel(jPanel_303,true);
muestraOcultaPanel(jPanel_304,true);
muestraOcultaPanel(jPanel_305,true);
muestraOcultaPanel(jPanel_306,true);
}
}//GEN-LAST:event_rad_2182ActionPerformed
private void rad_2181ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2181ActionPerformed
if(rad_2181.isSelected()){
muestraOcultaPanel(jPanel_299,false);
muestraOcultaPanel(jPanel_300,true);
muestraOcultaPanel(jPanel_301,true);
muestraOcultaPanel(jPanel_302,true);
muestraOcultaPanel(jPanel_303,true);
muestraOcultaPanel(jPanel_304,true);
muestraOcultaPanel(jPanel_305,true);
muestraOcultaPanel(jPanel_306,true);
}
}//GEN-LAST:event_rad_2181ActionPerformed
private void rad_2180ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2180ActionPerformed
if(rad_2180.isSelected()){
muestraOcultaPanel(jPanel_299,false);
muestraOcultaPanel(jPanel_300,true);
muestraOcultaPanel(jPanel_301,true);
muestraOcultaPanel(jPanel_302,true);
muestraOcultaPanel(jPanel_303,true);
muestraOcultaPanel(jPanel_304,true);
muestraOcultaPanel(jPanel_305,true);
muestraOcultaPanel(jPanel_306,true);
}
}//GEN-LAST:event_rad_2180ActionPerformed
private void rad_2179ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2179ActionPerformed
if(rad_2179.isSelected()){
muestraOcultaPanel(jPanel_299,false);
muestraOcultaPanel(jPanel_300,true);
muestraOcultaPanel(jPanel_301,true);
muestraOcultaPanel(jPanel_302,true);
muestraOcultaPanel(jPanel_303,true);
muestraOcultaPanel(jPanel_304,true);
muestraOcultaPanel(jPanel_305,true);
muestraOcultaPanel(jPanel_306,true);
}
}//GEN-LAST:event_rad_2179ActionPerformed
private void rad_2178ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2178ActionPerformed
if(rad_2178.isSelected()){
muestraOcultaPanel(jPanel_299,false);
muestraOcultaPanel(jPanel_300,true);
muestraOcultaPanel(jPanel_301,true);
muestraOcultaPanel(jPanel_302,true);
muestraOcultaPanel(jPanel_303,true);
muestraOcultaPanel(jPanel_304,true);
muestraOcultaPanel(jPanel_305,true);
muestraOcultaPanel(jPanel_306,true);
}
}//GEN-LAST:event_rad_2178ActionPerformed
private void rad_2177ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2177ActionPerformed
if(rad_2177.isSelected()){
muestraOcultaPanel(jPanel_299,false);
muestraOcultaPanel(jPanel_300,true);
muestraOcultaPanel(jPanel_301,true);
muestraOcultaPanel(jPanel_302,true);
muestraOcultaPanel(jPanel_303,true);
muestraOcultaPanel(jPanel_304,true);
muestraOcultaPanel(jPanel_305,true);
muestraOcultaPanel(jPanel_306,true);
}
}//GEN-LAST:event_rad_2177ActionPerformed
private void rad_2176ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2176ActionPerformed
if(rad_2176.isSelected()){
muestraOcultaPanel(jPanel_299,false);
muestraOcultaPanel(jPanel_300,true);
muestraOcultaPanel(jPanel_301,true);
muestraOcultaPanel(jPanel_302,true);
muestraOcultaPanel(jPanel_303,true);
muestraOcultaPanel(jPanel_304,true);
muestraOcultaPanel(jPanel_305,true);
muestraOcultaPanel(jPanel_306,true);
}
}//GEN-LAST:event_rad_2176ActionPerformed
private void rad_2175ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2175ActionPerformed
if(rad_2175.isSelected()){
muestraOcultaPanel(jPanel_299,false);
muestraOcultaPanel(jPanel_300,true);
muestraOcultaPanel(jPanel_301,true);
muestraOcultaPanel(jPanel_302,true);
muestraOcultaPanel(jPanel_303,true);
muestraOcultaPanel(jPanel_304,true);
muestraOcultaPanel(jPanel_305,true);
muestraOcultaPanel(jPanel_306,true);
}
}//GEN-LAST:event_rad_2175ActionPerformed
private void txt_2191KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_2191KeyTyped
if(chk_1802.isSelected()){//Solo
soloNumerosRango(evt,1,1,1);
return;
}
//Padre
if(chk_1803.isSelected() && !chk_1804.isSelected() && !chk_1805.isSelected() && !chk_1806.isSelected() && !chk_1807.isSelected() && !chk_1808.isSelected() && !chk_1809.isSelected() && !chk_1810.isSelected() && !chk_1811.isSelected()){
soloNumerosRango(evt,1,2,2);
return;
}
//Madre
if(!chk_1803.isSelected() && chk_1804.isSelected() && !chk_1805.isSelected() && !chk_1806.isSelected() && !chk_1807.isSelected() && !chk_1808.isSelected() && !chk_1809.isSelected() && !chk_1810.isSelected() && !chk_1811.isSelected()){
soloNumerosRango(evt,1,2,2);
return;
}
//Conyugue
if(!chk_1803.isSelected() && !chk_1804.isSelected() && !chk_1805.isSelected() && !chk_1806.isSelected() && !chk_1807.isSelected() && chk_1808.isSelected() && !chk_1809.isSelected() && !chk_1810.isSelected() && !chk_1811.isSelected()){
soloNumerosRango(evt,1,2,2);
return;
}
//Padre y Madre
if(chk_1803.isSelected() && chk_1804.isSelected() && !chk_1805.isSelected() && !chk_1806.isSelected() && !chk_1807.isSelected() && !chk_1808.isSelected() && !chk_1809.isSelected() && !chk_1810.isSelected() && !chk_1811.isSelected()){
soloNumerosRango(evt,1,3,3);
return;
}
//Padre y Conyugue
if(chk_1803.isSelected() && !chk_1804.isSelected() && !chk_1805.isSelected() && !chk_1806.isSelected() && !chk_1807.isSelected() && chk_1808.isSelected() && !chk_1809.isSelected() && !chk_1810.isSelected() && !chk_1811.isSelected()){
soloNumerosRango(evt,1,3,3);
return;
}
//Madre y Conyugue
if(!chk_1803.isSelected() && chk_1804.isSelected() && !chk_1805.isSelected() && !chk_1806.isSelected() && !chk_1807.isSelected() && chk_1808.isSelected() && !chk_1809.isSelected() && !chk_1810.isSelected() && !chk_1811.isSelected()){
soloNumerosRango(evt,1,3,3);
return;
}
soloNumerosRango(evt,1,2,20);
}//GEN-LAST:event_txt_2191KeyTyped
private void txt_2192KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_2192KeyTyped
soloNumerosRango(evt, 2, 1, 10);
}//GEN-LAST:event_txt_2192KeyTyped
private void rad_2183ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2183ActionPerformed
if(rad_2183.isSelected()){
muestraOcultaPanel(jPanel_300,false);
muestraOcultaPanel(jPanel_301,false);
muestraOcultaPanel(jPanel_302,false);
muestraOcultaPanel(jPanel_303,false);
muestraOcultaPanel(jPanel_304,false);
muestraOcultaPanel(jPanel_305,false);
muestraOcultaPanel(jPanel_306,false);
}
}//GEN-LAST:event_rad_2183ActionPerformed
private void rad_2184ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2184ActionPerformed
if(rad_2184.isSelected()){
muestraOcultaPanel(jPanel_300,false);
muestraOcultaPanel(jPanel_301,false);
muestraOcultaPanel(jPanel_302,false);
muestraOcultaPanel(jPanel_303,false);
muestraOcultaPanel(jPanel_304,false);
muestraOcultaPanel(jPanel_305,false);
muestraOcultaPanel(jPanel_306,false);
}
}//GEN-LAST:event_rad_2184ActionPerformed
private void rad_2185ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2185ActionPerformed
if(rad_2185.isSelected()){
muestraOcultaPanel(jPanel_300,false);
muestraOcultaPanel(jPanel_301,false);
muestraOcultaPanel(jPanel_302,false);
muestraOcultaPanel(jPanel_303,false);
muestraOcultaPanel(jPanel_304,false);
muestraOcultaPanel(jPanel_305,false);
muestraOcultaPanel(jPanel_306,false);
}
}//GEN-LAST:event_rad_2185ActionPerformed
private void rad_2186ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2186ActionPerformed
if(rad_2186.isSelected()){
muestraOcultaPanel(jPanel_300,false);
muestraOcultaPanel(jPanel_301,false);
muestraOcultaPanel(jPanel_302,false);
muestraOcultaPanel(jPanel_303,false);
muestraOcultaPanel(jPanel_304,false);
muestraOcultaPanel(jPanel_305,false);
muestraOcultaPanel(jPanel_306,false);
}
}//GEN-LAST:event_rad_2186ActionPerformed
private void rad_2187ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2187ActionPerformed
if(rad_2187.isSelected()){
muestraOcultaPanel(jPanel_300,false);
muestraOcultaPanel(jPanel_301,false);
muestraOcultaPanel(jPanel_302,false);
muestraOcultaPanel(jPanel_303,false);
muestraOcultaPanel(jPanel_304,false);
muestraOcultaPanel(jPanel_305,false);
muestraOcultaPanel(jPanel_306,false);
}
}//GEN-LAST:event_rad_2187ActionPerformed
private void rad_2188ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2188ActionPerformed
if(rad_2188.isSelected()){
muestraOcultaPanel(jPanel_300,false);
muestraOcultaPanel(jPanel_301,false);
muestraOcultaPanel(jPanel_302,false);
muestraOcultaPanel(jPanel_303,false);
muestraOcultaPanel(jPanel_304,false);
muestraOcultaPanel(jPanel_305,false);
muestraOcultaPanel(jPanel_306,false);
}
}//GEN-LAST:event_rad_2188ActionPerformed
private void rad_2189ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2189ActionPerformed
if(rad_2189.isSelected()){
muestraOcultaPanel(jPanel_300,false);
muestraOcultaPanel(jPanel_301,false);
muestraOcultaPanel(jPanel_302,false);
muestraOcultaPanel(jPanel_303,false);
muestraOcultaPanel(jPanel_304,false);
muestraOcultaPanel(jPanel_305,false);
muestraOcultaPanel(jPanel_306,false);
}
}//GEN-LAST:event_rad_2189ActionPerformed
private void rad_2190ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2190ActionPerformed
if(rad_2190.isSelected()){
muestraOcultaPanel(jPanel_300,false);
muestraOcultaPanel(jPanel_301,false);
muestraOcultaPanel(jPanel_302,false);
muestraOcultaPanel(jPanel_303,false);
muestraOcultaPanel(jPanel_304,false);
muestraOcultaPanel(jPanel_305,false);
muestraOcultaPanel(jPanel_306,false);
}
}//GEN-LAST:event_rad_2190ActionPerformed
private void chk_1825ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1825ActionPerformed
if(chk_1825.isSelected()){
habilitaDeshabilitaComponentesRango(2215, 2215, false);
}else{
habilitaDeshabilitaComponentesRango(2215, 2215, true);
}
}//GEN-LAST:event_chk_1825ActionPerformed
private void chk_1826ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1826ActionPerformed
if(chk_1826.isSelected()){
habilitaDeshabilitaComponentesRango(2216, 2216, false);
}else{
habilitaDeshabilitaComponentesRango(2216, 2216, true);
}
}//GEN-LAST:event_chk_1826ActionPerformed
private void chk_1828ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1828ActionPerformed
if(chk_1828.isSelected()){
habilitaDeshabilitaComponentesRango(2218, 2218, false);
}else{
habilitaDeshabilitaComponentesRango(2218, 2218, true);
}
}//GEN-LAST:event_chk_1828ActionPerformed
private void chk_1829ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1829ActionPerformed
if(chk_1829.isSelected()){
habilitaDeshabilitaComponentesRango(2219, 2219, false);
}else{
habilitaDeshabilitaComponentesRango(2219, 2219, true);
}
}//GEN-LAST:event_chk_1829ActionPerformed
private void chk_1830ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1830ActionPerformed
if(chk_1830.isSelected()){
habilitaDeshabilitaComponentesRango(2220, 2220, false);
}else{
habilitaDeshabilitaComponentesRango(2220, 2220, true);
}
}//GEN-LAST:event_chk_1830ActionPerformed
private void chk_1831ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1831ActionPerformed
if(chk_1831.isSelected()){
habilitaDeshabilitaComponentesRango(2221, 2221, false);
}else{
habilitaDeshabilitaComponentesRango(2221, 2221, true);
}
}//GEN-LAST:event_chk_1831ActionPerformed
private void rad_2231ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2231ActionPerformed
if(rad_2231.isSelected()){
muestraOcultaPanel(jPanel_310,true);
}
}//GEN-LAST:event_rad_2231ActionPerformed
private void rad_2232ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2232ActionPerformed
if(rad_2232.isSelected()){
muestraOcultaPanel(jPanel_310,true);
}
}//GEN-LAST:event_rad_2232ActionPerformed
private void rad_2233ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2233ActionPerformed
if(rad_2233.isSelected()){
muestraOcultaPanel(jPanel_310,true);
}
}//GEN-LAST:event_rad_2233ActionPerformed
private void rad_2234ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2234ActionPerformed
if(rad_2234.isSelected()){
muestraOcultaPanel(jPanel_310,true);
}
}//GEN-LAST:event_rad_2234ActionPerformed
private void rad_2235ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2235ActionPerformed
if(rad_2235.isSelected()){
muestraOcultaPanel(jPanel_310,true);
}
}//GEN-LAST:event_rad_2235ActionPerformed
private void rad_2236ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2236ActionPerformed
if(rad_2236.isSelected()){
muestraOcultaPanel(jPanel_310,true);
}
}//GEN-LAST:event_rad_2236ActionPerformed
private void rad_2237ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2237ActionPerformed
if(rad_2237.isSelected()){
muestraOcultaPanel(jPanel_310,true);
}
}//GEN-LAST:event_rad_2237ActionPerformed
private void rad_2238ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2238ActionPerformed
if(rad_2238.isSelected()){
muestraOcultaPanel(jPanel_310,true);
}
}//GEN-LAST:event_rad_2238ActionPerformed
private void rad_2239ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2239ActionPerformed
if(rad_2239.isSelected()){
muestraOcultaPanel(jPanel_310,true);
}
}//GEN-LAST:event_rad_2239ActionPerformed
private void rad_2230ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2230ActionPerformed
if(rad_2230.isSelected()){
muestraOcultaPanel(jPanel_310,false);
}
}//GEN-LAST:event_rad_2230ActionPerformed
private void txt_2467KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_2467KeyTyped
if(rad_2231.isSelected()){
soloNumerosRango(evt, 1, 1, 3);
}
if(rad_2232.isSelected()){
soloNumerosRango(evt, 1, 1, 1);
}
if(rad_2233.isSelected()){
soloNumerosRango(evt, 1, 1, 6);
}
if(rad_2234.isSelected()){
soloNumerosRango(evt, 1, 1, 10);
}
if(rad_2235.isSelected()){
soloNumerosRango(evt, 1, 1, 6);
}
if(rad_2236.isSelected()){
soloNumerosRango(evt, 1, 1, 3);
}
if(rad_2237.isSelected()){
soloNumerosRango(evt, 1, 1, 4);
}
if(rad_2238.isSelected()){
soloNumerosRango(evt, 1, 1, 7);
}
if(rad_2239.isSelected()){
soloNumerosRango(evt, 1, 1, 5);
}
}//GEN-LAST:event_txt_2467KeyTyped
private void txt_2250KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txt_2250KeyTyped
if(rad_2241.isSelected()){
soloNumerosRango(evt, 1, 1, 3);
}
if(rad_2242.isSelected()){
soloNumerosRango(evt, 1, 1, 1);
}
if(rad_2243.isSelected()){
soloNumerosRango(evt, 1, 1, 6);
}
if(rad_2244.isSelected()){
soloNumerosRango(evt, 1, 1, 10);
}
if(rad_2245.isSelected()){
soloNumerosRango(evt, 1, 1, 6);
}
if(rad_2246.isSelected()){
soloNumerosRango(evt, 1, 1, 3);
}
if(rad_2247.isSelected()){
soloNumerosRango(evt, 1, 1, 4);
}
if(rad_2248.isSelected()){
soloNumerosRango(evt, 1, 1, 7);
}
if(rad_2249.isSelected()){
soloNumerosRango(evt, 1, 1, 5);
}
}//GEN-LAST:event_txt_2250KeyTyped
private void rad_2241ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2241ActionPerformed
if(rad_2241.isSelected()){
muestraOcultaPanel(jPanel_312,true);
}
}//GEN-LAST:event_rad_2241ActionPerformed
private void rad_2242ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2242ActionPerformed
if(rad_2242.isSelected()){
muestraOcultaPanel(jPanel_312,true);
}
}//GEN-LAST:event_rad_2242ActionPerformed
private void rad_2243ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2243ActionPerformed
if(rad_2243.isSelected()){
muestraOcultaPanel(jPanel_312,true);
}
}//GEN-LAST:event_rad_2243ActionPerformed
private void rad_2244ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2244ActionPerformed
if(rad_2244.isSelected()){
muestraOcultaPanel(jPanel_312,true);
}
}//GEN-LAST:event_rad_2244ActionPerformed
private void rad_2245ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2245ActionPerformed
if(rad_2245.isSelected()){
muestraOcultaPanel(jPanel_312,true);
}
}//GEN-LAST:event_rad_2245ActionPerformed
private void rad_2246ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2246ActionPerformed
if(rad_2246.isSelected()){
muestraOcultaPanel(jPanel_312,true);
}
}//GEN-LAST:event_rad_2246ActionPerformed
private void rad_2247ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2247ActionPerformed
if(rad_2247.isSelected()){
muestraOcultaPanel(jPanel_312,true);
}
}//GEN-LAST:event_rad_2247ActionPerformed
private void rad_2248ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2248ActionPerformed
if(rad_2248.isSelected()){
muestraOcultaPanel(jPanel_312,true);
}
}//GEN-LAST:event_rad_2248ActionPerformed
private void rad_2249ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2249ActionPerformed
if(rad_2249.isSelected()){
muestraOcultaPanel(jPanel_312,true);
}
}//GEN-LAST:event_rad_2249ActionPerformed
private void rad_2240ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2240ActionPerformed
if(rad_2240.isSelected()){
muestraOcultaPanel(jPanel_312,false);
}
}//GEN-LAST:event_rad_2240ActionPerformed
private void rad_2294ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2294ActionPerformed
if(rad_2294.isSelected()){
muestraOcultaPanel(jPanel_320,true);
}
}//GEN-LAST:event_rad_2294ActionPerformed
private void rad_2295ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2295ActionPerformed
if(rad_2295.isSelected()){
muestraOcultaPanel(jPanel_320,false);
}
}//GEN-LAST:event_rad_2295ActionPerformed
private void rad_2318ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2318ActionPerformed
if(rad_2318.isSelected()){
muestraOcultaPanel(jPanel_324,true);
}
}//GEN-LAST:event_rad_2318ActionPerformed
private void rad_2319ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2319ActionPerformed
if(rad_2319.isSelected()){
muestraOcultaPanel(jPanel_324,false);
}
}//GEN-LAST:event_rad_2319ActionPerformed
private void rad_2353ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2353ActionPerformed
if(rad_2353.isSelected()){
muestraOcultaPanel(jPanel_331,true);
}
}//GEN-LAST:event_rad_2353ActionPerformed
private void rad_2354ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2354ActionPerformed
if(rad_2354.isSelected()){
muestraOcultaPanel(jPanel_331,false);
}
}//GEN-LAST:event_rad_2354ActionPerformed
private void rad_2355ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2355ActionPerformed
if(rad_2355.isSelected()){
muestraOcultaPanel(jPanel_331,false);
}
}//GEN-LAST:event_rad_2355ActionPerformed
private void rad_2356ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2356ActionPerformed
if(rad_2356.isSelected()){
muestraOcultaPanel(jPanel_331,false);
}
}//GEN-LAST:event_rad_2356ActionPerformed
private void rad_2357ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2357ActionPerformed
if(rad_2357.isSelected()){
muestraOcultaPanel(jPanel_331,false);
}
}//GEN-LAST:event_rad_2357ActionPerformed
private void rad_2358ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2358ActionPerformed
if(rad_2358.isSelected()){
muestraOcultaPanel(jPanel_331,false);
}
}//GEN-LAST:event_rad_2358ActionPerformed
private void rad_2359ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rad_2359ActionPerformed
if(rad_2359.isSelected()){
muestraOcultaPanel(jPanel_331,false);
}
}//GEN-LAST:event_rad_2359ActionPerformed
private void chk_1811ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1811ActionPerformed
if(chk_1811.isSelected()){
habilitaDeshabilitaComponentesRango(1802,1810,false);
habilitaDeshabilitaComponentesRango(1824,1831,true);
habilitaDeshabilitaComponentesRango(2215,2221,true);
habilitaDeshabilitaComponentesRango(2095,2102,true);
habilitaDeshabilitaComponentesRango(2131,2138,true);
}else{
habilitaDeshabilitaComponentesRango(1802,1810,true);
}
bgSec3_307.clearSelection();
txt_2191.setText("");
}//GEN-LAST:event_chk_1811ActionPerformed
private void chk_1815ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1815ActionPerformed
if(chk_1815.isSelected()){
habilitaDeshabilitaComponentesRango(2170,2170,true);
}else{
habilitaDeshabilitaComponentesRango(2170,2170,false);
}
bgSec1_296.clearSelection();
}//GEN-LAST:event_chk_1815ActionPerformed
private void chk_1816ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1816ActionPerformed
if(chk_1816.isSelected()){
habilitaDeshabilitaComponentesRango(2174,2174,true);
}else{
habilitaDeshabilitaComponentesRango(2174,2174,false);
}
bgSec1_297.clearSelection();
}//GEN-LAST:event_chk_1816ActionPerformed
private void chk_1824ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_1824ActionPerformed
if(chk_1824.isSelected()){
habilitaDeshabilitaComponentesRango(3105,3105,true);
}else{
habilitaDeshabilitaComponentesRango(3105,3105,false);
}
bgSec3_307.clearSelection();
}//GEN-LAST:event_chk_1824ActionPerformed
private void chk_3108ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_3108ActionPerformed
if(chk_3108.isSelected()){
habilitaDeshabilitaComponentesRango(2289,2293,false);
}else{
habilitaDeshabilitaComponentesRango(2289,2293,true);
}
}//GEN-LAST:event_chk_3108ActionPerformed
private void chk_3110ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_3110ActionPerformed
if(chk_3110.isSelected()){
habilitaDeshabilitaComponentesRango(2364,2368,false);
}else{
habilitaDeshabilitaComponentesRango(2364,2368,true);
}
}//GEN-LAST:event_chk_3110ActionPerformed
private void chk_3111ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chk_3111ActionPerformed
if(chk_3111.isSelected()){
habilitaDeshabilitaComponentesRango(2377,2379,false);
}else{
habilitaDeshabilitaComponentesRango(2377,2379,true);
}
}//GEN-LAST:event_chk_3111ActionPerformed
/**
*
* @param j
* @return
*/
public HashMap<String,Component> obtenerComponentesPorPanel(JPanel j) {
try {
Component[] componentes = j.getComponents();
HashMap<String,Component> componentMap = new HashMap<>();
for (int i = 0; i < componentes.length; i++) {
if (componentes[i] instanceof JPanel) {
componentMap.put(componentes[i].getName(), componentes[i]);
Component[] auxiliar = ((JPanel)componentes[i]).getComponents();
for (int a = 0; a < auxiliar.length; a++) {
componentMap.put(auxiliar[a].getName(), auxiliar[a]);
}
}
if (componentes[i] instanceof JLabel) {
componentMap.put(componentes[i].getName(), componentes[i]);
}
}
return componentMap;
} catch (Exception ex) {
Logger.getLogger(EncuestaContexto.class.getName()).log(Level.SEVERE, null, ex);
return null;
}
}
/**
*
* @param name
* @return
*/
public Component obtenerComponentePorName(String name) {
if (allComponents.containsKey(name)) {
return (Component) allComponents.get(name);
}else{
return null;
}
}
/**
*
* @param name
*/
private void limpiaSeleccionRadio(String name){
switch(name){
case "283":
bgSec1_283.clearSelection();
break;
case "285":
bgSec1_285.clearSelection();
break;
case "287":
bgSec1_287.clearSelection();
break;
case "289":
bgSec1_289.clearSelection();
break;
case "290":
bgSec1_290.clearSelection();
break;
case "292":
bgSec1_292.clearSelection();
break;
case "293":
bgSec1_293.clearSelection();
break;
case "294":
bgSec1_294.clearSelection();
break;
case "295":
bgSec1_295.clearSelection();
break;
case "296":
bgSec1_296.clearSelection();
break;
case "297":
bgSec1_297.clearSelection();
break;
case "298":
bgSec2_298.clearSelection();
break;
case "299":
bgSec2_299.clearSelection();
break;
case "302":
bgSec2_302.clearSelection();
break;
case "303":
bgSec2_303.clearSelection();
break;
case "304":
bgSec2_304.clearSelection();
break;
case "305":
bgSec2_305.clearSelection();
break;
case "306":
bgSec2_306.clearSelection();
break;
case "307":
bgSec3_307.clearSelection();
break;
case "308":
bgSec3_308.clearSelection();
break;
case "309":
bgSec3_309.clearSelection();
break;
case "311":
bgSec3_311.clearSelection();
break;
case "313":
bgSec3_313.clearSelection();
break;
case "314":
bgSec3_314.clearSelection();
break;
case "315":
bgSec3_315.clearSelection();
break;
case "316":
bgSec3_316.clearSelection();
break;
case "317":
bgSec3_317.clearSelection();
break;
case "319":
bgSec3_319.clearSelection();
break;
case "321":
bgSec3_321.clearSelection();
break;
case "322":
bgSec3_322.clearSelection();
break;
case "323":
bgSec3_323.clearSelection();
break;
case "324":
bgSec3_324.clearSelection();
break;
case "325":
bgSec3_325.clearSelection();
break;
case "326":
bgSec3_326.clearSelection();
break;
case "327":
bgSec4_327.clearSelection();
break;
case "328":
bgSec4_328.clearSelection();
break;
case "329":
bgSec4_329.clearSelection();
break;
case "330":
bgSec4_330.clearSelection();
break;
case "331":
bgSec4_331.clearSelection();
break;
case "333":
bgSec5_333.clearSelection();
break;
case "334":
bgSec5_334.clearSelection();
break;
case "336":
bgSec5_336.clearSelection();
break;
case "337":
bgSec5_337.clearSelection();
break;
case "338":
bgSec6_338.clearSelection();
break;
case "339":
bgSec6_339.clearSelection();
break;
case "340":
bgSec6_340.clearSelection();
break;
case "342":
bgSec6_342.clearSelection();
break;
case "343":
bgSec6_343.clearSelection();
break;
case "344":
bgSec6_344.clearSelection();
break;
case "345":
bgSec6_345.clearSelection();
break;
case "346":
bgSec6_346.clearSelection();
break;
case "348":
bgSec6_348.clearSelection();
break;
case "349":
bgSec6_349.clearSelection();
break;
case "350":
bgSec6_350.clearSelection();
break;
case "351":
bgSec6_351.clearSelection();
break;
case "352":
bgSec6_352.clearSelection();
break;
case "353":
bgSec6_353.clearSelection();
break;
}
}
/**
*
* @param panel
* @param opcion
*/
private void muestraOcultaPanel(JPanel panel,boolean opcion){
panel.setVisible(opcion);
Component[] componentes1 = panel.getComponents();
for (int a = 0; a < componentes1.length; a++) {
if(componentes1[a] instanceof JRadioButton){
String name = ((JRadioButton)componentes1[a]).getParent().getName();
limpiaSeleccionRadio(name);
}
if(componentes1[a] instanceof JCheckBox){
// ((JCheckBox)componentes1[a]).setEnabled(opcion);
((JCheckBox)componentes1[a]).setSelected(false);
}
if(componentes1[a] instanceof JTextField){
// ((JTextField)componentes1[a]).setEnabled(opcion);
((JTextField)componentes1[a]).setText("");
}
if(componentes1[a] instanceof JScrollPane){
if(((JScrollPane)componentes1[a]).getName().equalsIgnoreCase("lista_288") && jList_288 != null){
jList_288.clearSelection();
}
if(((JScrollPane)componentes1[a]).getName().equalsIgnoreCase("lista_365") && jList_365 != null){
jList_365.clearSelection();
}
if(((JScrollPane)componentes1[a]).getName().equalsIgnoreCase("lista_356") && jList_356 != null){
jList_356.clearSelection();
}
if(((JScrollPane)componentes1[a]).getName().equalsIgnoreCase("lista_358") && jList_358 != null){
jList_358.clearSelection();
}
if(((JScrollPane)componentes1[a]).getName().equalsIgnoreCase("lista_360") && jList_360 != null){
jList_360.clearSelection();
}
if(((JScrollPane)componentes1[a]).getName().equalsIgnoreCase("lista_362") && jList_362 != null){
jList_362.clearSelection();
}
}
}
}
/**
*
*/
public void fileChooser(){
javax.swing.JFileChooser jF1 = new javax.swing.JFileChooser();
//Creamos el filtro
FileNameExtensionFilter filtro = new FileNameExtensionFilter("*.XML", "xml");
//Le indicamos el filtro
jF1.setFileFilter(filtro);
//Nombre por defecto
jF1.setSelectedFile(new File(txt_cedula.getText()+".xml"));
try{
if(jF1.showSaveDialog(null)==jF1.APPROVE_OPTION){
ruta = jF1.getSelectedFile().getAbsolutePath();
int pos = ruta.indexOf('.');
String ext = "";
if(pos != -1){
ext = ruta.substring(pos, ruta.length());
if(!ext.equalsIgnoreCase(".xml") && !ext.equalsIgnoreCase(".XML")){
ruta = ruta.substring(0,pos) + ".xml";
}
}else{
ruta = ruta + ".xml";
}
//System.out.println(ruta);
encuestaTerminada = true;
}
}catch (Exception ex){
ex.printStackTrace();
encuestaTerminada = false;
}
}
/**
*
* @param inicio
* @param fin
* @param opcion
*/
public void habilitaDeshabilitaComponentesRango(int inicio,int fin, boolean opcion){
Component componente;
for(int i=inicio;i<=fin;i++){
String nombre = ""+i;
componente = obtenerComponentePorName(nombre);
if(componente instanceof JRadioButton){
((JRadioButton)componente).setEnabled(opcion);
((JRadioButton)componente).setSelected(false);
}
if(componente instanceof JCheckBox){
((JCheckBox)componente).setEnabled(opcion);
((JCheckBox)componente).setSelected(false);
}
if(componente instanceof JTextField){
((JTextField)componente).setEnabled(opcion);
((JTextField)componente).setText("");
}
}
}
/**
*
* @param respuestas
* @throws Exception
*/
public void generateXML(HashMap<String,Component> respuestas) throws Exception{
String valor = "";
if(respuestas.isEmpty()){
System.out.println("ERROR empty ArrayList");
return;
}else{
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
DOMImplementation implementation = builder.getDOMImplementation();
org.w3c.dom.Document document = implementation.createDocument(null, fileConfig, null);
document.setXmlVersion("1.0");
//Main Node
org.w3c.dom.Element raiz = document.getDocumentElement();
org.w3c.dom.Element itemNode = document.createElement("LISTA_RESPUESTAS");
/*----------Para registrar la seccion actual----------------------------------*/
org.w3c.dom.Element itemNode1 = document.createElement("SECCIONES");
org.w3c.dom.Element keyNode1 = document.createElement("SECCION_ACTUAL");
int aux = index;
if(aux > ultimaPestaña){
keyNode1.setAttribute("INDEX", codificador(""+aux,true));
}else{
keyNode1.setAttribute("INDEX", (ultimaPestaña<5)?codificador(""+(ultimaPestaña+1),true):codificador(""+(ultimaPestaña),true));
}
itemNode1.appendChild(keyNode1);
raiz.appendChild(itemNode1);
/*-----------------------------------------------------------------------------*/
/*------------------Para registrar el usuario----------------------------------*/
org.w3c.dom.Element itemNode2 = document.createElement("LOGIN");
org.w3c.dom.Element keyNode2 = document.createElement("USUARIO");
keyNode2.setAttribute("ID", codificador(txt_cedula.getText(),true));
keyNode2.setAttribute("NOMBRES", codificador(txt_nombres.getText(),true));
keyNode2.setAttribute("APELLIDOS", codificador(txt_apellidos.getText(),true));
if(jButton_Sigueinte.getText().equalsIgnoreCase("Finalizar")){
keyNode2.setAttribute("FINALIZADO", codificador("1",true));
}else{
keyNode2.setAttribute("FINALIZADO", codificador("0",true));
}
itemNode2.appendChild(keyNode2);
raiz.appendChild(itemNode2);
/*-----------------------------------------------------------------------------*/
for(Map.Entry<String,Component> b: respuestas.entrySet()){
if(b.getKey() != null){
org.w3c.dom.Element keyNode = document.createElement("COMPONENTE");
// System.out.println(b.getKey());
keyNode.setAttribute("NAME", codificador(b.getKey(),true));
if(b.getValue() instanceof JPanel){
keyNode.setAttribute("VISIBLE", (((JPanel)b.getValue()).isVisible())?codificador("1",true):codificador("0",true));
valor = codificador("jPanel",true);
}
if(b.getValue() instanceof JRadioButton){
keyNode.setAttribute("ENABLED", (((JRadioButton)b.getValue()).isEnabled())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("SELECTED", (((JRadioButton)b.getValue()).isSelected())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("TYPE",codificador("1",true));
valor = (((JRadioButton)b.getValue()).isSelected())?codificador("1",true):codificador("0",true);
}
if(b.getValue() instanceof JCheckBox){
keyNode.setAttribute("ENABLED", (((JCheckBox)b.getValue()).isEnabled())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("SELECTED", (((JCheckBox)b.getValue()).isSelected())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("TYPE",codificador("1",true));
valor = (((JCheckBox)b.getValue()).isSelected())?codificador("1",true):codificador("0",true);
}
if(b.getValue() instanceof JScrollPane){
if(((JScrollPane)b.getValue()).getName().equalsIgnoreCase("lista_288")){
if(!jList_288.isSelectionEmpty()){
keyNode.setAttribute("ENABLED", (jList_288.isEnabled())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("SELECTED", !(jList_288.isSelectionEmpty())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("INDEX", codificador((""+jList_288.getSelectedIndex()),true));
keyNode.setAttribute("VALUE", codificador(codigoPaises[jList_288.getSelectedIndex()],true));
keyNode.setAttribute("TYPE",codificador("1",true));
//valor = jList_288.getSelectedValue();
}
}
if(((JScrollPane)b.getValue()).getName().equalsIgnoreCase("lista_365")){
if(!jList_365.isSelectionEmpty()){
keyNode.setAttribute("ENABLED", (jList_365.isEnabled())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("SELECTED", !(jList_365.isSelectionEmpty())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("INDEX", codificador((""+jList_365.getSelectedIndex()),true));
keyNode.setAttribute("VALUE", codificador(codigoPaisesProviene[jList_365.getSelectedIndex()],true));
keyNode.setAttribute("TYPE",codificador("1",true));
//valor = jList_288.getSelectedValue();
}
}
if(((JScrollPane)b.getValue()).getName().equalsIgnoreCase("lista_356")){
if(!jList_356.isSelectionEmpty()){
keyNode.setAttribute("ENABLED", (jList_356.isEnabled())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("SELECTED", !(jList_356.isSelectionEmpty())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("INDEX", codificador((""+jList_356.getSelectedIndex()),true));
keyNode.setAttribute("VALUE", codificador(codigoLenguaIndigenaPadre[jList_356.getSelectedIndex()],true));
keyNode.setAttribute("TYPE",codificador("1",true));
//valor = jList_356.getSelectedValue();
}
}
if(((JScrollPane)b.getValue()).getName().equalsIgnoreCase("lista_358")){
if(!jList_358.isSelectionEmpty()){
keyNode.setAttribute("ENABLED", (jList_358.isEnabled())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("SELECTED", !(jList_358.isSelectionEmpty())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("INDEX",codificador((""+jList_358.getSelectedIndex()),true));
keyNode.setAttribute("VALUE", codificador(codigoLenguaIndigenaMadre[jList_358.getSelectedIndex()],true));
keyNode.setAttribute("TYPE",codificador("1",true));
//valor = jList_358.getSelectedValue();
}
}
if(((JScrollPane)b.getValue()).getName().equalsIgnoreCase("lista_360")){
if(!jList_360.isSelectionEmpty()){
keyNode.setAttribute("ENABLED", (jList_360.isEnabled())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("SELECTED", !(jList_360.isSelectionEmpty())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("INDEX", codificador((""+jList_360.getSelectedIndex()),true));
keyNode.setAttribute("VALUE", codificador(codigoLenguaExtranjeraPadre[jList_360.getSelectedIndex()],true));
keyNode.setAttribute("TYPE",codificador("1",true));
//valor = jList_360.getSelectedValue();
}
}
if(((JScrollPane)b.getValue()).getName().equalsIgnoreCase("lista_362")){
if(!jList_362.isSelectionEmpty()){
keyNode.setAttribute("ENABLED", (jList_362.isEnabled())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("SELECTED", !(jList_362.isSelectionEmpty())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("INDEX", codificador((""+jList_362.getSelectedIndex()),true));
keyNode.setAttribute("VALUE", codificador(codigoLenguaExtrajeraMadre[jList_362.getSelectedIndex()],true));
keyNode.setAttribute("TYPE",codificador("1",true));
//valor = jList_362.getSelectedValue();
}
}
}
if(b.getValue() instanceof JTextField){
keyNode.setAttribute("ENABLED", (((JTextField)b.getValue()).isEnabled())?codificador("1",true):codificador("0",true));
keyNode.setAttribute("VALUE", codificador(((JTextField)b.getValue()).getText(),true));
keyNode.setAttribute("TYPE",codificador("1",true));
valor = codificador(((JTextField)b.getValue()).getText(),true);
}
Text nodeKeyValue = document.createTextNode(valor);
keyNode.appendChild(nodeKeyValue);
itemNode.appendChild(keyNode);
raiz.appendChild(itemNode);
}
}
//Generate XML
Source source = new DOMSource(document);
//Indicamos donde lo queremos almacenar
File archivo = new java.io.File("./xml/"+fileConfig+".xml");
archivo.setReadable(true);
archivo.setWritable(true);
Result result = new StreamResult(archivo); //nombre del archivo
//Result result = new StreamResult(new java.io.File("./src/ec/gob/senescyt/snna/xml/"+fileConfig+".xml"));
Transformer transformer = TransformerFactory.newInstance().newTransformer();
transformer.transform(source, result);
if(encuestaTerminada){
File archivoFinal = new java.io.File(ruta);
archivo.setReadable(true);
archivo.setReadOnly();
Result resultFinal = new StreamResult(archivoFinal); //nombre del archivo
Transformer transformerFinal = TransformerFactory.newInstance().newTransformer();
transformerFinal.transform(source, resultFinal);
encuestaTerminada = false;
JOptionPane.showMessageDialog(this, "La encuesta ha sido finalizada exitosamente","Mensaje",JOptionPane.INFORMATION_MESSAGE);
System.exit(0);
}
}
}
/**
*
*/
public void cargarXml(){
//Se crea un SAXBuilder para poder parsear el archivo
SAXBuilder builder = new SAXBuilder();
//File xmlFile = new File( "./src/ec/gob/senescyt/snna/xml/"+fileConfig+".xml" );
File xmlFile = new File( "./xml/"+fileConfig+".xml" );
BufferedWriter bw;
try {
if(!xmlFile.exists()){
bw = new BufferedWriter(new FileWriter(xmlFile));
bw.write("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><config><LOGIN><USUARIO ID=\"\" NOMBRES=\"\" APELLIDOS=\"\" FINALIZADO=\"{~\"/></LOGIN><SECCIONES><SECCION_ACTUAL INDEX=\"{~\"/></SECCIONES><LISTA_RESPUESTAS></LISTA_RESPUESTAS></config>");
bw.close();
}
} catch (Exception e) {
e.printStackTrace();
}
try
{
//Se crea el documento a traves del archivo
Document document = (Document) builder.build( xmlFile );
//Se obtiene la raiz
Element rootNode = document.getRootElement();
//Se obtiene la lista de hijos de la raiz 'config'
/*------------------------------------------------*/
List listaSecciones = rootNode.getChildren( "SECCIONES" );
Element secciones = (Element) listaSecciones.get(0);
List hijosSecciones = secciones.getChildren();
Element seccionActual = (Element)hijosSecciones.get(0);
jTabbedPane1.setSelectedIndex(Integer.parseInt(codificador(seccionActual.getAttributeValue("INDEX"),false)));
index = jTabbedPane1.getSelectedIndex();
ultimaPestaña = index;
bloqueaPestanias(index);
/*------------------------------------------------*/
/*------------------------------------------------*/
List listaLogin = rootNode.getChildren( "LOGIN" );
Element login = (Element) listaLogin.get(0);
List hijosLogin = login.getChildren();
Element loginActual = (Element)hijosLogin.get(0);
if(!loginActual.getAttributeValue("ID").isEmpty()){
if(!banderaEditar){
txt_cedula.setText(codificador(loginActual.getAttributeValue("ID"),false));
txt_cedula.setEnabled(false);
txt_nombres.setText(codificador(loginActual.getAttributeValue("NOMBRES"),false));
txt_nombres.setEnabled(false);
txt_apellidos.setText(codificador(loginActual.getAttributeValue("APELLIDOS"),false));
txt_apellidos.setEnabled(false);
archivoGenerado = codificador(loginActual.getAttributeValue("FINALIZADO"),false);
//CAMBIAR VERSION ANTIGUA FCO
jButton_activarEncuesta.setText("Editar");
//jButton_activarEncuesta.setVisible(false);
}
}else{
bloqueaPestanias(-1);
}
/*------------------------------------------------*/
List list = rootNode.getChildren( "LISTA_RESPUESTAS" );
//Se obtiene el elemento 'LISTA_RESPUESTAS'
Element respuestas = (Element) list.get(0);
// firstTime = list.size();
//Se obtiene la lista de hijos del tag 'LISTA_RESPUESTAS'
List lista_componentes = respuestas.getChildren();
//Se recorre la lista de campos
for ( int j = 0; j < lista_componentes.size(); j++ )
{
//Se obtiene el elemento 'campo'
Element componente = (Element)lista_componentes.get(j);
// if(componente.getAttributeValue("NAME").equalsIgnoreCase("lista_358"))
// {
// System.out.println(componente.getAttributeValue("NAME"));
// }
Component componenteGui = obtenerComponentePorName(codificador(componente.getAttributeValue("NAME"),false));
if(componenteGui instanceof JPanel){
((JPanel)componenteGui).setVisible(codificador(componente.getAttributeValue("VISIBLE"),false).equalsIgnoreCase("1"));
}
if(componenteGui instanceof JRadioButton){
((JRadioButton)componenteGui).setEnabled(codificador(componente.getAttributeValue("ENABLED"),false).equalsIgnoreCase("1"));
((JRadioButton)componenteGui).setSelected(codificador(componente.getAttributeValue("SELECTED"),false).equalsIgnoreCase("1"));
}
if(componenteGui instanceof JCheckBox){
((JCheckBox)componenteGui).setEnabled(codificador(componente.getAttributeValue("ENABLED"),false).equalsIgnoreCase("1"));
((JCheckBox)componenteGui).setSelected(codificador(componente.getAttributeValue("SELECTED"),false).equalsIgnoreCase("1"));
}
if(componenteGui instanceof JTextField){
((JTextField)componenteGui).setEnabled(codificador(componente.getAttributeValue("ENABLED"),false).equalsIgnoreCase("1"));
if(componente.getContent().size()>0)
((JTextField)componenteGui).setText(codificador(componente.getAttributeValue("VALUE"),false));
}
if(componenteGui instanceof JScrollPane){
if(((JScrollPane)componenteGui).getName().equalsIgnoreCase("lista_288") && jList_288 != null){
if(componente.getAttributeValue("ENABLED") != null && componente.getAttributeValue("INDEX") != null){
jList_288.setEnabled(codificador(componente.getAttributeValue("ENABLED"),false).equalsIgnoreCase("1"));
jList_288.setSelectedIndex(Integer.parseInt(codificador(componente.getAttributeValue("INDEX"),false)));
}
}
if(((JScrollPane)componenteGui).getName().equalsIgnoreCase("lista_365") && jList_365 != null){
if(componente.getAttributeValue("ENABLED") != null && componente.getAttributeValue("INDEX") != null){
jList_365.setEnabled(codificador(componente.getAttributeValue("ENABLED"),false).equalsIgnoreCase("1"));
jList_365.setSelectedIndex(Integer.parseInt(codificador(componente.getAttributeValue("INDEX"),false)));
}
}
if(((JScrollPane)componenteGui).getName().equalsIgnoreCase("lista_356") && jList_356 != null){
if(componente.getAttributeValue("ENABLED") != null && componente.getAttributeValue("INDEX") != null){
jList_356.setEnabled(codificador(componente.getAttributeValue("ENABLED"),false).equalsIgnoreCase("1"));
jList_356.setSelectedIndex(Integer.parseInt(codificador(componente.getAttributeValue("INDEX"),false)));
}
}
if(((JScrollPane)componenteGui).getName().equalsIgnoreCase("lista_358") && jList_358 != null){
if(componente.getAttributeValue("ENABLED") != null && componente.getAttributeValue("INDEX") != null){
jList_358.setEnabled(codificador(componente.getAttributeValue("ENABLED"),false).equalsIgnoreCase("1"));
jList_358.setSelectedIndex(Integer.parseInt(codificador(componente.getAttributeValue("INDEX"),false)));
}
}
if(((JScrollPane)componenteGui).getName().equalsIgnoreCase("lista_360") && jList_360 != null){
if(componente.getAttributeValue("ENABLED") != null && componente.getAttributeValue("INDEX") != null){
jList_360.setEnabled(codificador(componente.getAttributeValue("ENABLED"),false).equalsIgnoreCase("1"));
jList_360.setSelectedIndex(Integer.parseInt(codificador(componente.getAttributeValue("INDEX"),false)));
}
}
if(((JScrollPane)componenteGui).getName().equalsIgnoreCase("lista_362") && jList_362 != null){
if(componente.getAttributeValue("ENABLED") != null && componente.getAttributeValue("INDEX") != null){
jList_362.setEnabled(codificador(componente.getAttributeValue("ENABLED"),false).equalsIgnoreCase("1"));
jList_362.setSelectedIndex(Integer.parseInt(codificador(componente.getAttributeValue("INDEX"),false)));
}
}
}
}
}catch ( Exception e ) {
System.out.println( e.getMessage() );
}
}
/**
*
* @param j
* @return
*/
public boolean validarPreguntasPorPanel(JPanel j) {
try {
int bandera=0;
int banderaAux=0;
Component[] componentes = j.getComponents();
for (int i = 0; i < componentes.length; i++) {
if (componentes[i] instanceof JPanel && ((JPanel)componentes[i]).isVisible()) {
Component[] auxiliar = ((JPanel)componentes[i]).getComponents();
bandera=0;
Component label = obtenerComponentePorName("lbl_"+ ((JPanel)componentes[i]).getName());
for (int a = 0; a < auxiliar.length; a++) {
if(auxiliar[a] instanceof JRadioButton && ((JRadioButton)auxiliar[a]).isSelected()){
bandera++;
}
if(auxiliar[a] instanceof JCheckBox && ((JCheckBox)auxiliar[a]).isSelected()){
bandera++;
}
if(auxiliar[a] instanceof JTextField && !((JTextField)auxiliar[a]).getText().isEmpty()){
bandera++;
}
if(auxiliar[a] instanceof JScrollPane){
if(((JScrollPane)auxiliar[a]).getName().equalsIgnoreCase("lista_288")){
if(!jList_288.isSelectionEmpty()){
bandera++;
}
}
if(((JScrollPane)auxiliar[a]).getName().equalsIgnoreCase("lista_365")){
if(!jList_365.isSelectionEmpty()){
bandera++;
}
}
if(((JScrollPane)auxiliar[a]).getName().equalsIgnoreCase("lista_356")){
if(!jList_356.isSelectionEmpty()){
bandera++;
}
}
if(((JScrollPane)auxiliar[a]).getName().equalsIgnoreCase("lista_358")){
if(!jList_358.isSelectionEmpty()){
bandera++;
}
}
if(((JScrollPane)auxiliar[a]).getName().equalsIgnoreCase("lista_360")){
if(!jList_360.isSelectionEmpty()){
bandera++;
}
}
if(((JScrollPane)auxiliar[a]).getName().equalsIgnoreCase("lista_362")){
if(!jList_362.isSelectionEmpty()){
bandera++;
}
}
}
}
if(label != null)//CAMBIAR!!!!
if(bandera == 0){
((JLabel)label).setVisible(true);
banderaAux++;
}else{
((JLabel)label).setVisible(false);
}
}
}
if(banderaAux > 0){
JOptionPane.showMessageDialog(this, "Para continuar debes responder todas las preguntas","¡Atención!",JOptionPane.WARNING_MESSAGE);
return false;
}else{
return true;
}
} catch (Exception ex) {
Logger.getLogger(EncuestaContexto.class.getName()).log(Level.SEVERE, null, ex);
return false;
}
}
/**
*
*/
public void validaSiguiente(){
int i = jTabbedPane1.getSelectedIndex() + 1;
int total = jTabbedPane1.getTabCount();
boolean bandera;
switch(i){
case 1:
bandera = validarPreguntasPorPanel(jPanelSec_1);
break;
case 2:
bandera = validarPreguntasPorPanel(jPanelSec_2);
break;
case 3:
bandera = validarPreguntasPorPanel(jPanelSec_3);
break;
case 4:
bandera = validarPreguntasPorPanel(jPanelSec_4);
break;
case 5:
bandera = validarPreguntasPorPanel(jPanelSec_5);
break;
case 6:
bandera = validarPreguntasPorPanel(jPanelSec_6);
break;
default:
bandera = false;
break;
}
if(bandera){
try {
if (i < total) {
jTabbedPane1.setSelectedIndex(i++);
jTabbedPane1.setEnabledAt(i-1,true);
index = jTabbedPane1.getSelectedIndex();
}else{
fileChooser();
}
generateXML(allComponents);
} catch (Exception ex) {
Logger.getLogger(EncuestaContexto.class.getName()).log(Level.SEVERE, null, ex);
}
}
}
/**
*
* @param evt
* @param max
*/
private void soloNumeros(java.awt.event.KeyEvent evt, int max){
char c = evt.getKeyChar();
if(((JTextField)evt.getComponent()).getText().length() <= max){
if(c >= '0' && c <= '9'){
}else{
getToolkit().beep();
evt.consume();
}
}else{
getToolkit().beep();
evt.consume();
}
}
/**
*
* @param evt
* @param max
* @param inicio
* @param fin
*/
private void soloNumerosRango(java.awt.event.KeyEvent evt, int max,int inicio,int fin){
char c = evt.getKeyChar();
int valor = 1;
if(!((JTextField)evt.getComponent()).getText().isEmpty() && (c >= '0' && c <= '9'))
valor = Integer.parseInt(((JTextField)evt.getComponent()).getText()+c);
if(((JTextField)evt.getComponent()).getText().isEmpty() && (c >= '0' && c <= '9'))
valor = Integer.parseInt(""+c);
if(((JTextField)evt.getComponent()).getText().length() <= max){
if(valor >= inicio && valor <= fin){
if(c >= '0' && c <= '9'){
}else{
getToolkit().beep();
evt.consume();
}
}else{
evt.consume();
if(inicio != fin){
JOptionPane.showMessageDialog(this, "El valor ingresado debe estar entre "+ inicio+" y "+fin,"Error",JOptionPane.ERROR_MESSAGE);
}else{
JOptionPane.showMessageDialog(this, "El valor ingresado no puede ser diferente a "+ inicio,"Error",JOptionPane.ERROR_MESSAGE);
}
}
}else{
getToolkit().beep();
evt.consume();
}
}
/**
*
* @param evt
* @param max
*/
private void soloLetras(java.awt.event.KeyEvent evt, int max){
String caracteresPermitidos = "ÁÉÍÓÚÑÄËÏÖÜ áéíóúñäëïöü";
char c = evt.getKeyChar();
if(((JTextField)evt.getComponent()).getText().length() <= max){
if((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (caracteresPermitidos.indexOf(c) != -1)){
if (Character.isLowerCase(c)) {
evt.setKeyChar(Character.toUpperCase(c));
}
}else{
getToolkit().beep();
evt.consume();
}
}else{
getToolkit().beep();
evt.consume();
}
}
/**
*
* @param evt
* @param max
*/
private void soloLetrasNumeros(java.awt.event.KeyEvent evt, int max){
String caracteresPermitidos = "ÁÉÍÓÚÑÄËÏÖÜ áéíóúñäëïöü0123456789";
char c = evt.getKeyChar();
if(((JTextField)evt.getComponent()).getText().length() <= max){
if((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (caracteresPermitidos.indexOf(c) != -1)){
if (Character.isLowerCase(c)) {
evt.setKeyChar(Character.toUpperCase(c));
}
}else{
getToolkit().beep();
evt.consume();
}
}else{
getToolkit().beep();
evt.consume();
}
}
/**
*
* @param cadena
* @param opcion
* @return
*/
private String codificador(String cadena,boolean opcion){
String access="";
List<String> simbol = new ArrayList();
simbol.add("63");simbol.add("43");simbol.add("23");simbol.add("03");
simbol.add("82");simbol.add("62");simbol.add("42");simbol.add("22");
simbol.add("02");simbol.add("81");simbol.add("61");simbol.add("41");
simbol.add("21");simbol.add("01");simbol.add("11");simbol.add("31");
simbol.add("51");simbol.add("71");simbol.add("91");simbol.add("12");
simbol.add("32");simbol.add("52");simbol.add("72");simbol.add("92");
simbol.add("13");simbol.add("33");simbol.add("53");simbol.add("74");
simbol.add("94");simbol.add("15");simbol.add("35");simbol.add("55");
simbol.add("75");simbol.add("95");simbol.add("16");simbol.add("36");
simbol.add("56");simbol.add("76");simbol.add("96");simbol.add("17");
simbol.add("37");simbol.add("27");simbol.add("07");simbol.add("86");
simbol.add("66");simbol.add("46");simbol.add("26");simbol.add("06");
simbol.add("85");simbol.add("65");simbol.add("45");simbol.add("25");
simbol.add("05");simbol.add("84");simbol.add("~[");simbol.add("$;");
simbol.add(".-");simbol.add(",]");simbol.add("||");simbol.add("({");
simbol.add("/}");simbol.add("*~");simbol.add(")%");simbol.add("{~");
simbol.add("!)");simbol.add(":$");simbol.add("%.");simbol.add("~,");
simbol.add("}/");simbol.add("{*");simbol.add("[(");simbol.add("]!");
simbol.add(";:");simbol.add("-~");simbol.add("~~");simbol.add("..");
simbol.add("--");simbol.add(",,");simbol.add("]]");simbol.add("((");
simbol.add("{{");
List<String> letras = new ArrayList();
letras.add("a");letras.add("b");letras.add("c");letras.add("d");letras.add("e");
letras.add("f");letras.add("g");letras.add("h");letras.add("i");letras.add("j");
letras.add("k");letras.add("l");letras.add("m");letras.add("n");letras.add("ñ");
letras.add("o");letras.add("p");letras.add("q");letras.add("r");letras.add("s");
letras.add("t");letras.add("u");letras.add("v");letras.add("w");letras.add("x");
letras.add("y");letras.add("z");letras.add("A");letras.add("B");letras.add("C");
letras.add("D");letras.add("E");letras.add("F");letras.add("G");letras.add("H");
letras.add("I");letras.add("J");letras.add("K");letras.add("L");letras.add("M");
letras.add("N");letras.add("Ñ");letras.add("O");letras.add("P");letras.add("Q");
letras.add("R");letras.add("S");letras.add("T");letras.add("U");letras.add("V");
letras.add("W");letras.add("X");letras.add("Y");letras.add("Z");letras.add("1");
letras.add("2");letras.add("3");letras.add("4");letras.add("5");letras.add("6");
letras.add("7");letras.add("8");letras.add("9");letras.add("0");letras.add("á");
letras.add("é");letras.add("í");letras.add("ó");letras.add("ú");letras.add("Á");
letras.add("É");letras.add("Í");letras.add("Ó");letras.add("Ú");letras.add(" ");
letras.add("Ä");letras.add("Ë");letras.add("Ï");letras.add("Ö");letras.add("Ü");
letras.add("_");
List<String> cadenaArray = Arrays.asList(cadena.split(""));
if(opcion)
{
for(int i=1;i<cadenaArray.size();i++)
{
access+=simbol.get(letras.indexOf(cadenaArray.get(i)));
}
}
else if((cadenaArray.size()/2)==Math.round(cadenaArray.size()/2))
{
for(int i=1;i<cadenaArray.size();i+=2)
{
access+=letras.get(simbol.indexOf(cadenaArray.get(i)+cadenaArray.get(i+1)));
}
}
return access;
}
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
// for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
// if ("Windows".equals(info.getName())) {
// javax.swing.UIManager.setLookAndFeel(info.getClassName());
// break;
// }
// }
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(EncuestaContexto.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(EncuestaContexto.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(EncuestaContexto.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(EncuestaContexto.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new EncuestaContexto().setVisible(true);
}
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.ButtonGroup bgSec1_283;
private javax.swing.ButtonGroup bgSec1_285;
private javax.swing.ButtonGroup bgSec1_287;
private javax.swing.ButtonGroup bgSec1_289;
private javax.swing.ButtonGroup bgSec1_290;
private javax.swing.ButtonGroup bgSec1_292;
private javax.swing.ButtonGroup bgSec1_293;
private javax.swing.ButtonGroup bgSec1_294;
private javax.swing.ButtonGroup bgSec1_295;
private javax.swing.ButtonGroup bgSec1_296;
private javax.swing.ButtonGroup bgSec1_297;
private javax.swing.ButtonGroup bgSec2_298;
private javax.swing.ButtonGroup bgSec2_299;
private javax.swing.ButtonGroup bgSec2_302;
private javax.swing.ButtonGroup bgSec2_303;
private javax.swing.ButtonGroup bgSec2_304;
private javax.swing.ButtonGroup bgSec2_305;
private javax.swing.ButtonGroup bgSec2_306;
private javax.swing.ButtonGroup bgSec3_307;
private javax.swing.ButtonGroup bgSec3_308;
private javax.swing.ButtonGroup bgSec3_309;
private javax.swing.ButtonGroup bgSec3_311;
private javax.swing.ButtonGroup bgSec3_313;
private javax.swing.ButtonGroup bgSec3_314;
private javax.swing.ButtonGroup bgSec3_315;
private javax.swing.ButtonGroup bgSec3_316;
private javax.swing.ButtonGroup bgSec3_317;
private javax.swing.ButtonGroup bgSec3_319;
private javax.swing.ButtonGroup bgSec3_321;
private javax.swing.ButtonGroup bgSec3_322;
private javax.swing.ButtonGroup bgSec3_323;
private javax.swing.ButtonGroup bgSec3_324;
private javax.swing.ButtonGroup bgSec3_325;
private javax.swing.ButtonGroup bgSec3_326;
private javax.swing.ButtonGroup bgSec4_327;
private javax.swing.ButtonGroup bgSec4_328;
private javax.swing.ButtonGroup bgSec4_329;
private javax.swing.ButtonGroup bgSec4_330;
private javax.swing.ButtonGroup bgSec4_331;
private javax.swing.ButtonGroup bgSec5_333;
private javax.swing.ButtonGroup bgSec5_334;
private javax.swing.ButtonGroup bgSec5_336;
private javax.swing.ButtonGroup bgSec5_337;
private javax.swing.ButtonGroup bgSec6_338;
private javax.swing.ButtonGroup bgSec6_339;
private javax.swing.ButtonGroup bgSec6_340;
private javax.swing.ButtonGroup bgSec6_342;
private javax.swing.ButtonGroup bgSec6_343;
private javax.swing.ButtonGroup bgSec6_344;
private javax.swing.ButtonGroup bgSec6_345;
private javax.swing.ButtonGroup bgSec6_346;
private javax.swing.ButtonGroup bgSec6_348;
private javax.swing.ButtonGroup bgSec6_349;
private javax.swing.ButtonGroup bgSec6_350;
private javax.swing.ButtonGroup bgSec6_351;
private javax.swing.ButtonGroup bgSec6_352;
private javax.swing.ButtonGroup bgSec6_353;
private javax.swing.JCheckBox chk_1802;
private javax.swing.JCheckBox chk_1803;
private javax.swing.JCheckBox chk_1804;
private javax.swing.JCheckBox chk_1805;
private javax.swing.JCheckBox chk_1806;
private javax.swing.JCheckBox chk_1807;
private javax.swing.JCheckBox chk_1808;
private javax.swing.JCheckBox chk_1809;
private javax.swing.JCheckBox chk_1810;
private javax.swing.JCheckBox chk_1811;
private javax.swing.JCheckBox chk_1814;
private javax.swing.JCheckBox chk_1815;
private javax.swing.JCheckBox chk_1816;
private javax.swing.JCheckBox chk_1817;
private javax.swing.JCheckBox chk_1818;
private javax.swing.JCheckBox chk_1819;
private javax.swing.JCheckBox chk_1820;
private javax.swing.JCheckBox chk_1821;
private javax.swing.JCheckBox chk_1824;
private javax.swing.JCheckBox chk_1825;
private javax.swing.JCheckBox chk_1826;
private javax.swing.JCheckBox chk_1827;
private javax.swing.JCheckBox chk_1828;
private javax.swing.JCheckBox chk_1829;
private javax.swing.JCheckBox chk_1830;
private javax.swing.JCheckBox chk_1831;
private javax.swing.JCheckBox chk_2289;
private javax.swing.JCheckBox chk_2290;
private javax.swing.JCheckBox chk_2291;
private javax.swing.JCheckBox chk_2292;
private javax.swing.JCheckBox chk_2293;
private javax.swing.JCheckBox chk_2296;
private javax.swing.JCheckBox chk_2297;
private javax.swing.JCheckBox chk_2298;
private javax.swing.JCheckBox chk_2299;
private javax.swing.JCheckBox chk_2300;
private javax.swing.JCheckBox chk_2301;
private javax.swing.JCheckBox chk_2302;
private javax.swing.JCheckBox chk_2364;
private javax.swing.JCheckBox chk_2365;
private javax.swing.JCheckBox chk_2366;
private javax.swing.JCheckBox chk_2367;
private javax.swing.JCheckBox chk_2368;
private javax.swing.JCheckBox chk_2377;
private javax.swing.JCheckBox chk_2378;
private javax.swing.JCheckBox chk_2379;
private javax.swing.JCheckBox chk_3108;
private javax.swing.JCheckBox chk_3110;
private javax.swing.JCheckBox chk_3111;
private javax.swing.JButton jButton_Atras;
private javax.swing.JButton jButton_Sigueinte;
private javax.swing.JButton jButton_activarEncuesta;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel14;
private javax.swing.JLabel jLabel15;
private javax.swing.JLabel jLabel16;
private javax.swing.JLabel jLabel17;
private javax.swing.JLabel jLabel18;
private javax.swing.JLabel jLabel19;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel20;
private javax.swing.JLabel jLabel21;
private javax.swing.JLabel jLabel22;
private javax.swing.JLabel jLabel23;
private javax.swing.JLabel jLabel24;
private javax.swing.JLabel jLabel25;
private javax.swing.JLabel jLabel26;
private javax.swing.JLabel jLabel27;
private javax.swing.JLabel jLabel28;
private javax.swing.JLabel jLabel29;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel30;
private javax.swing.JLabel jLabel31;
private javax.swing.JLabel jLabel32;
private javax.swing.JLabel jLabel33;
private javax.swing.JLabel jLabel34;
private javax.swing.JLabel jLabel35;
private javax.swing.JLabel jLabel36;
private javax.swing.JLabel jLabel37;
private javax.swing.JLabel jLabel38;
private javax.swing.JLabel jLabel39;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel40;
private javax.swing.JLabel jLabel41;
private javax.swing.JLabel jLabel42;
private javax.swing.JLabel jLabel43;
private javax.swing.JLabel jLabel44;
private javax.swing.JLabel jLabel45;
private javax.swing.JLabel jLabel46;
private javax.swing.JLabel jLabel47;
private javax.swing.JLabel jLabel48;
private javax.swing.JLabel jLabel49;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel50;
private javax.swing.JLabel jLabel51;
private javax.swing.JLabel jLabel52;
private javax.swing.JLabel jLabel53;
private javax.swing.JLabel jLabel54;
private javax.swing.JLabel jLabel55;
private javax.swing.JLabel jLabel56;
private javax.swing.JLabel jLabel57;
private javax.swing.JLabel jLabel58;
private javax.swing.JLabel jLabel59;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel60;
private javax.swing.JLabel jLabel61;
private javax.swing.JLabel jLabel62;
private javax.swing.JLabel jLabel63;
private javax.swing.JLabel jLabel64;
private javax.swing.JLabel jLabel65;
private javax.swing.JLabel jLabel66;
private javax.swing.JLabel jLabel67;
private javax.swing.JLabel jLabel68;
private javax.swing.JLabel jLabel69;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel70;
private javax.swing.JLabel jLabel71;
private javax.swing.JLabel jLabel72;
private javax.swing.JLabel jLabel73;
private javax.swing.JLabel jLabel74;
private javax.swing.JLabel jLabel75;
private javax.swing.JLabel jLabel76;
private javax.swing.JLabel jLabel77;
private javax.swing.JLabel jLabel78;
private javax.swing.JLabel jLabel79;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel80;
private javax.swing.JLabel jLabel81;
private javax.swing.JLabel jLabel82;
private javax.swing.JLabel jLabel83;
private javax.swing.JLabel jLabel84;
private javax.swing.JLabel jLabel85;
private javax.swing.JLabel jLabel86;
private javax.swing.JLabel jLabel87;
private javax.swing.JLabel jLabel88;
private javax.swing.JLabel jLabel89;
private javax.swing.JLabel jLabel9;
private javax.swing.JLabel jLabel90;
private javax.swing.JLabel jLabel91;
private javax.swing.JLabel jLabel_282;
private javax.swing.JLabel jLabel_283;
private javax.swing.JLabel jLabel_284;
private javax.swing.JLabel jLabel_285;
private javax.swing.JLabel jLabel_286;
private javax.swing.JLabel jLabel_287;
private javax.swing.JLabel jLabel_288;
private javax.swing.JLabel jLabel_289;
private javax.swing.JLabel jLabel_290;
private javax.swing.JLabel jLabel_291;
private javax.swing.JLabel jLabel_292;
private javax.swing.JLabel jLabel_293;
private javax.swing.JLabel jLabel_294;
private javax.swing.JLabel jLabel_295;
private javax.swing.JLabel jLabel_296;
private javax.swing.JLabel jLabel_297;
private javax.swing.JLabel jLabel_298;
private javax.swing.JLabel jLabel_299;
private javax.swing.JLabel jLabel_300;
private javax.swing.JLabel jLabel_301;
private javax.swing.JLabel jLabel_302;
private javax.swing.JLabel jLabel_303;
private javax.swing.JLabel jLabel_304;
private javax.swing.JLabel jLabel_305;
private javax.swing.JLabel jLabel_306;
private javax.swing.JLabel jLabel_307;
private javax.swing.JLabel jLabel_308;
private javax.swing.JLabel jLabel_309;
private javax.swing.JLabel jLabel_310;
private javax.swing.JLabel jLabel_311;
private javax.swing.JLabel jLabel_312;
private javax.swing.JLabel jLabel_313;
private javax.swing.JLabel jLabel_314;
private javax.swing.JLabel jLabel_315;
private javax.swing.JLabel jLabel_316;
private javax.swing.JLabel jLabel_317;
private javax.swing.JLabel jLabel_318;
private javax.swing.JLabel jLabel_319;
private javax.swing.JLabel jLabel_320;
private javax.swing.JLabel jLabel_321;
private javax.swing.JLabel jLabel_322;
private javax.swing.JLabel jLabel_323;
private javax.swing.JLabel jLabel_324;
private javax.swing.JLabel jLabel_325;
private javax.swing.JLabel jLabel_326;
private javax.swing.JLabel jLabel_327;
private javax.swing.JLabel jLabel_328;
private javax.swing.JLabel jLabel_329;
private javax.swing.JLabel jLabel_330;
private javax.swing.JLabel jLabel_331;
private javax.swing.JLabel jLabel_332;
private javax.swing.JLabel jLabel_333;
private javax.swing.JLabel jLabel_334;
private javax.swing.JLabel jLabel_335;
private javax.swing.JLabel jLabel_336;
private javax.swing.JLabel jLabel_337;
private javax.swing.JLabel jLabel_338;
private javax.swing.JLabel jLabel_339;
private javax.swing.JLabel jLabel_340;
private javax.swing.JLabel jLabel_342;
private javax.swing.JLabel jLabel_343;
private javax.swing.JLabel jLabel_344;
private javax.swing.JLabel jLabel_345;
private javax.swing.JLabel jLabel_346;
private javax.swing.JLabel jLabel_348;
private javax.swing.JLabel jLabel_349;
private javax.swing.JLabel jLabel_350;
private javax.swing.JLabel jLabel_351;
private javax.swing.JLabel jLabel_352;
private javax.swing.JLabel jLabel_353;
private javax.swing.JLabel jLabel_356;
private javax.swing.JLabel jLabel_358;
private javax.swing.JLabel jLabel_360;
private javax.swing.JLabel jLabel_362;
private javax.swing.JLabel jLabel_365;
private javax.swing.JList<String> jList_288;
private javax.swing.JList<String> jList_356;
private javax.swing.JList<String> jList_358;
private javax.swing.JList<String> jList_360;
private javax.swing.JList<String> jList_362;
private javax.swing.JList<String> jList_365;
private javax.swing.JPanel jPanelSec_1;
private javax.swing.JPanel jPanelSec_2;
private javax.swing.JPanel jPanelSec_3;
private javax.swing.JPanel jPanelSec_4;
private javax.swing.JPanel jPanelSec_5;
private javax.swing.JPanel jPanelSec_6;
private javax.swing.JPanel jPanel_282;
private javax.swing.JPanel jPanel_283;
private javax.swing.JPanel jPanel_284;
private javax.swing.JPanel jPanel_285;
private javax.swing.JPanel jPanel_286;
private javax.swing.JPanel jPanel_287;
private javax.swing.JPanel jPanel_288;
private javax.swing.JPanel jPanel_289;
private javax.swing.JPanel jPanel_290;
private javax.swing.JPanel jPanel_291;
private javax.swing.JPanel jPanel_292;
private javax.swing.JPanel jPanel_293;
private javax.swing.JPanel jPanel_294;
private javax.swing.JPanel jPanel_295;
private javax.swing.JPanel jPanel_296;
private javax.swing.JPanel jPanel_297;
private javax.swing.JPanel jPanel_298;
private javax.swing.JPanel jPanel_299;
private javax.swing.JPanel jPanel_300;
private javax.swing.JPanel jPanel_301;
private javax.swing.JPanel jPanel_302;
private javax.swing.JPanel jPanel_303;
private javax.swing.JPanel jPanel_304;
private javax.swing.JPanel jPanel_305;
private javax.swing.JPanel jPanel_306;
private javax.swing.JPanel jPanel_307;
private javax.swing.JPanel jPanel_308;
private javax.swing.JPanel jPanel_309;
private javax.swing.JPanel jPanel_310;
private javax.swing.JPanel jPanel_311;
private javax.swing.JPanel jPanel_312;
private javax.swing.JPanel jPanel_313;
private javax.swing.JPanel jPanel_314;
private javax.swing.JPanel jPanel_315;
private javax.swing.JPanel jPanel_316;
private javax.swing.JPanel jPanel_317;
private javax.swing.JPanel jPanel_318;
private javax.swing.JPanel jPanel_319;
private javax.swing.JPanel jPanel_320;
private javax.swing.JPanel jPanel_321;
private javax.swing.JPanel jPanel_322;
private javax.swing.JPanel jPanel_323;
private javax.swing.JPanel jPanel_324;
private javax.swing.JPanel jPanel_325;
private javax.swing.JPanel jPanel_326;
private javax.swing.JPanel jPanel_327;
private javax.swing.JPanel jPanel_328;
private javax.swing.JPanel jPanel_329;
private javax.swing.JPanel jPanel_330;
private javax.swing.JPanel jPanel_331;
private javax.swing.JPanel jPanel_332;
private javax.swing.JPanel jPanel_333;
private javax.swing.JPanel jPanel_334;
private javax.swing.JPanel jPanel_335;
private javax.swing.JPanel jPanel_336;
private javax.swing.JPanel jPanel_337;
private javax.swing.JPanel jPanel_338;
private javax.swing.JPanel jPanel_339;
private javax.swing.JPanel jPanel_340;
private javax.swing.JPanel jPanel_341;
private javax.swing.JPanel jPanel_342;
private javax.swing.JPanel jPanel_343;
private javax.swing.JPanel jPanel_344;
private javax.swing.JPanel jPanel_345;
private javax.swing.JPanel jPanel_346;
private javax.swing.JPanel jPanel_347;
private javax.swing.JPanel jPanel_348;
private javax.swing.JPanel jPanel_349;
private javax.swing.JPanel jPanel_350;
private javax.swing.JPanel jPanel_351;
private javax.swing.JPanel jPanel_352;
private javax.swing.JPanel jPanel_353;
private javax.swing.JPanel jPanel_356;
private javax.swing.JPanel jPanel_358;
private javax.swing.JPanel jPanel_360;
private javax.swing.JPanel jPanel_362;
private javax.swing.JPanel jPanel_365;
private javax.swing.JPanel jPanel_DatosPersonales;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JScrollPane jScrollPane10;
private javax.swing.JScrollPane jScrollPane11;
private javax.swing.JScrollPane jScrollPane12;
private javax.swing.JScrollPane jScrollPane2;
private javax.swing.JScrollPane jScrollPane3;
private javax.swing.JScrollPane jScrollPane4;
private javax.swing.JScrollPane jScrollPane5;
private javax.swing.JScrollPane jScrollPane6;
private javax.swing.JScrollPane jScrollPane7;
private javax.swing.JScrollPane jScrollPane8;
private javax.swing.JScrollPane jScrollPane9;
private javax.swing.JSeparator jSeparator1;
private javax.swing.JSeparator jSeparator2;
private javax.swing.JTabbedPane jTabbedPane1;
private javax.swing.JRadioButton rad_1812;
private javax.swing.JRadioButton rad_1813;
private javax.swing.JRadioButton rad_1822;
private javax.swing.JRadioButton rad_1823;
private javax.swing.JRadioButton rad_1832;
private javax.swing.JRadioButton rad_1833;
private javax.swing.JRadioButton rad_1834;
private javax.swing.JRadioButton rad_1835;
private javax.swing.JRadioButton rad_2085;
private javax.swing.JRadioButton rad_2086;
private javax.swing.JRadioButton rad_2087;
private javax.swing.JRadioButton rad_2088;
private javax.swing.JRadioButton rad_2089;
private javax.swing.JRadioButton rad_2090;
private javax.swing.JRadioButton rad_2091;
private javax.swing.JRadioButton rad_2092;
private javax.swing.JRadioButton rad_2093;
private javax.swing.JRadioButton rad_2095;
private javax.swing.JRadioButton rad_2096;
private javax.swing.JRadioButton rad_2097;
private javax.swing.JRadioButton rad_2098;
private javax.swing.JRadioButton rad_2099;
private javax.swing.JRadioButton rad_2100;
private javax.swing.JRadioButton rad_2101;
private javax.swing.JRadioButton rad_2102;
private javax.swing.JRadioButton rad_2103;
private javax.swing.JRadioButton rad_2104;
private javax.swing.JRadioButton rad_2105;
private javax.swing.JRadioButton rad_2106;
private javax.swing.JRadioButton rad_2107;
private javax.swing.JRadioButton rad_2108;
private javax.swing.JRadioButton rad_2109;
private javax.swing.JRadioButton rad_2110;
private javax.swing.JRadioButton rad_2111;
private javax.swing.JRadioButton rad_2112;
private javax.swing.JRadioButton rad_2113;
private javax.swing.JRadioButton rad_2114;
private javax.swing.JRadioButton rad_2115;
private javax.swing.JRadioButton rad_2116;
private javax.swing.JRadioButton rad_2117;
private javax.swing.JRadioButton rad_2118;
private javax.swing.JRadioButton rad_2119;
private javax.swing.JRadioButton rad_2120;
private javax.swing.JRadioButton rad_2121;
private javax.swing.JRadioButton rad_2122;
private javax.swing.JRadioButton rad_2123;
private javax.swing.JRadioButton rad_2124;
private javax.swing.JRadioButton rad_2125;
private javax.swing.JRadioButton rad_2126;
private javax.swing.JRadioButton rad_2127;
private javax.swing.JRadioButton rad_2128;
private javax.swing.JRadioButton rad_2129;
private javax.swing.JRadioButton rad_2130;
private javax.swing.JRadioButton rad_2131;
private javax.swing.JRadioButton rad_2132;
private javax.swing.JRadioButton rad_2133;
private javax.swing.JRadioButton rad_2134;
private javax.swing.JRadioButton rad_2135;
private javax.swing.JRadioButton rad_2136;
private javax.swing.JRadioButton rad_2137;
private javax.swing.JRadioButton rad_2138;
private javax.swing.JRadioButton rad_2139;
private javax.swing.JRadioButton rad_2140;
private javax.swing.JRadioButton rad_2141;
private javax.swing.JRadioButton rad_2142;
private javax.swing.JRadioButton rad_2143;
private javax.swing.JRadioButton rad_2144;
private javax.swing.JRadioButton rad_2145;
private javax.swing.JRadioButton rad_2146;
private javax.swing.JRadioButton rad_2147;
private javax.swing.JRadioButton rad_2148;
private javax.swing.JRadioButton rad_2149;
private javax.swing.JRadioButton rad_2150;
private javax.swing.JRadioButton rad_2151;
private javax.swing.JRadioButton rad_2152;
private javax.swing.JRadioButton rad_2153;
private javax.swing.JRadioButton rad_2154;
private javax.swing.JRadioButton rad_2155;
private javax.swing.JRadioButton rad_2156;
private javax.swing.JRadioButton rad_2157;
private javax.swing.JRadioButton rad_2158;
private javax.swing.JRadioButton rad_2159;
private javax.swing.JRadioButton rad_2160;
private javax.swing.JRadioButton rad_2161;
private javax.swing.JRadioButton rad_2162;
private javax.swing.JRadioButton rad_2163;
private javax.swing.JRadioButton rad_2164;
private javax.swing.JRadioButton rad_2165;
private javax.swing.JRadioButton rad_2166;
private javax.swing.JRadioButton rad_2167;
private javax.swing.JRadioButton rad_2168;
private javax.swing.JRadioButton rad_2169;
private javax.swing.JRadioButton rad_2170;
private javax.swing.JRadioButton rad_2171;
private javax.swing.JRadioButton rad_2172;
private javax.swing.JRadioButton rad_2173;
private javax.swing.JRadioButton rad_2174;
private javax.swing.JRadioButton rad_2175;
private javax.swing.JRadioButton rad_2176;
private javax.swing.JRadioButton rad_2177;
private javax.swing.JRadioButton rad_2178;
private javax.swing.JRadioButton rad_2179;
private javax.swing.JRadioButton rad_2180;
private javax.swing.JRadioButton rad_2181;
private javax.swing.JRadioButton rad_2182;
private javax.swing.JRadioButton rad_2183;
private javax.swing.JRadioButton rad_2184;
private javax.swing.JRadioButton rad_2185;
private javax.swing.JRadioButton rad_2186;
private javax.swing.JRadioButton rad_2187;
private javax.swing.JRadioButton rad_2188;
private javax.swing.JRadioButton rad_2189;
private javax.swing.JRadioButton rad_2190;
private javax.swing.JRadioButton rad_2193;
private javax.swing.JRadioButton rad_2194;
private javax.swing.JRadioButton rad_2195;
private javax.swing.JRadioButton rad_2196;
private javax.swing.JRadioButton rad_2197;
private javax.swing.JRadioButton rad_2198;
private javax.swing.JRadioButton rad_2199;
private javax.swing.JRadioButton rad_2200;
private javax.swing.JRadioButton rad_2201;
private javax.swing.JRadioButton rad_2202;
private javax.swing.JRadioButton rad_2203;
private javax.swing.JRadioButton rad_2204;
private javax.swing.JRadioButton rad_2205;
private javax.swing.JRadioButton rad_2206;
private javax.swing.JRadioButton rad_2207;
private javax.swing.JRadioButton rad_2208;
private javax.swing.JRadioButton rad_2209;
private javax.swing.JRadioButton rad_2210;
private javax.swing.JRadioButton rad_2211;
private javax.swing.JRadioButton rad_2212;
private javax.swing.JRadioButton rad_2213;
private javax.swing.JRadioButton rad_2214;
private javax.swing.JRadioButton rad_2215;
private javax.swing.JRadioButton rad_2216;
private javax.swing.JRadioButton rad_2217;
private javax.swing.JRadioButton rad_2218;
private javax.swing.JRadioButton rad_2219;
private javax.swing.JRadioButton rad_2220;
private javax.swing.JRadioButton rad_2221;
private javax.swing.JRadioButton rad_2222;
private javax.swing.JRadioButton rad_2223;
private javax.swing.JRadioButton rad_2224;
private javax.swing.JRadioButton rad_2225;
private javax.swing.JRadioButton rad_2226;
private javax.swing.JRadioButton rad_2227;
private javax.swing.JRadioButton rad_2228;
private javax.swing.JRadioButton rad_2229;
private javax.swing.JRadioButton rad_2230;
private javax.swing.JRadioButton rad_2231;
private javax.swing.JRadioButton rad_2232;
private javax.swing.JRadioButton rad_2233;
private javax.swing.JRadioButton rad_2234;
private javax.swing.JRadioButton rad_2235;
private javax.swing.JRadioButton rad_2236;
private javax.swing.JRadioButton rad_2237;
private javax.swing.JRadioButton rad_2238;
private javax.swing.JRadioButton rad_2239;
private javax.swing.JRadioButton rad_2240;
private javax.swing.JRadioButton rad_2241;
private javax.swing.JRadioButton rad_2242;
private javax.swing.JRadioButton rad_2243;
private javax.swing.JRadioButton rad_2244;
private javax.swing.JRadioButton rad_2245;
private javax.swing.JRadioButton rad_2246;
private javax.swing.JRadioButton rad_2247;
private javax.swing.JRadioButton rad_2248;
private javax.swing.JRadioButton rad_2249;
private javax.swing.JRadioButton rad_2251;
private javax.swing.JRadioButton rad_2252;
private javax.swing.JRadioButton rad_2253;
private javax.swing.JRadioButton rad_2254;
private javax.swing.JRadioButton rad_2255;
private javax.swing.JRadioButton rad_2256;
private javax.swing.JRadioButton rad_2257;
private javax.swing.JRadioButton rad_2258;
private javax.swing.JRadioButton rad_2259;
private javax.swing.JRadioButton rad_2260;
private javax.swing.JRadioButton rad_2261;
private javax.swing.JRadioButton rad_2262;
private javax.swing.JRadioButton rad_2263;
private javax.swing.JRadioButton rad_2264;
private javax.swing.JRadioButton rad_2265;
private javax.swing.JRadioButton rad_2266;
private javax.swing.JRadioButton rad_2267;
private javax.swing.JRadioButton rad_2268;
private javax.swing.JRadioButton rad_2269;
private javax.swing.JRadioButton rad_2270;
private javax.swing.JRadioButton rad_2271;
private javax.swing.JRadioButton rad_2272;
private javax.swing.JRadioButton rad_2273;
private javax.swing.JRadioButton rad_2274;
private javax.swing.JRadioButton rad_2275;
private javax.swing.JRadioButton rad_2276;
private javax.swing.JRadioButton rad_2277;
private javax.swing.JRadioButton rad_2278;
private javax.swing.JRadioButton rad_2279;
private javax.swing.JRadioButton rad_2280;
private javax.swing.JRadioButton rad_2281;
private javax.swing.JRadioButton rad_2282;
private javax.swing.JRadioButton rad_2283;
private javax.swing.JRadioButton rad_2284;
private javax.swing.JRadioButton rad_2285;
private javax.swing.JRadioButton rad_2286;
private javax.swing.JRadioButton rad_2287;
private javax.swing.JRadioButton rad_2288;
private javax.swing.JRadioButton rad_2294;
private javax.swing.JRadioButton rad_2295;
private javax.swing.JRadioButton rad_2303;
private javax.swing.JRadioButton rad_2304;
private javax.swing.JRadioButton rad_2305;
private javax.swing.JRadioButton rad_2306;
private javax.swing.JRadioButton rad_2307;
private javax.swing.JRadioButton rad_2308;
private javax.swing.JRadioButton rad_2309;
private javax.swing.JRadioButton rad_2310;
private javax.swing.JRadioButton rad_2311;
private javax.swing.JRadioButton rad_2312;
private javax.swing.JRadioButton rad_2313;
private javax.swing.JRadioButton rad_2314;
private javax.swing.JRadioButton rad_2315;
private javax.swing.JRadioButton rad_2316;
private javax.swing.JRadioButton rad_2317;
private javax.swing.JRadioButton rad_2318;
private javax.swing.JRadioButton rad_2319;
private javax.swing.JRadioButton rad_2320;
private javax.swing.JRadioButton rad_2321;
private javax.swing.JRadioButton rad_2322;
private javax.swing.JRadioButton rad_2323;
private javax.swing.JRadioButton rad_2324;
private javax.swing.JRadioButton rad_2325;
private javax.swing.JRadioButton rad_2326;
private javax.swing.JRadioButton rad_2327;
private javax.swing.JRadioButton rad_2328;
private javax.swing.JRadioButton rad_2329;
private javax.swing.JRadioButton rad_2330;
private javax.swing.JRadioButton rad_2331;
private javax.swing.JRadioButton rad_2332;
private javax.swing.JRadioButton rad_2333;
private javax.swing.JRadioButton rad_2334;
private javax.swing.JRadioButton rad_2335;
private javax.swing.JRadioButton rad_2336;
private javax.swing.JRadioButton rad_2337;
private javax.swing.JRadioButton rad_2338;
private javax.swing.JRadioButton rad_2339;
private javax.swing.JRadioButton rad_2340;
private javax.swing.JRadioButton rad_2341;
private javax.swing.JRadioButton rad_2342;
private javax.swing.JRadioButton rad_2343;
private javax.swing.JRadioButton rad_2344;
private javax.swing.JRadioButton rad_2345;
private javax.swing.JRadioButton rad_2346;
private javax.swing.JRadioButton rad_2347;
private javax.swing.JRadioButton rad_2348;
private javax.swing.JRadioButton rad_2349;
private javax.swing.JRadioButton rad_2350;
private javax.swing.JRadioButton rad_2351;
private javax.swing.JRadioButton rad_2352;
private javax.swing.JRadioButton rad_2353;
private javax.swing.JRadioButton rad_2354;
private javax.swing.JRadioButton rad_2355;
private javax.swing.JRadioButton rad_2356;
private javax.swing.JRadioButton rad_2357;
private javax.swing.JRadioButton rad_2358;
private javax.swing.JRadioButton rad_2359;
private javax.swing.JRadioButton rad_2360;
private javax.swing.JRadioButton rad_2361;
private javax.swing.JRadioButton rad_2362;
private javax.swing.JRadioButton rad_2363;
private javax.swing.JRadioButton rad_2369;
private javax.swing.JRadioButton rad_2370;
private javax.swing.JRadioButton rad_2371;
private javax.swing.JRadioButton rad_2372;
private javax.swing.JRadioButton rad_2373;
private javax.swing.JRadioButton rad_2374;
private javax.swing.JRadioButton rad_2375;
private javax.swing.JRadioButton rad_2376;
private javax.swing.JRadioButton rad_2380;
private javax.swing.JRadioButton rad_2381;
private javax.swing.JRadioButton rad_2382;
private javax.swing.JRadioButton rad_2383;
private javax.swing.JRadioButton rad_2384;
private javax.swing.JRadioButton rad_2385;
private javax.swing.JRadioButton rad_2386;
private javax.swing.JRadioButton rad_2387;
private javax.swing.JRadioButton rad_2388;
private javax.swing.JRadioButton rad_2389;
private javax.swing.JRadioButton rad_2390;
private javax.swing.JRadioButton rad_2391;
private javax.swing.JRadioButton rad_2392;
private javax.swing.JRadioButton rad_2393;
private javax.swing.JRadioButton rad_2394;
private javax.swing.JRadioButton rad_2395;
private javax.swing.JRadioButton rad_2396;
private javax.swing.JRadioButton rad_2397;
private javax.swing.JRadioButton rad_2398;
private javax.swing.JRadioButton rad_2399;
private javax.swing.JRadioButton rad_2400;
private javax.swing.JRadioButton rad_2401;
private javax.swing.JRadioButton rad_2402;
private javax.swing.JRadioButton rad_2403;
private javax.swing.JRadioButton rad_2404;
private javax.swing.JRadioButton rad_2405;
private javax.swing.JRadioButton rad_2406;
private javax.swing.JRadioButton rad_2407;
private javax.swing.JRadioButton rad_2408;
private javax.swing.JRadioButton rad_2409;
private javax.swing.JRadioButton rad_2411;
private javax.swing.JRadioButton rad_2412;
private javax.swing.JRadioButton rad_2413;
private javax.swing.JRadioButton rad_2414;
private javax.swing.JRadioButton rad_2415;
private javax.swing.JRadioButton rad_2416;
private javax.swing.JRadioButton rad_2417;
private javax.swing.JRadioButton rad_2418;
private javax.swing.JRadioButton rad_2419;
private javax.swing.JRadioButton rad_2420;
private javax.swing.JRadioButton rad_2421;
private javax.swing.JRadioButton rad_2422;
private javax.swing.JRadioButton rad_2423;
private javax.swing.JRadioButton rad_2424;
private javax.swing.JRadioButton rad_2425;
private javax.swing.JRadioButton rad_2426;
private javax.swing.JRadioButton rad_2427;
private javax.swing.JRadioButton rad_2428;
private javax.swing.JRadioButton rad_2429;
private javax.swing.JRadioButton rad_2430;
private javax.swing.JRadioButton rad_2431;
private javax.swing.JRadioButton rad_2432;
private javax.swing.JRadioButton rad_2433;
private javax.swing.JRadioButton rad_2434;
private javax.swing.JRadioButton rad_2435;
private javax.swing.JRadioButton rad_2437;
private javax.swing.JRadioButton rad_2438;
private javax.swing.JRadioButton rad_2439;
private javax.swing.JRadioButton rad_2440;
private javax.swing.JRadioButton rad_2441;
private javax.swing.JRadioButton rad_2442;
private javax.swing.JRadioButton rad_2443;
private javax.swing.JRadioButton rad_2444;
private javax.swing.JRadioButton rad_2445;
private javax.swing.JRadioButton rad_2446;
private javax.swing.JRadioButton rad_2447;
private javax.swing.JRadioButton rad_2448;
private javax.swing.JRadioButton rad_2449;
private javax.swing.JRadioButton rad_2450;
private javax.swing.JRadioButton rad_2451;
private javax.swing.JRadioButton rad_2452;
private javax.swing.JRadioButton rad_2453;
private javax.swing.JRadioButton rad_2454;
private javax.swing.JRadioButton rad_2455;
private javax.swing.JRadioButton rad_2456;
private javax.swing.JRadioButton rad_2457;
private javax.swing.JRadioButton rad_2458;
private javax.swing.JRadioButton rad_2459;
private javax.swing.JRadioButton rad_2460;
private javax.swing.JRadioButton rad_2461;
private javax.swing.JRadioButton rad_2462;
private javax.swing.JRadioButton rad_2463;
private javax.swing.JRadioButton rad_2464;
private javax.swing.JRadioButton rad_2465;
private javax.swing.JRadioButton rad_2466;
private javax.swing.JRadioButton rad_3089;
private javax.swing.JRadioButton rad_3090;
private javax.swing.JRadioButton rad_3091;
private javax.swing.JRadioButton rad_3092;
private javax.swing.JRadioButton rad_3093;
private javax.swing.JRadioButton rad_3094;
private javax.swing.JRadioButton rad_3095;
private javax.swing.JRadioButton rad_3096;
private javax.swing.JRadioButton rad_3097;
private javax.swing.JRadioButton rad_3098;
private javax.swing.JRadioButton rad_3105;
private javax.swing.JRadioButton rad_3106;
private javax.swing.JRadioButton rad_3107;
private javax.swing.JRadioButton rad_3109;
private javax.swing.JRadioButton rad_3112;
private javax.swing.JTextField txt_2094;
private javax.swing.JTextField txt_2191;
private javax.swing.JTextField txt_2192;
private javax.swing.JTextField txt_2250;
private javax.swing.JTextField txt_2467;
private javax.swing.JTextField txt_apellidos;
private javax.swing.JTextField txt_cedula;
private javax.swing.JTextField txt_nombres;
// End of variables declaration//GEN-END:variables
}
| [
"francischalan@gmail.com"
] | francischalan@gmail.com |
a021dfe98cbf5b775a7eab7aa64d8d7788320631 | 6832918e1b21bafdc9c9037cdfbcfe5838abddc4 | /jdk_8_maven/cs/rest/original/languagetool/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/MorfologikGermanyGermanSpellerRule.java | 53c761649588a7c4c8d43957fb4bbb14465bf081 | [
"Apache-2.0",
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"LGPL-2.1-only"
] | permissive | EMResearch/EMB | 200c5693fb169d5f5462d9ebaf5b61c46d6f9ac9 | 092c92f7b44d6265f240bcf6b1c21b8a5cba0c7f | refs/heads/master | 2023-09-04T01:46:13.465229 | 2023-04-12T12:09:44 | 2023-04-12T12:09:44 | 94,008,854 | 25 | 14 | Apache-2.0 | 2023-09-13T11:23:37 | 2017-06-11T14:13:22 | Java | UTF-8 | Java | false | false | 2,197 | java | /* LanguageTool, a natural language style checker
* Copyright (C) 2012 Marcin Miłkowski (http://www.languagetool.org)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
package org.languagetool.rules.de;
import java.io.IOException;
import java.util.List;
import java.util.ResourceBundle;
import org.languagetool.Language;
import org.languagetool.UserConfig;
import org.languagetool.rules.Example;
import org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule;
/**
* Spell checker rule that, unlike {@link GermanSpellerRule}, does not support compounds
* (except those listed in the dictionary of course).
* @deprecated since 4.4, use GermanSpellerRule
*/
public final class MorfologikGermanyGermanSpellerRule extends MorfologikSpellerRule {
private static final String RESOURCE_FILENAME = "/de/hunspell/de_DE.dict";
public MorfologikGermanyGermanSpellerRule(ResourceBundle messages,
Language language, UserConfig userConfig, List<Language> altLanguages) throws IOException {
super(messages, language, userConfig, altLanguages);
addExamplePair(Example.wrong("LanguageTool kann mehr als eine <marker>nromale</marker> Rechtschreibprüfung."),
Example.fixed("LanguageTool kann mehr als eine <marker>normale</marker> Rechtschreibprüfung."));
}
@Override
public String getFileName() {
return RESOURCE_FILENAME;
}
@Override
public String getId() {
return "MORFOLOGIK_RULE_DE_DE";
}
}
| [
"arcuri82@gmail.com"
] | arcuri82@gmail.com |
b2c141b6423a9102ff11bc69c385029280374f88 | 7219a51261423fe26f08b4fbf81772a8278acbfe | /MyCoolWeather/app/src/main/java/cn/ololee/mycoolweather/db/County.java | 577f7f06d789558bc5e2cb1633af402def98735f | [] | no_license | ololee/sqltest | 0c1deda1c1a80709d03cc273313cfa202d3ec1d2 | 323d00c0910a448ed5ad7fcb6622baaf316c7d7a | refs/heads/master | 2020-12-06T03:42:28.327907 | 2020-01-17T14:06:29 | 2020-01-17T14:06:29 | 232,330,010 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 804 | java | package cn.ololee.mycoolweather.db;
import org.litepal.crud.LitePalSupport;
public class County extends LitePalSupport {
private int id;
private String countyName;
private String weatherId;
private int cityId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCountyName() {
return countyName;
}
public void setCountyName(String countyName) {
this.countyName = countyName;
}
public String getWeatherId() {
return weatherId;
}
public void setWeatherId(String weatherId) {
this.weatherId = weatherId;
}
public int getCityId() {
return cityId;
}
public void setCityId(int cityId) {
this.cityId = cityId;
}
}
| [
"08163285@cumt.edu.cn"
] | 08163285@cumt.edu.cn |
1ce6aa5fd0295fe8095125771c773aef2b250045 | e60660d2700b09f173a93bf3a36e449132f17e42 | /src/com/jtalics/onyx/visual/buttonPanel/ShapeType.java | 32fc60e15ce29902ea1ee6b862a41f00fcefc887 | [] | no_license | dancingchrissit/pairstrader | 3bc5c092a26295f4bfcb654dc3545c798087ec24 | 5517b747b71b4303059f4c27b3664d8fcb42c050 | refs/heads/master | 2021-01-22T16:31:03.605056 | 2014-12-25T21:56:37 | 2014-12-25T21:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 732 | java | package com.jtalics.onyx.visual.buttonPanel;
/**
* The Class ButtonType.
*/
public class ShapeType {
/** The Constant ROUNDED_RECTANGULAR. */
public static final String ROUNDED_RECTANGULAR = "Rounded Rectangle";
/** The Constant RECTANGULAR. */
public static final String RECTANGULAR = "Rectangle";
/** The Constant OVAL. */
public static final String OVAL = "Oval";
/** The Constant CIRCULAR. */
public static final String CIRCULAR = "Circle";
/** The Constant ARROW. */
public static final String ARROW = "Arrow";
/** The Constant ELLIPSE. */
public static final String ELLIPSE = "Ellipse";
/** The Constant ROUNDED. */
public static final String ROUNDED = "Rounded";
}
| [
"dev1@jtalics.com"
] | dev1@jtalics.com |
629c99211d15d9c8dfbf397a65486dd1f495f8b3 | 104de4c4b690539518b9ef15cea43acd77103d5b | /src/main/java/cc/javaee/bbs/controller/user/UserLiuyanContriller.java | dd6c95236ad01a33723942ad47a7ce0d3180d962 | [] | no_license | xupan123/ssm_luntan_ | 7052785e5c5b6b19749f58a15cfe5998a3dd9591 | 6276e6a7ede1ea37cec47c280e02b97ea296b8ab | refs/heads/master | 2021-11-03T22:04:49.188411 | 2019-04-26T12:10:09 | 2019-04-26T12:10:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,805 | java | package cc.javaee.bbs.controller.user;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import cc.javaee.bbs.model.User;
import cc.javaee.bbs.model.UserLiuyan;
import cc.javaee.bbs.service.UserLiuyanService;
import cc.javaee.bbs.tool.PublicStatic;
import cc.javaee.bbs.tool.Tool;
/*
* 用户留言页面
*
*/
@Controller
@RequestMapping("/user/liuyan")
public class UserLiuyanContriller {
@Autowired
UserLiuyanService userLiuyanService;
// 添加
@ResponseBody
@RequestMapping("add.do")
public String add(HttpServletRequest request, Model model, UserLiuyan userLiuyan) {
User sessionuser = (User) request.getSession().getAttribute(PublicStatic.USER);
if (sessionuser != null && userLiuyan.getContenthtml().length() > 0) {
userLiuyan.setCreateuserid(sessionuser.getId());
userLiuyan.setCreatetime(Tool.getyyyyMMddHHmm());
userLiuyanService.insert(userLiuyan);
}
return "1";
}
// 删除
@ResponseBody
@RequestMapping("del.do")
public String del(HttpServletRequest request, Model model, UserLiuyan userLiuyan) {
User sessionuser = (User) request.getSession().getAttribute(PublicStatic.USER);
if (sessionuser != null) {
userLiuyan = userLiuyanService.findbyid(userLiuyan);
if (userLiuyan != null) {
if (sessionuser.getGroupid().equals("1") || sessionuser.getGroupid().equals("2") || sessionuser.getId() == userLiuyan.getCreateuserid()
|| sessionuser.getId() == userLiuyan.getLiuyanuserid()) {
userLiuyanService.delete(userLiuyan.getId());
}
}
}
return "1";
}
}
| [
"806871609@qq.com"
] | 806871609@qq.com |
671b4bbea0301c284e4b4291470a58e9038335ec | be73270af6be0a811bca4f1710dc6a038e4a8fd2 | /crash-reproduction-moho/results/XRENDERING-418-26-6-SPEA2-WeightedSum:TestLen:CallDiversity/org/xwiki/rendering/wikimodel/xhtml/filter/DefaultXMLFilter_ESTest.java | 168414d54551e434c05c322565125941814e53c5 | [] | no_license | STAMP-project/Botsing-multi-objectivization-using-helper-objectives-application | cf118b23ecb87a8bf59643e42f7556b521d1f754 | 3bb39683f9c343b8ec94890a00b8f260d158dfe3 | refs/heads/master | 2022-07-29T14:44:00.774547 | 2020-08-10T15:14:49 | 2020-08-10T15:14:49 | 285,804,495 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 581 | java | /*
* This file was automatically generated by EvoSuite
* Mon Apr 06 09:35:49 UTC 2020
*/
package org.xwiki.rendering.wikimodel.xhtml.filter;
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(useVFS = true, useJEE = true)
public class DefaultXMLFilter_ESTest extends DefaultXMLFilter_ESTest_scaffolding {
@Test
public void notGeneratedAnyTest() {
// EvoSuite did not generate any tests
}
}
| [
"pouria.derakhshanfar@gmail.com"
] | pouria.derakhshanfar@gmail.com |
3330e8bcf3aaa1877a146e24ea3f9267db5460de | a8d88647483c075c9a78c117e0c284ccd4cce5c9 | /app/src/androidTest/java/com/benrazor/peacemachine/ExampleInstrumentedTest.java | a33c64aabd2fd099dd2602f34990a83735d3475a | [] | no_license | ben-razor/peace-machine-android | d087e3da76a3cb7003c5a7f5ebbad4f31833aa79 | 610c2a01f359c23103aec680f32cec471466a9b3 | refs/heads/main | 2023-04-02T01:12:51.431014 | 2021-04-04T09:17:10 | 2021-04-04T09:17:10 | 337,015,668 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 720 | java | package com.benrazor.peacemachine;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.example.peacemachine", appContext.getPackageName());
}
}
| [
"chrisbenwar1@googlemail.com"
] | chrisbenwar1@googlemail.com |
c0c6b2e5991b7e4a678b1b1c42fb3e64f56ffecf | 436c27e3567652e3c1baf9010e393fb3f16aded5 | /demo-token/src/main/java/com/example/demo/service/serviceImpl/QgServiceImpl.java | b60216c66bcd3c372dd18a3b17e3bd3d532b3e22 | [] | no_license | hangcoffee/springboot-demo | 69cc059ff3676b038d52edfa1dc694dce4a8f4c3 | 2c47dbf89baccdb7c6d7342fa7b34a1ae2c7a7a6 | refs/heads/master | 2020-03-26T23:16:19.529846 | 2019-04-23T12:16:02 | 2019-04-23T12:16:02 | 145,525,530 | 0 | 1 | null | 2018-08-21T12:29:28 | 2018-08-21T07:39:42 | null | UTF-8 | Java | false | false | 635 | java | package com.example.demo.service.serviceImpl;
import com.example.demo.mapper.QgMapper;
import com.example.demo.model.Qg;
import com.example.demo.service.QgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @author: ayh
* @create: 2019-04-10 19:52
**/
@Service
public class QgServiceImpl implements QgService {
@Autowired
private QgMapper qgMapper;
@Override
public int saveQg(Qg qg) {
return qgMapper.saveQg(qg);
}
@Override
public int queryQgCount(int userId) {
return qgMapper.queryQgCount(userId);
}
}
| [
"hangcoffee@163.com"
] | hangcoffee@163.com |
a444ee50334f06440d08af2397fd3798cdce0601 | 51040bcf551fde6e3d0b558383f3e92ea0fc037b | /00_jblooming/org/jblooming/messaging/MailMessageUtilities.java | 1b9832e0872b5c06adc06e5c7ce5a2c1165075c7 | [] | no_license | mlromramse/JavaQA | 90bd942719fdc5ddfe85658acbe29733bf5b3fd5 | dfe08dabc7b99c9bf5aefd695dbf30173a9ef5cc | refs/heads/master | 2021-01-22T15:00:10.694300 | 2014-05-13T14:02:32 | 2014-05-13T14:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 30,535 | java | package org.jblooming.messaging;
import org.jblooming.tracer.Tracer;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import java.io.*;
import java.util.Enumeration;
import java.util.Vector;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* (c) Open Lab - www.open-lab.com
* Date: Apr 10, 2007
* Time: 6:09:35 PM
*/
public class MailMessageUtilities {
/**
* This wrapper is used to work around a bug in the sun io inside
* sun.io.ByteToCharConverter.getConverterClass().
* <p/>
* The programmer uses a cute coding trick
* that appends the charset to a prefix to create a Class name that
* they then attempt to load. The problem is that if the charset is
* not one that they "recognize", and the name has something like a
* dash character in it, the resulting Class name has an invalid
* character in it. This results in an IllegalArgumentException
* instead of the UnsupportedEncodingException that is documented.
* Thus, we need to catch the undocumented exception.
*
* @param part The part from which to get the content.
* @return The content.
* @throws MessagingException if the content charset is unsupported.
*/
public static Object getPartContent(Part part) throws MessagingException {
Object result = null;
try {
result = part.getContent();
} catch (IllegalArgumentException ex) {
throw new MessagingException("content charset is not recognized: " + ex.getMessage());
} catch (IOException ex) {
throw new MessagingException("getPartContent(): " + ex.getMessage());
}
return result;
}
/**
* This wrapper is used to work around a bug in the sun io inside
* sun.io.ByteToCharConverter.getConverterClass().
* <p/>
* The programmer uses a cute coding trick
* that appends the charset to a prefix to create a Class name that
* they then attempt to load. The problem is that if the charset is
* not one that they "recognize", and the name has something like a
* dash character in it, the resulting Class name has an invalid
* character in it. This results in an IllegalArgumentException
* instead of the UnsupportedEncodingException that is documented.
* Thus, we need to catch the undocumented exception.
*
* @param dh The DataHandler from which to get the content.
* @return The content.
* @throws MessagingException if the content charset is unsupported.
*/
public static Object getDataHandlerContent(DataHandler dh) throws MessagingException {
Object result = null;
try {
result = dh.getContent();
} catch (IllegalArgumentException ex) {
throw new MessagingException("content charset is not recognized: " + ex.getMessage());
} catch (IOException ex) {
throw new MessagingException("getDataHandlerContent(): " + ex.getMessage());
}
return result;
}
/**
* Create a reply message to the given message.
* The reply message is addressed to only the from / reply address or
* all receipients based on the replyToAll flag.
*
* @param message The message which to reply
* @param body The attached text to include in the reply
* @param replyToAll Reply to all receipients of the original message
* @return Message Reply message
* @exception MessagingException if the message contents are invalid
*/
/*
public static Message createReply(Message message, String body, boolean replyToAll) throws MessagingException {
// create an empty reply message
Message xreply = message.reply(replyToAll);
// set the default from address
xreply.setFrom(getDefaultFromAddress());
// UNDONE should any extra headers be replied to?
if (message instanceof MimeMessage) {
((MimeMessage) xreply).setText(body, "UTF-8");
} else {
xreply.setText(body);
}
// Message.reply() may set the "replied to" flag, so
// attempt to save that new state and fail silently...
try {
message.saveChanges();
} catch (MessagingException ex) {
}
return xreply;
}
*/
/**
* Create a forward message to the given message.
* The forward message addresses no receipients but
* contains all the contents of the given message.
* Another missing method in JavaMail!!!
*
* @param message The message which to forward
* @return Message Forwarding message
* @exception MessagingException if the message contents are invalid
*/
/*
public static Message createForward(Message message) throws MessagingException {
// create an initial message without addresses, subject, or content
MimeMessage xforward = new MimeMessage(ICEMail.getDefaultSession());
// create forwarding headers
InternetHeaders xheaders = getHeaders(message);
xheaders.removeHeader("from");
xheaders.removeHeader("to");
xheaders.removeHeader("cc");
xheaders.removeHeader("bcc");
xheaders.removeHeader("received");
addHeaders(xforward, xheaders);
// set the default from address
xforward.setFrom(getDefaultFromAddress());
// create the subject
String xsubject = message.getSubject().trim();
if (xsubject.toUpperCase().indexOf("FW") != 0) {
xsubject = "FW: " + xsubject;
}
xforward.setSubject(xsubject, "UTF-8");
// create the contents
ContentType xctype = getContentType(message);
Object xcont = getPartContent(message);
xforward.setContent(xcont, xctype.toString());
// REVIEW - why would we need to save here?!
// xforward.saveChanges();
return xforward;
} */
//............................................................
/**
* Decode from address(es) of the message into UTF strings.
* This is a convenience method provided to simplify application code.
*
* @param message The message to interogate
* @return String List of decoded addresses
* @throws MessagingException if the message contents are invalid
*/
public static String decodeFrom(javax.mail.Message message) throws MessagingException {
Address[] xaddresses = message.getFrom();
return decodeAddresses(xaddresses);
}
/**
* Decode recipent addresses of the message into UTF strings.
* This is a convenience method provided to simplify application code.
*
* @param message The message to interogate
* @param type The type of message recipients to decode, i.e. from, to, cc, etc
* @return String List of decoded addresses
* @throws MessagingException if the message contents are invalid
*/
public static String
decodeAddresses(javax.mail.Message message, javax.mail.Message.RecipientType type) throws MessagingException {
Address[] xaddresses = message.getRecipients(type);
return decodeAddresses(xaddresses);
}
/**
* Decode mail addresses into UTF strings.
* <p/>
* This routine is necessary because Java Mail Address.toString() routines
* convert into MIME encoded strings (ASCII C and B encodings), not UTF.
* Of course, the returned string is in the same format as MIME, but converts
* to UTF character encodings.
*
* @param addresses The list of addresses to decode
* @return String List of decoded addresses
*/
public static String decodeAddresses(Address[] addresses) {
StringBuffer xlist = new StringBuffer();
if (addresses != null) {
for (int xindex = 0; xindex < addresses.length; xindex++) {
// at this time, only internet addresses can be decoded
if (xlist.length() > 0)
xlist.append(", ");
if (addresses[xindex] instanceof InternetAddress) {
InternetAddress xinet = (InternetAddress) addresses[xindex];
if (xinet.getPersonal() == null) {
xlist.append(xinet.getAddress());
} else {
// If the address has a ',' in it, we must
// wrap it in quotes, or it will confuse the
// code that parses addresses separated by commas.
String personal = xinet.getPersonal();
int idx = personal.indexOf(",");
String qStr = (idx == -1 ? "" : "\"");
xlist.append(qStr);
xlist.append(personal);
xlist.append(qStr);
xlist.append(" <");
xlist.append(xinet.getAddress());
xlist.append(">");
}
} else {
// generic, and probably not portable,
// but what's a man to do...
xlist.append(addresses[xindex].toString());
}
}
}
return xlist.toString();
}
/**
* Encode UTF strings into mail addresses.
*/
public static InternetAddress[] encodeAddresses(String string, String charset) throws MessagingException {
// parse the string into the internet addresses
// NOTE: these will NOT be character encoded
InternetAddress[] xaddresses = InternetAddress.parse(string);
// now encode each to the given character set
for (int xindex = 0; xindex < xaddresses.length; xindex++) {
String xpersonal = xaddresses[xindex].getPersonal();
try {
if (xpersonal != null) {
xaddresses[xindex].setPersonal(xpersonal, charset);
}
} catch (UnsupportedEncodingException xex) {
throw new MessagingException(xex.toString());
}
}
return xaddresses;
}
/*
public static InternetAddress getDefaultFromAddress() throws MessagingException {
// encode the address
String xcharset = "UTF-8";
InternetAddress[] xaddresses = encodeAddresses(getDefaultFromString(), xcharset);
return xaddresses[0];
}
public static String getDefaultFromString() {
// build a string from the user defined From personal and address
String xstring = UserProperties.getProperty("fromPersonal", null);
String xaddress = UserProperties.getProperty("fromAddress", null);
if (xaddress == null) {
xaddress = UserProperties.getProperty(".user.name", "unknown");
}
if (xstring != null && xstring.length() > 0) {
xstring = xstring + " <" + xaddress + ">";
} else {
xstring = xaddress;
}
return xstring;
}
public static InternetAddress getDefaultReplyTo() throws MessagingException {
// build a string from the user defined ReplyTo personal and address
String xstring = UserProperties.getProperty("replyToPersonal", null);
String xaddress = UserProperties.getProperty("replyToAddress", null);
if (xaddress == null) {
xaddress = UserProperties.getProperty(".user.name", "unknown");
}
if (xstring != null && xstring.length() > 0) {
xstring = xstring + " <" + xaddress + ">";
} else {
xstring = xaddress;
}
// encode the address
String xcharset = "UTF-8";
InternetAddress[] xaddresses = encodeAddresses(xstring, xcharset);
return xaddresses[0];
}
*/
//............................................................
public static InternetHeaders getHeadersWithFrom(javax.mail.Message message) throws MessagingException {
Header xheader;
InternetHeaders xheaders = new InternetHeaders();
Enumeration xe = message.getAllHeaders();
for (; xe.hasMoreElements();) {
xheader = (Header) xe.nextElement();
xheaders.addHeader(xheader.getName(), xheader.getValue());
}
return xheaders;
}
public static InternetHeaders getHeaders(javax.mail.Message message) throws MessagingException {
Header xheader;
InternetHeaders xheaders = new InternetHeaders();
Enumeration xe = message.getAllHeaders();
for (; xe.hasMoreElements();) {
xheader = (Header) xe.nextElement();
if (!xheader.getName().startsWith("From ")) {
xheaders.addHeader(xheader.getName(), xheader.getValue());
}
}
return xheaders;
}
public static void addHeaders(javax.mail.Message message, InternetHeaders headers) throws MessagingException {
Header xheader;
Enumeration xe = headers.getAllHeaders();
for (; xe.hasMoreElements();) {
xheader = (Header) xe.nextElement();
message.addHeader(xheader.getName(), xheader.getValue());
}
}
//............................................................
/* public static void
attach(MimeMultipart multipart, Vector attachments, String charset)
throws MessagingException {
for (int xindex = 0; xindex < attachments.size(); xindex++) {
Object xobject = attachments.elementAt(xindex);
// attach based on type of object
if (xobject instanceof Part) {
attach(multipart, (Part) xobject, charset);
} else if (xobject instanceof File) {
attach(multipart, (File) xobject, charset);
} else if (xobject instanceof String) {
attach(multipart, (String) xobject, charset, Part.ATTACHMENT);
} else {
throw new MessagingException("Cannot attach objects of type " +
xobject.getClass().getName());
}
}
}
public static void attach(MimeMultipart multipart, Part part, String charset) throws MessagingException {
MimeBodyPart xbody = new MimeBodyPart();
PartDataSource xds = new PartDataSource(part);
DataHandler xdh = new DataHandler(xds);
xbody.setDataHandler(xdh);
int xid = multipart.getCount() + 1;
String xtext;
// UNDONE
//xbody.setContentLanguage( String ); // this could be language from Locale
//xbody.setContentMD5( String md5 ); // don't know about this yet
xtext = part.getDescription();
if (xtext == null) {
xtext = "Part Attachment: " + xid;
}
xbody.setDescription(xtext, charset);
xtext = getContentDisposition(part).getType();
xbody.setDisposition(xtext);
xtext = getFileName(part);
if (xtext == null || xtext.length() < 1) {
xtext = "PART" + xid;
}
setFileName(xbody, xtext, charset);
multipart.addBodyPart(xbody);
} */
public static void attach(MimeMultipart multipart, File file, String charset) throws MessagingException {
// UNDONE how to specify the character set of the file???
MimeBodyPart xbody = new MimeBodyPart();
FileDataSource xds = new FileDataSource(file);
DataHandler xdh = new DataHandler(xds);
xbody.setDataHandler(xdh);
// UNDONE
// xbody.setContentLanguage( String ); // this could be language from Locale
// xbody.setContentMD5( String md5 ); // don't know about this yet
xbody.setDescription("File Attachment: " + file.getName(), charset);
xbody.setDisposition(Part.ATTACHMENT);
setFileName(xbody, file.getName(), charset);
multipart.addBodyPart(xbody);
}
public static void attach(MimeMultipart multipart, String text, String charset, String disposition) throws MessagingException {
int xid = multipart.getCount() + 1;
String xname = "TEXT" + xid + ".TXT";
MimeBodyPart xbody = new MimeBodyPart();
xbody.setText(text, charset);
// UNDONE
//xbody.setContentLanguage( String ); // this could be language from Locale
//xbody.setContentMD5( String md5 ); // don't know about this yet
xbody.setDescription("Text Attachment: " + xname, charset);
xbody.setDisposition(disposition);
setFileName(xbody, xname, charset);
multipart.addBodyPart(xbody);
}
//............................................................
/**
* Decode the contents of the Part into text and attachments.
*/
public static StringBuffer decodeContent(Part part, StringBuffer buffer, Vector attachments, Vector names) throws MessagingException {
subDecodeContent(part, buffer, attachments, names);
// If we did not get any body text, scan on more time
// for a text/plain part that is not 'inline', and use
// that as a proxy...
if (buffer.length() == 0 && attachments != null) {
for (int i = 0, sz = attachments.size(); i < sz; ++i) {
Part p = (Part) attachments.elementAt(i);
ContentType xctype = getContentType(p);
if (xctype.match("text/plain")) {
decodeTextPlain(buffer, p);
attachments.removeElementAt(i);
if (names != null) {
names.removeElementAt(i);
}
break;
}
}
}
return buffer;
}
/**
* Given a message that we are replying to, or forwarding,
*
* @param part The part to decode.
* @param buffer The new message body text buffer.
* @param attachments Vector for new message's attachments.
* @param names Vector for new message's attachment descriptions.
* @return The buffer being filled in with the body.
*/
protected static StringBuffer subDecodeContent(Part part, StringBuffer buffer, Vector attachments, Vector names) throws MessagingException {
boolean attachIt = true;
// decode based on content type and disposition
ContentType xctype = getContentType(part);
ContentDisposition xcdisposition = getContentDisposition(part);
if (xctype.match("multipart/*")) {
attachIt = false;
Multipart xmulti = (Multipart) getPartContent(part);
int xparts = xmulti.getCount();
for (int xindex = 0; xindex < xparts; xindex++) {
subDecodeContent(xmulti.getBodyPart(xindex),
buffer, attachments, names);
}
} else if (xctype.match("text/plain")) {
//if (xcdisposition.equals(Part.INLINE)) {
attachIt = false;
decodeTextPlain(buffer, part);
//}
}
if (attachIt) {
// UNDONE should simple single line entries be
// created for other types and attachments?
//
// UNDONE should attachements only be created for "attachments" or all
// unknown content types?
if (attachments != null) {
attachments.addElement(part);
}
if (names != null) {
names.addElement(getPartName(part) +
" (" + xctype.getBaseType() + ") " + part.getSize() + " bytes");
}
}
return buffer;
}
/**
* Get the name of a part.
* The part is interogated for a valid name from the provided file name
* or description.
*
* @param part The part to interogate
* @return String containing the name of the part
* @throws MessagingException if contents of the part are invalid
* @see javax.mail.Part
*/
public static String getPartName(Part part) throws MessagingException {
String xdescription = getFileName(part);
if (xdescription == null || xdescription.length() < 1) {
xdescription = part.getDescription();
}
if ((xdescription == null || xdescription.length() < 1) && part instanceof MimePart) {
xdescription = ((MimePart) part).getContentID();
}
if (xdescription == null || xdescription.length() < 1) {
xdescription = "Message Part";
}
return xdescription;
}
/**
* Decode contents of TEXT/PLAIN message parts into UTF encoded strings.
* Why can't JAVA Mail provide this method?? Who knows!?!?!?
*/
public static StringBuffer decodeTextPlain(StringBuffer buffer, Part part) throws MessagingException {
// pick off the individual lines of text
// and append to the buffer
//
BufferedReader xreader = getTextReader(part);
return decodeTextPlain(buffer, xreader);
}
public static StringBuffer decodeTextPlain(StringBuffer buffer, BufferedReader xreader) throws MessagingException {
// pick off the individual lines of text
// and append to the buffer
//
try {
for (String xline; (xline = xreader.readLine()) != null;) {
buffer.append(xline + '\n');
}
xreader.close();
return buffer;
} catch (IOException xex) {
throw new MessagingException(xex.toString());
}
}
public static BufferedReader getTextReader(Part part) throws MessagingException {
try {
InputStream xis = part.getInputStream(); // transfer decoded only
// pick the character set off of the content type
ContentType xct = getContentType(part);
String xjcharset = xct.getParameter("charset");
if (xjcharset == null) {
// not present, assume ASCII character encoding
xjcharset = "ISO-8859-1"; // US-ASCII in JAVA terms
}
// now construct a reader from the decoded stream
return getTextReader(xis, xjcharset);
} catch (IOException xex) {
throw new MessagingException(xex.toString());
}
}
public static BufferedReader getTextReader(InputStream xis, ContentType xct) throws MessagingException {
try {
String xjcharset = xct.getParameter("charset");
if (xjcharset == null) {
// not present, assume ASCII character encoding
xjcharset = "ISO-8859-1"; // US-ASCII in JAVA terms
}
// now construct a reader from the decoded stream
return getTextReader(xis, xjcharset);
} catch (IOException xex) {
throw new MessagingException(xex.toString());
}
}
public static BufferedReader getTextReader(InputStream stream, String charset) throws UnsupportedEncodingException {
// Sun has a HUGE bug in their io code. They use a cute coding trick
// that appends the charset to a prefix to create a Class name that
// they then attempt to load. The problem is that if the charset is
// not one that they "recognize", and the name has something like a
// dash character in it, the resulting Class name has an invalid
// character in it. This results in an IllegalArgumentException
// instead of the UnsupportedEncodingException that we expect. Thus,
// we need to catch the undocumented exception.
InputStreamReader inReader;
try {
charset = MimeUtility.javaCharset(charset); // just to be sure
inReader = new InputStreamReader(stream, charset);
} catch (UnsupportedEncodingException ex) {
inReader = null;
} catch (IllegalArgumentException ex) {
inReader = null;
}
if (inReader == null) {
// This is the "bug" case, and we need to do something
// that will at least put text in front of the user...
inReader = new InputStreamReader(stream, "ISO-8859-1");
}
return new BufferedReader(inReader);
}
//............................................................
/**
* Get a textual description of a message.
* This is a helper method for applications.
*
* @param msg The message to interogate
* @return String containing the description of the message
*/
public static String getMessageDescription(javax.mail.Message msg) throws MessagingException {
StringBuffer xbuffer = new StringBuffer(1024);
getPartDescription(msg, xbuffer, "", true);
return xbuffer.toString();
}
/**
* Get a textual description of a part.
*
* @param part The part to interogate
* @param buf a string buffer for the description
* @param prefix a prefix for each line of the description
* @param recurse boolean specifying wether to recurse through sub-parts or not
* @return StringBuffer containing the description of the part
*/
public static StringBuffer getPartDescription(Part part, StringBuffer buf, String prefix, boolean recurse) throws MessagingException {
if (buf == null)
return buf;
ContentType xctype = getContentType(part);
String xvalue = xctype.toString();
buf.append(prefix);
buf.append("Content-Type: ");
buf.append(xvalue);
buf.append('\n');
xvalue = part.getDisposition();
buf.append(prefix);
buf.append("Content-Disposition: ");
buf.append(xvalue);
buf.append('\n');
xvalue = part.getDescription();
buf.append(prefix);
buf.append("Content-Description: ");
buf.append(xvalue);
buf.append('\n');
xvalue = getFileName(part);
buf.append(prefix);
buf.append("Content-Filename: ");
buf.append(xvalue);
buf.append('\n');
if (part instanceof MimePart) {
MimePart xmpart = (MimePart) part;
xvalue = xmpart.getContentID();
buf.append(prefix);
buf.append("Content-ID: ");
buf.append(xvalue);
buf.append('\n');
String[] langs = xmpart.getContentLanguage();
if (langs != null) {
buf.append(prefix);
buf.append("Content-Language: ");
for (int pi = 0; pi < langs.length; ++pi) {
if (pi > 0)
buf.append(", ");
buf.append(xvalue);
}
buf.append('\n');
}
xvalue = xmpart.getContentMD5();
buf.append(prefix);
buf.append("Content-MD5: ");
buf.append(xvalue);
buf.append('\n');
xvalue = xmpart.getEncoding();
buf.append(prefix);
buf.append("Content-Encoding: ");
buf.append(xvalue);
buf.append('\n');
}
buf.append('\n');
if (recurse && xctype.match("multipart/*")) {
Multipart xmulti = (Multipart) getPartContent(part);
int xparts = xmulti.getCount();
for (int xindex = 0; xindex < xparts; xindex++) {
getPartDescription(xmulti.getBodyPart(xindex),
buf, (prefix + " "), true);
}
}
return buf;
}
/**
* Get the content dispostion of a part.
* The part is interogated for a valid content disposition. If the
* content disposition is missing, a default disposition is created
* based on the type of the part.
*
* @param part The part to interogate
* @return ContentDisposition of the part
* @see javax.mail.Part
*/
public static ContentDisposition getContentDisposition(Part part) throws MessagingException {
String xheaders[] = part.getHeader("Content-Disposition");
try {
if (xheaders != null) {
return new ContentDisposition(xheaders[0]);
}
} catch (ParseException xex) {
throw new MessagingException(xex.toString());
}
// set default disposition based on part type
if (part instanceof MimeBodyPart) {
return new ContentDisposition("attachment");
}
return new ContentDisposition("inline");
}
/**
* A 'safe' version of JavaMail getContentType(), i.e. don't throw exceptions.
* The part is interogated for a valid content type. If the content type is
* missing or invalid, a default content type of "text/plain" is assumed,
* which is suggested by the MIME standard.
*
* @param part The part to interogate
* @return ContentType of the part
* @see javax.mail.Part
*/
public static ContentType getContentType(Part part) {
String xtype = null;
try {
xtype = part.getContentType();
} catch (MessagingException xex) {
}
return getContentType(xtype);
}
public static ContentType getContentType(String xtype) {
if (xtype == null) {
xtype = "text/plain"; // MIME default content type if missing
}
ContentType xctype = null;
try {
xctype = new ContentType(xtype.toLowerCase());
} catch (ParseException xex) {
}
if (xctype == null) {
xctype = new ContentType("text", "plain", null);
}
return xctype;
}
/**
* Determin if the message is high-priority.
*
* @param message the message to examine
* @return true if the message is high-priority
*/
public static boolean isHighPriority(javax.mail.Message message) throws MessagingException {
if (message instanceof MimeMessage) {
MimeMessage xmime = (MimeMessage) message;
String xpriority = xmime.getHeader("Importance", null);
if (xpriority != null) {
xpriority = xpriority.toLowerCase();
if (xpriority.indexOf("high") == 0) {
return true;
}
}
// X Standard: X-Priority: 1 | 2 | 3 | 4 | 5 (lowest)
xpriority = xmime.getHeader("X-Priority", null);
if (xpriority != null) {
xpriority = xpriority.toLowerCase();
if (xpriority.indexOf("1") == 0 ||
xpriority.indexOf("2") == 0) {
return true;
}
}
}
return false;
}
/**
* Determin if the message is low-priority.
*
* @param message the message to examine
* @return true if the message is low-priority
*/
public static boolean isLowPriority(javax.mail.Message message) throws MessagingException {
if (message instanceof MimeMessage) {
MimeMessage xmime = (MimeMessage) message;
String xpriority = xmime.getHeader("Importance", null);
if (xpriority != null) {
xpriority = xpriority.toLowerCase();
if (xpriority.indexOf("low") == 0) {
return true;
}
}
// X Standard: X-Priority: 1 | 2 | 3 | 4 | 5 (lowest)
xpriority = xmime.getHeader("X-Priority", null);
if (xpriority != null) {
xpriority = xpriority.toLowerCase();
if (xpriority.indexOf("4") == 0 ||
xpriority.indexOf("5") == 0) {
return true;
}
}
}
return false;
}
/**
* A 'safe' version of JavaMail getFileName() which doesn't throw exceptions.
* Encoded filenames are also decoded if necessary.
* Why doesn't JAVA Mail do this?
*
* @param part The part to interogate
* @return File name of the part, or null if missing or invalid
* @see javax.mail.Part
*/
public static String getFileName(Part part) {
String xname = null;
try {
xname = part.getFileName();
} catch (MessagingException xex) {
}
// decode the file name if necessary
if (xname != null && xname.startsWith("=?")) {
try {
xname = MimeUtility.decodeWord(xname);
} catch (Exception xex) {
}
}
return xname;
}
/**
* A better version of setFileName() which will encode the name if necessary.
* Why doesn't JAVA Mail do this?
*
* @param part the part to manipulate
* @param name the give file name encoded in UTF (JAVA)
* @param charset the encoding character set
*/
public static void setFileName(Part part, String name, String charset) throws MessagingException {
try {
name = MimeUtility.encodeWord(name, charset, null);
} catch (Exception xex) {
}
part.setFileName(name);
}
public static String getPrintableMD5(StringBuffer xmlSync) {
MessageDigest md = null;
try {
md = MessageDigest.getInstance("MD5");
} catch (NoSuchAlgorithmException e) {
Tracer.emailLogger.error(e);
}
md.reset();
md.update(xmlSync.toString().getBytes());
byte md5b[] = md.digest();
StringBuffer sb = new StringBuffer();
for (int i = 0; i < md5b.length; ++i)
sb.append(Integer.toString((md5b[i] & 0xff) + 0x100, 16).substring(1));
String md5 = sb.toString();
return md5;
}
}
| [
"ppolsinelli@gmail.com"
] | ppolsinelli@gmail.com |
8f9c926022f76dced39de179190a233c4f92b81a | 01fbd454721eda0e77f26529140db9e5f4859bd1 | /src/test/java/TestSearch.java | 055a8829ceebc2c2434989da24f9e5fbd1c96013 | [] | no_license | frankhome61/CalBearMap | ad484bc84f1350e1ed58ca1f8906d88b75a4067f | 393b2ed539a23ff7451eb205d9dee494ce0c06d7 | refs/heads/master | 2020-03-17T19:20:22.563763 | 2018-05-17T19:20:22 | 2018-05-17T19:20:22 | 133,855,915 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,366 | java | import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class TestSearch {
private static final String OSM_DB_PATH = "../library-sp18/data/berkeley-2018.osm.xml";
private static GraphDB graph;
@Before
public void setUp() throws Exception {
graph = new GraphDB(OSM_DB_PATH);
}
@Test
public void testSearch() {
ArrayList<Map<String, Object>> r = graph.getLocations("kirala");
ArrayList<Map<String, Object>> e = new ArrayList<>();
Map<String, Object> map = new HashMap<>();
map.put("name", "Kirala");
map.put("id", (long) 368199832);
map.put("lon", -122.266771);
map.put("lat", 37.859241);
e.add(map);
System.out.println(r);
assertEquals(e.size(), r.size());
for (int i = 0; i < e.size(); i++) {
Map<String, Object> expected = e.get(i);
Map<String, Object> result = r.get(i);
assertTrue(expected.get("name").equals(result.get("name")));
assertTrue(expected.get("id").equals(result.get("id")));
assertTrue(expected.get("lon").equals(result.get("lon")));
assertTrue(expected.get("lat").equals(result.get("lat")));
}
}
@Test
public void testSearch2() {
ArrayList<Map<String, Object>> r = graph.getLocations("ez stop deli");
ArrayList<Map<String, Object>> e = new ArrayList<>();
Map<String, Object> map = new HashMap<>();
map.put("name", "E-Z Stop Deli");
map.put("id", 2235910278l);
map.put("lon", -122.267607);
map.put("lat", 37.868756);
e.add(map);
assertEquals(e.size(), r.size());
for (int i = 0; i < e.size(); i++) {
Map<String, Object> expected = e.get(i);
Map<String, Object> result = r.get(i);
assertTrue(expected.get("name").equals(result.get("name")));
assertTrue(expected.get("id").equals(result.get("id")));
assertTrue(expected.get("lon").equals(result.get("lon")));
assertTrue(expected.get("lat").equals(result.get("lat")));
}
}
@Test
public void testSearch3() {
ArrayList<Map<String, Object>> r = graph.getLocations("dwight cresent th st");
ArrayList<Map<String, Object>> e = new ArrayList<>();
Map<String, Object> map = new HashMap<>();
map.put("name", "Dwight Cresent & 7th St");
map.put("id", 2060883684);
map.put("lon", -122.2943629);
map.put("lat", 37.860424);
e.add(map);
System.out.println(r);
System.out.println(e);
assertEquals(e.size(), r.size());
for (int i = 0; i < e.size(); i++) {
Map<String, Object> expected = e.get(i);
Map<String, Object> result = r.get(i);
assertTrue(expected.get("name").equals(result.get("name")));
assertTrue(expected.get("id").equals(result.get("id")));
assertTrue(expected.get("lon").equals(result.get("lon")));
assertTrue(expected.get("lat").equals(result.get("lat")));
}
}
@Test
public void testSearchPetFood() {
ArrayList<Map<String, Object>> r = graph.getLocations("petfood express");
ArrayList<Map<String, Object>> e = new ArrayList<>();
Map<String, Object> map = new HashMap<>();
map.put("name", "PetFood Express");
map.put("id", 1669797918);
map.put("lon", -122.2919654);
map.put("lat", 37.8693438);
e.add(map);
System.out.println(r);
System.out.println(e);
assertEquals(e.size(), r.size());
for (int i = 0; i < e.size(); i++) {
Map<String, Object> expected = e.get(i);
Map<String, Object> result = r.get(i);
assertTrue(expected.get("name").equals(result.get("name")));
assertTrue(expected.get("lon").equals(result.get("lon")));
assertTrue(expected.get("lat").equals(result.get("lat")));
}
}
@Test
public void testSearchEleven() {
ArrayList<Map<String, Object>> r = graph.getLocations("eleven");
System.out.println(r);
assertEquals(2, r.size());
}
}
| [
"frankhome61@hotmail.com"
] | frankhome61@hotmail.com |
65102869359e2da4083310612acf6ab86d6ad5ea | 380f175a0fcc6dae46b52e660fad5a080f60efa0 | /music_item_list.java | b05e6a73a055ce0d690af326522b5efbd50b2f9c | [] | no_license | tturrr/my_music_app | 9d819d5f9126ab621bc09e88b852fa49177e921e | 2b10809a1279db775a1bb0ebe6edf98cc28fc171 | refs/heads/master | 2020-03-14T12:17:39.629692 | 2018-05-26T14:50:38 | 2018-05-26T14:50:38 | 131,608,561 | 0 | 0 | null | 2018-05-28T06:59:03 | 2018-04-30T14:50:31 | Java | UTF-8 | Java | false | false | 1,353 | java | package com.example.user.music;
import java.io.Serializable;
public class music_item_list implements Serializable {
private String id;
private String albumId;
private String title;
private String artist;
public music_item_list(){
}
public music_item_list(String id, String albumId, String title, String artist) {
this.id = id;
this.albumId = albumId;
this.title = title;
this.artist = artist;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getAlbumId() {
return albumId;
}
public void setAlbumId(String albumId) {
this.albumId = albumId;
}
public String getTitle() {
return title;
}
@Override
public String toString() {
return "MusicDto{" +
"id='" + id + '\'' +
", albumId='" + albumId + '\'' +
", title='" + title + '\'' +
", artist='" + artist + '\'' +
'}';
}
public void setTitle(String title) {
this.title = title;
}
public String getArtist() {
return artist;
}
public void setArtist(String artist) {
this.artist = artist;
}
}
| [
"noreply@github.com"
] | noreply@github.com |
62748ef2fbe8bfb3160c6016b3259e4fe61c3be5 | 77e591676d59cbb57cb59a421ec799f67b2d1778 | /Java/OOP_classes/class3/Video.java | 326879671fb7982bab05ab45fbc574668ed0fc25 | [
"MIT"
] | permissive | paulolima18/ProgrammingMesh | 5e8bcabf43a15c6eaff0eabf671c67f02c43b92d | 2b91085fa5010e73a3bc1f3d9f02c20ce46eb8df | refs/heads/master | 2021-06-27T21:06:38.215667 | 2021-03-04T16:38:01 | 2021-03-04T16:38:01 | 220,796,516 | 3 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,899 | java | import java.time.LocalDateTime;
import java.time.LocalTime;
public class Video
{
private String name;
private byte[] content;
private LocalDateTime loadDate;
private int resolution;
private LocalTime duration;
private String[] comments;
private int numCom;//number of comments
private int likes,dislikes;
public Video()
{
this.name = "";
this.content = new byte[0];
this.loadDate = LocalDateTime.now();
this.resolution = 0;
this.duration = LocalTime.of(0,0);
this.comments = new String[10];
this.numCom = 0;
this.likes = 0;
this.dislikes = 0;
}
public Video(String name,byte[] content,LocalDateTime loadDate,
int resolution,LocalTime duration,String[] comments,
int numCom,int likes,int dislikes)
{
this.name = name;
this.content = Arrays.copyOf(content,content.length);;
this.loadDate = loadDate;
this.resolution = resolution;
this.duration = duration;
this.comments = Arrays.copyOf(comments,comments.length);;
this.numCom = numCom;
this.likes = likes;
this.dislikes = dislikes;
}
public Video (Video v)
{
this.name = v.getName();
this.content = v.getContent();
this.loadDate = v.getLoadDate();
this.resolution = v.getResolution();
this.duration = v.getDuration();
this.comments = v.getComments();
this.numCom = v.getNumCom();
this.likes = v.getLikes();
this.dislikes = v.getDislikes();
}
public String[] getComments()
{
return Arrays.copyOf(this.comments,this.numCom);
}
public Byte[] getContent()
{
return Arrays.copyOf(this.content,content.length);
}
public String getName()
{
return this.name;
}
public LocalTime getDuration()
{
return this.duration;
}
public LocalDateTime getLoadDate()
{
return this.loadDate;
}
public int getResolution()
{
return this.resolution;
}
public int getLikes()
{
return this.likes;
}
public int getNumCom()
{
return this.numCom;
}
public int getDislikes()
{
return this.dislikes;
}
public boolean equals (Object o)
{
boolean bool;
boolean same = this.numCom == v.getNumCom();
if (this == o)
bool = true;
if ( o == null || this.getClass() != o.getClass())
bool = false;
for (int i=0;same && i < this.numCom;i++)
same = this.comments[i].equals(v.getComments()[i]);
bool = this.name.equals(v.getName()) &&
Arrays.equals(this.content,v.getContent()) &&
this.loadDate.equals(v.getLoadDate()) &&
this.resolution == v.getResolution() &&
this.duration.equals(v.getDuration() &&
Arrays.equals(this.comments,v.getComments()) &&
this.numCom == v.getNumCom() &&
this.likes == v.getLikes() &&
this.dislikes == v.getDislikes();
return bool;
}
}
| [
"paulojorgelima18@gmail.com"
] | paulojorgelima18@gmail.com |
ee0c677f8c27d7ad9d26e65d160159630b6c2e84 | 19bc6214a615f35655d52c1d1d0893a68a754e00 | /src/ReachabilityVisitor.java | d5d08104ee786bb838964f0a97c14d99098cc27d | [] | no_license | Tekrus/phal | e2638eacf2281d16b7f9e0722c38c1fa03de34f8 | 715c60e2b7adbd32fee21f8baa23b214e3907809 | refs/heads/master | 2023-04-08T20:01:17.814505 | 2019-03-08T16:48:56 | 2019-03-08T16:48:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,633 | java | import Warnings.*;
import java.util.LinkedList;
import java.util.Queue;
import CompilerError.*;
public class ReachabilityVisitor extends Visitor {
@Override
public void visit(ProgramNode node) {
boolean isReturning;
for(FuncNode func : node.funcNodes) {
if(!func.typeNode.type.equals("none")) {
isReturning = isBranchReturning(func);
if(!isReturning)
MainClass.CompileErrors.add(new FunctionNotReturningError(func.columnNumber, func.lineNumber, func.idNode.id));
}
}
}
public boolean isBranchReturning(FuncNode node) {
Queue<IfStmtNode> ifStmtNodeQueue = new LinkedList<>();
for(int i = 0; i < node.funcCntNodes.size(); i++) {
if(node.funcCntNodes.get(i).stmtNode != null) {
StmtNode s = node.funcCntNodes.get(i).stmtNode;
if(s instanceof ReturnStmtNode) {
if(i < node.funcCntNodes.size()-1)
MainClass.CompileWarnings.add(new UnreachableWarning(s.columnNumber, s.lineNumber));
return true;
}else if(s instanceof IfStmtNode)
ifStmtNodeQueue.add((IfStmtNode) s);
}
}
nodeLoop:
while(ifStmtNodeQueue.peek() != null) {
boolean isReturning;
IfStmtNode ifNode = ifStmtNodeQueue.poll();
if(ifNode.elseBlock != null) {
isReturning = isBranchReturning(ifNode.elseBlock);
if(!isReturning)
continue;
}else {
continue;
}
if(!ifNode.elseIfStmts.isEmpty()) {
for(ElseIfStmtNode elif : ifNode.elseIfStmts) {
isReturning = isBranchReturning(elif.block);
if(!isReturning)
continue nodeLoop;
}
}
return isReturning;
}
return false;
}
public boolean isBranchReturning(BlockNode node) {
Queue<IfStmtNode> ifStmtNodeQueue = new LinkedList<>();
for(int i = 0; i < node.stmtNodes.size(); i++) {
StmtNode s = node.stmtNodes.get(i);
if(s instanceof ReturnStmtNode) {
if(i < node.stmtNodes.size()-1)
MainClass.CompileWarnings.add(new UnreachableWarning(s.columnNumber, s.lineNumber));
return true;
}else if(s instanceof IfStmtNode)
ifStmtNodeQueue.add((IfStmtNode) s);
}
nodeLoop:
while(ifStmtNodeQueue.peek() != null) {
boolean isReturning;
IfStmtNode ifNode = ifStmtNodeQueue.poll();
if(ifNode.elseBlock != null) {
isReturning = isBranchReturning(ifNode.elseBlock);
if(!isReturning)
continue;
}
else {
continue;
}
if(!ifNode.elseIfStmts.isEmpty()) {
for(ElseIfStmtNode elif : ifNode.elseIfStmts) {
isReturning = isBranchReturning(elif.block);
if(!isReturning)
continue nodeLoop;
}
}
return isReturning;
}
return false;
}
public boolean isBranchReturning(ElseBlockNode node) {
Queue<IfStmtNode> ifStmtNodeQueue = new LinkedList<>();
for(int i = 0; i < node.stmtNodes.size(); i++) {
StmtNode s = node.stmtNodes.get(i);
if(s instanceof ReturnStmtNode) {
if(i < node.stmtNodes.size()-1)
MainClass.CompileWarnings.add(new UnreachableWarning(s.columnNumber, s.lineNumber));
return true;
}else if(s instanceof IfStmtNode)
ifStmtNodeQueue.add((IfStmtNode) s);
}
nodeLoop:
while(ifStmtNodeQueue.peek() != null) {
boolean isReturning;
IfStmtNode ifNode = ifStmtNodeQueue.poll();
if(ifNode.elseBlock != null) {
isReturning = isBranchReturning(ifNode.elseBlock);
if(!isReturning)
continue;
}
else {
continue;
}
if(!ifNode.elseIfStmts.isEmpty()) {
for(ElseIfStmtNode elif : ifNode.elseIfStmts) {
isReturning = isBranchReturning(elif.block);
if(!isReturning)
continue nodeLoop;
}
}
return isReturning;
}
return false;
}
}
| [
"moesgaarda@gmail.com"
] | moesgaarda@gmail.com |
607af1cd3f148bd619c53cd528c9f7131f6a4a1a | b897e035b652c583e6b0c6176781a33a75719da7 | /client/src/com/geargames/regolith/units/map/unit/states/UnitStandState.java | 15621a7033fbc9296ae448c4d769f683c308c257 | [] | no_license | kewgen/regolith | 9589af38bd48fd8d26442a7ff61bc05736a1f999 | 9aaa2e5c6ae1d562cfd5dc621cb7e45a53f677b4 | refs/heads/master | 2019-01-02T00:42:58.695763 | 2013-05-20T16:15:01 | 2013-05-20T16:15:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,164 | java | package com.geargames.regolith.units.map.unit.states;
import com.geargames.common.logging.Debug;
import com.geargames.regolith.units.map.AbstractClientWarriorElement;
import com.geargames.regolith.units.map.DynamicCellElement;
import com.geargames.regolith.units.map.unit.Actions;
/**
* User: abarakov
* Date: 01.05.13
* <p/>
* Боец находится в состоянии покоя в положении стоя.
*/
public class UnitStandState extends AbstractLogicState {
@Override
public byte getAction() {
return Actions.HUMAN_STAND;
}
@Override
public void change(DynamicCellElement owner, AbstractLogicState newState) {
switch (newState.getAction()) {
// case Actions.HUMAN_STAND:
case Actions.HUMAN_RUN:
case Actions.HUMAN_STAND_AND_SHOOT:
case Actions.HUMAN_SIT_DOWN:
// case Actions.HUMAN_SIT:
// case Actions.HUMAN_SIT_AND_SHOOT:
// case Actions.HUMAN_SIT_AND_HIT:
// case Actions.HUMAN_STAND_UP:
case Actions.HUMAN_STAND_AND_HIT:
case Actions.HUMAN_STAND_AND_DIE:
// case Actions.HUMAN_DIE:
// case Actions.HUMAN_SIT_AND_DIE:
break;
default:
Debug.critical("Invalid state transition from '" + getAction() + "' to '" + newState.getAction() + "'");
return;
}
AbstractClientWarriorElement warrior = (AbstractClientWarriorElement) owner;
warrior.getLogic().pushState(newState);
}
@Override
public void onStart(DynamicCellElement owner) {
AbstractClientWarriorElement warrior = (AbstractClientWarriorElement) owner;
warrior.getGraphic().start(warrior, getAction());
}
@Override
public void onStop(DynamicCellElement owner) {
}
@Override
public boolean onTick(DynamicCellElement owner) {
// if (Util.getRandom(100) == 0) {
// //todo: запустить анимацию шевеления бойца. Типа боец зевнул или решил размяться
// }
return false;
}
}
| [
"abarakov.geargames@gmail.com"
] | abarakov.geargames@gmail.com |
0b199204c7c1b6e40de5e87b88e260d0755218ce | 2aa661ad1cd4ea098f8b873571341e975b9a2c03 | /SMB215_Library/src/java/country/CountryBean.java | ad9038ed551332057ec31c9f531f041a18963604 | [] | no_license | hadialbadaoui/SMB215-2014-Projet-Librairie-master | 1f052d4e6053306188a53172b87b9282f5aae4dc | d20612391d1b0f6e7fe9ba9b544ecbf67522ec5a | refs/heads/master | 2020-03-30T06:48:04.494293 | 2014-08-27T18:43:26 | 2014-08-27T18:43:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,660 | java | package country;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
import main.DBconnection;
public class CountryBean {
public void addCountry(Country cnt) {
int id;
Connection con = null;
PreparedStatement pstmt = null;
Statement idstmt = null;
try {
DBconnection dbCon = new DBconnection();
Class.forName(dbCon.getJDBC_DRIVER());
con = DriverManager.getConnection(dbCon.getDATABASE_URL(),
dbCon.getDB_USERNAME(), dbCon.getDB_PASSWORD());
con.setAutoCommit(false);
idstmt = con.createStatement();
ResultSet rs = idstmt.executeQuery("Select ifnull(max(cnt_id),0)+1 From tbl_country");
rs.next();
id = rs.getInt(1);
pstmt = con.prepareStatement("Insert Into tbl_country Values(?,?,?)");
pstmt.setInt(1, id);
pstmt.setString(2, cnt.getShortName());
pstmt.setString(3, cnt.getName());
pstmt.execute();
con.commit();
} catch (SQLException | ClassNotFoundException ex) {
System.err.println("Caught Exception: " + ex.getMessage());
if (con != null) {
try {
con.rollback();
} catch (SQLException ex2) {
System.err.println("Caught Exception: " + ex2.getMessage());
}
}
} finally {
try {
if (idstmt != null) {
idstmt.close();
}
if (pstmt != null) {
pstmt.close();
}
if (con != null) {
con.close();
}
} catch (SQLException ex) {
System.err.println("Caught Exception: " + ex.getMessage());
}
}
}
public List<Country> getCountries() {
List<Country> list = new ArrayList<>();
Connection con = null;
Statement stmt = null;
try {
DBconnection dbCon = new DBconnection();
Class.forName(dbCon.getJDBC_DRIVER());
con = DriverManager.getConnection(dbCon.getDATABASE_URL(),
dbCon.getDB_USERNAME(), dbCon.getDB_PASSWORD());
stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("Select * From tbl_country order by cnt_shortname");
while (rs.next()) {
Country cnt = new Country();
cnt.setId(rs.getInt(1));
cnt.setShortName(rs.getString(2));
cnt.setName(rs.getString(3));
list.add(cnt);
}
} catch (SQLException | ClassNotFoundException ex) {
System.err.println("Caught Exception: " + ex.getMessage());
} finally {
try {
if (stmt != null) {
stmt.close();
}
if (con != null) {
con.close();
}
} catch (SQLException ex) {
System.err.println("Caught Exception: " + ex.getMessage());
}
}
return list;
}
public void deleteCountry(int id) {
Connection con = null;
Statement stmt = null;
try {
DBconnection dbCon = new DBconnection();
Class.forName(dbCon.getJDBC_DRIVER());
con = DriverManager.getConnection(dbCon.getDATABASE_URL(),
dbCon.getDB_USERNAME(), dbCon.getDB_PASSWORD());
stmt = con.createStatement();
stmt.execute("Delete From tbl_country Where cnt_id = " + String.valueOf(id));
} catch (SQLException | ClassNotFoundException ex) {
System.err.println("Caught Exception: " + ex.getMessage());
} finally {
try {
if (stmt != null) {
stmt.close();
}
if (con != null) {
con.close();
}
} catch (SQLException ex) {
System.err.println("Caught Exception: " + ex.getMessage());
}
}
}
public Country getCountry(int id) {
Country cnt = null;
Connection con = null;
Statement stmt = null;
try {
DBconnection dbCon = new DBconnection();
Class.forName(dbCon.getJDBC_DRIVER());
con = DriverManager.getConnection(dbCon.getDATABASE_URL(),
dbCon.getDB_USERNAME(), dbCon.getDB_PASSWORD());
stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("Select * From tbl_country Where cnt_id=" + id);
if (rs.next()) {
cnt = new Country();
cnt.setId(rs.getInt(1));
cnt.setShortName(rs.getString(2));
cnt.setName(rs.getString(3));
}
} catch (SQLException | ClassNotFoundException ex) {
System.err.println("Caught Exception: " + ex.getMessage());
} finally {
try {
if (stmt != null) {
stmt.close();
}
if (con != null) {
con.close();
}
} catch (SQLException ex) {
System.err.println("Caught Exception: " + ex.getMessage());
}
}
return cnt;
}
public void modifyCountry(Country cnt) {
Connection con = null;
PreparedStatement pstmt = null;
try {
DBconnection dbCon = new DBconnection();
Class.forName(dbCon.getJDBC_DRIVER());
con = DriverManager.getConnection(dbCon.getDATABASE_URL(),
dbCon.getDB_USERNAME(), dbCon.getDB_PASSWORD());
pstmt = con.prepareStatement("Update tbl_country Set cnt_shortname=?, "
+ "cnt_name=? Where cnt_id=?");
pstmt.setString(1, cnt.getShortName());
pstmt.setString(2, cnt.getName());
pstmt.setInt(3, cnt.getId());
pstmt.executeUpdate();
} catch (SQLException | ClassNotFoundException ex) {
System.err.println("Caught Exception: " + ex.getMessage());
} finally {
try {
if (pstmt != null) {
pstmt.close();
}
if (con != null) {
con.close();
}
} catch (SQLException ex) {
System.err.println("Caught Exception: " + ex.getMessage());
}
}
}
}
| [
"hadialbadaoui@gmail.com"
] | hadialbadaoui@gmail.com |
16aa74df5f25e2796eaa6f3a2d4fc0df9fe6978c | 8de5e78ab85ba5ffa43384a83a37d04831844be7 | /libraries/penelope/src/main/java/net/unicon/penelope/IDecisionCollection.java | 162bba019b2f1f23a73d4faa452b84f19316e950 | [] | no_license | nickbolton/toro-portal | b51441b9a5b6f6c5d18a5ccc362e31f0e08fd189 | 849624d1cd18bd74dfd4aef2059c34d171da31fb | refs/heads/master | 2021-01-01T05:47:18.535940 | 2009-06-12T23:13:30 | 2009-06-12T23:13:30 | 32,112,406 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,158 | java | /*
* Copyright (C) 2007 Unicon, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this distribution. It is also available here:
* http://www.fsf.org/licensing/licenses/gpl.html
*
* As a special exception to the terms and conditions of version
* 2 of the GPL, you may redistribute this Program in connection
* with Free/Libre and Open Source Software ("FLOSS") applications
* as described in the GPL FLOSS exception. You should have received
* a copy of the text describing the FLOSS exception along with this
* distribution.
*/
package net.unicon.penelope;
/**
* The <code>IDecisionCollection</code> interface abstracts the idea of a
* collection of related decisions.
*/
public interface IDecisionCollection extends IPenelopeEntity {
/**
* Retrieve the corresponding choice collection.
* @return the corresponding choice collection
*/
IChoiceCollection getChoiceCollection();
/**
* Retrieve the decision that corresponds to the given choice.
* @param c Choice to look for
* @return the decision associated with the given choice
* @throws IllegalArgumentException if no decision corresponds to the given
* choice
*/
IDecision getDecision(IChoice c);
/**
* Retrieve the decision that corresponds to a named choice.
* @return the decision associated with the named choice, or null
*/
IDecision getDecision(String choiceHandle);
/**
* Retrieve the decisions in this collection.
* @return the decisions of this collection
*/
IDecision[] getDecisions();
}
| [
"bolton.nick@784e0458-0e37-0410-a381-656f3defdab0"
] | bolton.nick@784e0458-0e37-0410-a381-656f3defdab0 |
82baecea1c61c56668d6c43f0047de640b7733fb | e1e5bd6b116e71a60040ec1e1642289217d527b0 | /H5/L2_Scripts_com/L2_Scripts_Revision_20720_2268/src/l2s/gameserver/network/l2/c2s/RequestExDeleteReceivedPost.java | 2f29b0a3c2a71d6c24a7fc5fb827a263e000fda5 | [] | no_license | serk123/L2jOpenSource | 6d6e1988a421763a9467bba0e4ac1fe3796b34b3 | 603e784e5f58f7fd07b01f6282218e8492f7090b | refs/heads/master | 2023-03-18T01:51:23.867273 | 2020-04-23T10:44:41 | 2020-04-23T10:44:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,767 | java | package l2s.gameserver.network.l2.c2s;
import java.util.List;
import org.apache.commons.lang3.ArrayUtils;
import l2s.gameserver.dao.MailDAO;
import l2s.gameserver.model.Player;
import l2s.gameserver.model.mail.Mail;
import l2s.gameserver.network.l2.s2c.ExShowReceivedPostList;
/**
* Запрос на удаление полученных сообщений. Удалить можно только письмо без вложения. Отсылается при нажатии на "delete" в списке полученных писем.
* @see ExShowReceivedPostList
* @see RequestExDeleteSentPost
*/
public class RequestExDeleteReceivedPost extends L2GameClientPacket
{
private int _count;
private int[] _list;
/**
* format: dx[d]
*/
@Override
protected void readImpl()
{
_count = readD();
if(_count * 4 > _buf.remaining() || _count > Short.MAX_VALUE || _count < 1)
{
_count = 0;
return;
}
_list = new int[_count]; // количество элементов для удаления
for(int i = 0; i < _count; i++)
_list[i] = readD(); // уникальный номер письма
}
@Override
protected void runImpl()
{
Player activeChar = getClient().getActiveChar();
if(activeChar == null || _count == 0)
return;
List<Mail> mails = MailDAO.getInstance().getReceivedMailByOwnerId(activeChar.getObjectId());
if(!mails.isEmpty())
{
for(Mail mail : mails)
if(ArrayUtils.contains(_list, mail.getMessageId()))
if(mail.getAttachments().isEmpty())
{
MailDAO.getInstance().deleteReceivedMailByMailId(activeChar.getObjectId(), mail.getMessageId());
}
}
activeChar.sendPacket(new ExShowReceivedPostList(activeChar));
}
} | [
"64197706+L2jOpenSource@users.noreply.github.com"
] | 64197706+L2jOpenSource@users.noreply.github.com |
15c7f34600d5993722b7704f2f802473ab6c642a | aac38478e64a72fa67ac28687b0d16a96fabe329 | /cambridge-core/src/main/java/cambridge/TemplateLoader.java | 9d03f89d13a039777e2e9bbd06120fb89cdf8a6e | [] | no_license | hakandilek/Cambridge | 20624f3b5c991c9389f672056b67fbc9be797d88 | b64d1561a07b4f8c54382945582c38159a520463 | refs/heads/master | 2020-02-26T17:10:07.963762 | 2013-01-15T18:53:17 | 2013-01-15T18:53:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 9,080 | java | package cambridge;
import cambridge.model.TemplateDocument;
import java.io.InputStream;
/**
* A Template Loader is what you need to parse a template file and create
* either a TemplateFactory or a TemplateDocument.
*
* A TemplateFactory basically is a parsed and compiled template file,
* whereas a TemplateDocument is the DOM like tree that represent the
* template file.
*
* @see TemplateDocument
* @see TemplateFactory
*/
public interface TemplateLoader {
/**
* <p>Creates a TemplateFactory for the file in the given path.</p>
*
* <p>A template factory is a thread safe, reusable object that creates
* {@link Template} objects. Typically you create a TemplateFactory for each of your
* template files and keep references to these objects throughout your application
* life cycle. You don't need to create a TemplateFactory for the same template
* file more than once unless you explicitly want a fresh copy</p>
*
* @param templatePath Template name or full path. Depends on the implementation
* @return A template factory which holds a parsed/normalized template structure.
* @throws TemplateLoadingException Thrown if template could not be loaded or parsed.
*/
TemplateFactory newTemplateFactory(String templatePath) throws TemplateLoadingException;
/**
* <p>Creates a TemplateFactory for the file in the given path. The template parser
* uses the supplied encoding to read the file</p>
*
* <p>A template factory is a thread safe, reusable object that creates
* {@link Template} objects. Typically you create a TemplateFactory for each of your
* template files and keep references to these objects throughout your application
* life cycle. You don't need to create a TemplateFactory for the same template
* file more than once unless you explicitly want a fresh copy</p>
*
* @param templatePath Template name or full path. Depends on the implementation
* @param encoding Input file encoding
* @return A template factory which holds a parsed/normalized template structure.
* @throws TemplateLoadingException Thrown if template could not be loaded or parsed.
*/
TemplateFactory newTemplateFactory(String templatePath, String encoding) throws TemplateLoadingException;
/**
* <p>Creates a TemplateFactory for the file in the given path. After the template file is
* parsed, the created {@link TemplateDocument} object which is a DOM like tree of nodes and elements
* is passed to the supplied TemplateModifier for modification</p>
*
* <p>A typical usage of this method is by writing an anonymous TemplateModifier:</p>
* <pre>
* templateLoader.newTemplateFactory("index.html", new TemplateModifier() {
* public void modifyTemplate(TemplateDocument doc) {
* doc.getElementById('main').setText("Hello World");
* }
* }
* </pre>
* <p>
* After the modification, the TemplateDocument gets normalized and a TemplateFactory
* gets created.
* </p>
*
* <p>A template factory is a thread safe, reusable object that creates
* {@link Template} objects. Typically you create a TemplateFactory for each of your
* template files and keep references to these objects throughout your application
* life cycle. You don't need to create a TemplateFactory for the same template
* file more than once unless you explicitly want a fresh copy</p>
*
* @param templatePath Template name or full path. Depends on the implementation
* @param modifier The modifier that will modify the parsed template model
* @return A template factory which holds a parsed/normalized template structure.
* @see TemplateModifier
* @throws TemplateLoadingException Thrown if template could not be loaded or parsed.
*/
TemplateFactory newTemplateFactory(String templatePath, TemplateModifier modifier) throws TemplateLoadingException;
/**
* <p>Creates a TemplateFactory for the file in the given path. The template parser
* uses the supplied encoding to read the file. After the template file is
* parsed, the created {@link TemplateDocument} object which is a DOM like tree of nodes and elements
* is passed to the supplied TemplateModifier for modification</p>
*
* <p>A typical usage of this method is by writing an anonymous TemplateModifier:</p>
* <pre>
* templateLoader.newTemplateFactory("index.html", new TemplateModifier() {
* public void modifyTemplate(TemplateDocument doc) {
* doc.getElementById('main').setText("Hello World");
* }
* }
* </pre>
* <p>
* After the modification, the TemplateDocument gets normalized and a TemplateFactory
* gets created.
* </p>
*
* <p>A template factory is a thread safe, reusable object that creates
* {@link Template} objects. Typically you create a TemplateFactory for each of your
* template files and keep references to these objects throughout your application
* life cycle. You don't need to create a TemplateFactory for the same template
* file more than once unless you explicitly want a fresh copy</p>
*
* @param templatePath Template name or full path. Depends on the implementation
* @param encoding Input file encoding
* @param modifier The modifier that will modify the parsed template model
* @return A template factory which holds a parsed/normalized template structure.
* @see TemplateModifier
* @throws TemplateLoadingException Thrown if template could not be loaded or parsed.
*/
TemplateFactory newTemplateFactory(String templatePath, String encoding, TemplateModifier modifier) throws TemplateLoadingException;
/**
* <p>Creates a TemplateFactory after parsing the supplied template text.</p>
*
* @param templateSource The template source to be parsed.
* @return A template factory which holds a parsed/normalized template structure.
* @throws TemplateLoadingException Thrown if the template could not be parsed
*/
TemplateFactory parseAndCreateTemplateFactory(String templateSource) throws TemplateLoadingException;
/**
* <p>Parses the template reading from the supplied input stream and returns the
* TemplateDocument which contains the document model tree.</p>
*
* <p>This method uses systems default encoding to read the characters from the input stream</p>
*
* @param in Input stream to be read from.
* @return Returns the parsed template as a TemplateDocument object
* @throws TemplateLoadingException Thrown if the template could not be parsed
*/
TemplateDocument parseTemplate(InputStream in) throws TemplateLoadingException;
/**
* <p>Parses the template reading from the supplied input stream and returns the
* TemplateDocument which is the root node of template object model.</p>
*
* <p>This method uses supplied encoding to read the characters from the input stream</p>
*
* @param in Input stream to be read from.
* @param encoding The encoding that will be used while reading from input stream
* @return Returns the parsed template as a TemplateDocument object
* @throws TemplateLoadingException Thrown if the template could not be parsed
*/
TemplateDocument parseTemplate(InputStream in, String encoding) throws TemplateLoadingException;
/**
* <p>Parses the template in the specified template path and returns the TemplateDocument
* which is the root node of the template object model</p>
*
* <p>This method uses systems default encoding while reading the file</p>
*
* @param templatePath Template path
* @return Returns the parsed template as a TemplateDocument object
* @throws TemplateLoadingException Thrown if the template could not be parsed or loaded
*/
TemplateDocument parseTemplate(String templatePath) throws TemplateLoadingException;
/**
* <p>Parses the template in the specified template path and returns the TemplateDocument
* which is the root node of the template object model</p>
*
* <p>This method uses the supplied encoding while reading the file</p>
*
* @param templatePath Template path
* @param encoding Encoding to be used while reading the template file
* @return Returns the parsed template as a TemplateDocument object
* @throws TemplateLoadingException Thrown if the template could not be parsed or loaded
*/
TemplateDocument parseTemplate(String templatePath, String encoding) throws TemplateLoadingException;
/**
* <p>Parses the supplied template source code and returns a TemplateDocument
* which is the root node of the template object model</p>
* @param templateSource The template source code to be parsed
* @return Returns the parsed template as a TemplateDocument object
* @throws TemplateLoadingException Thrown if the template could not be parsed or loaded
*/
TemplateDocument parseAndCreateTemplateDocument(String templateSource) throws TemplateLoadingException;
}
| [
"erdinc@yilmazel.com"
] | erdinc@yilmazel.com |
4746767a18a9a30a3bda45d0cfdda17ec04b56f6 | 84adf2734cd165e43b8fd38715ab3c093e936952 | /1251/app/src/main/java/kr/ac/kumoh/s20161376/logintest/senddata.java | 9300f8598f24e845556f6d3e133d121fb3dcb02a | [] | no_license | dbs7120/Kumoh_doumi | 1fea93233ec1317637f1ae5e736eefb8946e19bd | 885e1094e67a7665973ccd1fa1b8396d9a179957 | refs/heads/master | 2020-12-14T09:42:47.259650 | 2020-12-07T07:19:48 | 2020-12-07T07:19:48 | 234,703,228 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 281 | java | package kr.ac.kumoh.s20161376.logintest;
// 데이터전송 구조체
public class senddata {
public String firebaseKey; // Firebase Database 에 등록된 Key 값
public String userAddress; // 사용자 이름
public String userWork; // 작성한 메시지
}
| [
"noreply@github.com"
] | noreply@github.com |
8bd1e8fcc134f795a4d57c7f070055aa9d8394c2 | 5ce64868f8133b6b603e0914294205d2b9414ecf | /wvecs4j/src/wvec/NNRetriever.java | 8850f3b9bad9527414c9209f8c99d98b044960ab | [] | no_license | dwaipayanroy/eaas | a9890cd580566ad5d76efe4d7a31edba3fe0fefc | e837135c30b5ac02f681115e3bc8be18bb181e90 | refs/heads/master | 2021-08-22T12:31:52.912674 | 2017-11-30T06:50:46 | 2017-11-30T06:50:46 | 112,486,074 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,809 | java | /*
* TODO
*/
package wvec;
import java.io.File;
import java.util.HashMap;
import java.util.Properties;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.DirectoryReader;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.Term;
import org.apache.lucene.search.IndexSearcher;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.TermQuery;
import org.apache.lucene.search.TopDocs;
import org.apache.lucene.store.Directory;
import org.apache.lucene.store.FSDirectory;
/**
*
* @author Debasis
*/
public class NNRetriever {
String indexPath;
IndexReader reader;
IndexSearcher searcher;
public boolean isIndexExists;
HashMap<String, NNRetriever> wvecsRetrieverMap;
NNRetriever retriever;
/**
* Gets called for the case when there are multiple indices.
* @param prop
* @throws Exception
*/
public NNRetriever(Properties prop) throws Exception {
String coll;
String wvecsIndexBasedir = prop.getProperty("wvecsIndexBasedir");
// +++
File[] directories = new File(wvecsIndexBasedir).listFiles(File::isDirectory);
wvecsRetrieverMap = new HashMap<>();
for(File directory : directories) {
coll = directory.getName();
retriever = new NNRetriever(directory.getAbsolutePath());
System.out.println("Opening Index: " + coll);
wvecsRetrieverMap.put(coll, retriever);
}
}
/**
* Constructor: Gets called for individual index.
* @param indexPath
* @throws Exception
*/
public NNRetriever(String indexPath) throws Exception {
this.indexPath = indexPath;
Directory indexDir = FSDirectory.open(new File(indexPath).toPath());
if (!DirectoryReader.indexExists(indexDir)) {
System.err.println("Index doesn't exists in "+indexPath);
isIndexExists = false;
// System.exit(1);
}
else {
isIndexExists = true;
reader = DirectoryReader.open(FSDirectory.open(new File(indexPath).toPath()));
searcher = new IndexSearcher(reader);
}
}
public WordNN retrieve(String word) throws Exception {
Query q = new TermQuery(new Term(WordNN.FIELD_WORD_NAME, word));
TopDocs topDocs = searcher.search(q, 1);
WordNN wnn;
if(topDocs.totalHits != 0) {
Document retrDoc = reader.document(topDocs.scoreDocs[0].doc);
wnn = new WordNN(retrDoc);
}
else
wnn = null;
return wnn;
}
public void close() throws Exception {
reader.close();
}
}
| [
"dwaipayan.roy@gmail.com"
] | dwaipayan.roy@gmail.com |
697be60e19765ed8a8afc033da80bb5f2e138fd3 | a00d0084f7689b8a9f37d922b2db398ff58ada87 | /src/main/java/com/cognizant/axon/account/OverdraftLimitExceededException.java | 22640f230ba8a2e7752761ce34688b196555eae9 | [] | no_license | palarunava/axon-demo | cc20721861977a1ec4128fe7bc4a77336b8c5ac0 | 486bdddd2bb2593c874df1e32e3852745b0014b1 | refs/heads/master | 2020-07-14T16:41:49.093225 | 2019-08-30T10:03:06 | 2019-08-30T10:03:06 | 205,355,512 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 171 | java | package com.cognizant.axon.account;
public class OverdraftLimitExceededException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
}
| [
"pal.arunava83@yahoo.com"
] | pal.arunava83@yahoo.com |
1c6c04ddfd2d3072e2c809441843bfd6b5d0e030 | 9fb72e2219f16d45cf6cf393e08ea6cfd6e7ebec | /src/main/java/entrants/pacman/enesbehlul/KlavyeKontrol.java | 4fe70a0f8538a9c2833a4a701111b2ca439c94d1 | [] | no_license | enesbehlul/Ms.-Pac-Man-Vs.-Ghost-Team-Competition | de693fe250fe57aabd17f28624f7a26c5b7a7462 | edaf8e0b289a4855a1794dacd979324bfde3c7d2 | refs/heads/master | 2022-12-16T11:38:51.926887 | 2020-09-17T20:35:29 | 2020-09-17T20:35:29 | 213,740,438 | 2 | 1 | null | null | null | null | UTF-8 | Java | false | false | 523 | java | package entrants.pacman.enesbehlul;
import pacman.controllers.HumanController;
import pacman.controllers.KeyBoardInput;
import pacman.game.Constants;
import pacman.game.Constants.MOVE;
import pacman.game.Game;
public class KlavyeKontrol extends HumanController {
public KlavyeKontrol(KeyBoardInput input) {
super(input);
}
@Override
public MOVE getMove(Game game, long dueTime) {
System.out.println(game.getPacmanCurrentNodeIndex());
return super.getMove(game, dueTime);
}
}
| [
"ebehlul.yenidunya@stu.fsm.edu.tr"
] | ebehlul.yenidunya@stu.fsm.edu.tr |
24c802bc8266ef58439853777e74c1cae7463bb6 | 184a72ff3860fc24f44a38eb98de589e665812a1 | /src/frame/FrameView.java | fb59bc5086e6c00e22b586674f2e00ca8bed7888 | [] | no_license | 50316042/Lastkadai | d033fd79683357e0d56f10c5adcd496978c3721f | 275e378c676ebf8d5db88b0054380d942d71e264 | refs/heads/master | 2016-09-08T02:36:42.417998 | 2015-02-12T21:25:00 | 2015-02-12T21:25:00 | 30,724,475 | 0 | 0 | null | null | null | null | SHIFT_JIS | Java | false | false | 3,297 | java | package frame;
import java.awt.BorderLayout;
import java.awt.Button;
import java.awt.CardLayout;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.Label;
import java.awt.Panel;
import java.awt.TextField;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartPanel;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.data.category.DefaultCategoryDataset;
import last.MySQL;
public class FrameView extends Frame implements ActionListener,WindowListener{
private Button button1 = new Button("データ表示");
CardLayout cardlayout;
Panel panel1;
Panel panel2;
public FrameView(FrameController controller) {
// TODO Auto-generated constructor stub
panel1 =new Panel();
panel2 = new Panel();
addWindowListener(this);
setTitle("日本人男性の喫煙率");
cardlayout= new CardLayout();
setLayout(cardlayout);
panel2.add(button1,BorderLayout.CENTER);
add(panel2);
add(panel1);
button1.addActionListener(this);
}
@Override
public void actionPerformed(ActionEvent e) {
if(e.getSource()==button1){
int id,year,parcentage;
ResultSet rs;
MySQL mysql = new MySQL();
rs = mysql.selectAll();
DefaultCategoryDataset data = new DefaultCategoryDataset();
try{
while(rs.next()){
id=rs.getInt("id");
year =rs.getInt("year");
parcentage=rs.getInt("parcentage");
data.addValue(parcentage,"parcentage",""+year);
panel1.add(new Label("ID: "+id+" 年度 "+year+"年 喫煙率 "+parcentage+"%"));
}
}catch(SQLException a){
}
JFreeChart chart = ChartFactory.createLineChart("SmokingRates",
"year",
"parcentage",
data,
PlotOrientation.VERTICAL,
true,
false,
false);
ChartPanel chp = new ChartPanel(chart);
panel1.add(chp);
cardlayout.next(this);
}
}
@Override
public void windowOpened(WindowEvent e) {
// TODO Auto-generated method stub
}
@Override
public void windowClosing(WindowEvent e) {
// TODO Auto-generated method stub
System.exit(0);
}
@Override
public void windowClosed(WindowEvent e) {
// TODO Auto-generated method stub
}
@Override
public void windowIconified(WindowEvent e) {
// TODO Auto-generated method stub
}
@Override
public void windowDeiconified(WindowEvent e) {
// TODO Auto-generated method stub
}
@Override
public void windowActivated(WindowEvent e) {
// TODO Auto-generated method stub
}
@Override
public void windowDeactivated(WindowEvent e) {
// TODO Auto-generated method stub
}
}
| [
"f0316042@ipc.shizuoka.ac.jp"
] | f0316042@ipc.shizuoka.ac.jp |
2b6d719b0617f865a83001a590076dfe27a8b01f | 27431d4998152277c5bbc23512cfb96e85326299 | /pinot-core/src/main/java/org/apache/pinot/core/operator/combine/DistinctCombineOperator.java | 49b0c74ac55938156a091e8b73f6094dc2cdd54e | [
"Apache-2.0",
"BSD-2-Clause",
"CC-BY-2.5",
"BSD-3-Clause",
"CDDL-1.1",
"EPL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"WTFPL",
"EPL-2.0",
"CDDL-1.0",
"MIT",
"CC-BY-4.0",
"LicenseRef-scancode-unicode",
"LGPL-2.1-only",
"NAIST-2003",
"CPL-1.0",
"LicenseRef-scancode-free-un... | permissive | navis/pinot | ae76c48a5e99e78467358feb57f72feeb71511e2 | 42e597de280d2834d66a94a993262bf214512abe | refs/heads/master | 2023-04-20T15:43:08.185544 | 2022-08-11T17:07:56 | 2022-08-11T17:07:56 | 45,155,228 | 0 | 0 | Apache-2.0 | 2023-04-05T22:05:13 | 2015-10-29T02:29:15 | Java | UTF-8 | Java | false | false | 3,541 | java | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.pinot.core.operator.combine;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutorService;
import org.apache.pinot.core.common.Operator;
import org.apache.pinot.core.operator.blocks.IntermediateResultsBlock;
import org.apache.pinot.core.query.distinct.DistinctTable;
import org.apache.pinot.core.query.request.context.QueryContext;
/**
* Combine operator for distinct queries.
*/
@SuppressWarnings("rawtypes")
public class DistinctCombineOperator extends BaseCombineOperator {
private static final String EXPLAIN_NAME = "COMBINE_DISTINCT";
private final boolean _hasOrderBy;
public DistinctCombineOperator(List<Operator> operators, QueryContext queryContext, ExecutorService executorService) {
super(operators, queryContext, executorService);
_hasOrderBy = queryContext.getOrderByExpressions() != null;
}
@Override
public String toExplainString() {
return EXPLAIN_NAME;
}
@Override
protected boolean isQuerySatisfied(IntermediateResultsBlock resultsBlock) {
if (_hasOrderBy) {
return false;
}
List<Object> result = resultsBlock.getAggregationResult();
assert result != null && result.size() == 1 && result.get(0) instanceof DistinctTable;
DistinctTable distinctTable = (DistinctTable) result.get(0);
return distinctTable.size() >= _queryContext.getLimit();
}
@Override
protected void mergeResultsBlocks(IntermediateResultsBlock mergedBlock, IntermediateResultsBlock blockToMerge) {
// TODO: Use a separate way to represent DISTINCT instead of aggregation.
List<Object> mergedResults = mergedBlock.getAggregationResult();
assert mergedResults != null && mergedResults.size() == 1 && mergedResults.get(0) instanceof DistinctTable;
DistinctTable mergedDistinctTable = (DistinctTable) mergedResults.get(0);
List<Object> resultsToMerge = blockToMerge.getAggregationResult();
assert resultsToMerge != null && resultsToMerge.size() == 1 && resultsToMerge.get(0) instanceof DistinctTable;
DistinctTable distinctTableToMerge = (DistinctTable) resultsToMerge.get(0);
// Convert the merged table into a main table if necessary in order to merge other tables
if (!mergedDistinctTable.isMainTable()) {
DistinctTable mainDistinctTable = new DistinctTable(distinctTableToMerge.getDataSchema(),
_queryContext.getOrderByExpressions(), _queryContext.getLimit(), _queryContext.isNullHandlingEnabled());
mainDistinctTable.mergeTable(mergedDistinctTable);
mergedBlock.setAggregationResults(Collections.singletonList(mainDistinctTable));
mergedDistinctTable = mainDistinctTable;
}
mergedDistinctTable.mergeTable(distinctTableToMerge);
}
}
| [
"noreply@github.com"
] | noreply@github.com |
badab18fb4ef7d5b4804f53adf81e91866b6f4bf | 5fb3ce90ec655fac5c300aec0c3eb90103b4bf38 | /modules/mainapp/src/main/java/com/bluelock/weixin/WeiXinPay.java | 797b57bde884dc3f9179c48bd7f6dc95494d5a08 | [] | no_license | wuhuaixi/dunyun | 6aea11382e8a775abe9134db4839fd29f45c68f9 | b3c0aa941005ddf456944bb82e41c80dee556b0b | refs/heads/master | 2021-06-05T04:29:15.827139 | 2016-09-28T03:54:44 | 2016-09-28T03:54:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 9,353 | java | package com.bluelock.weixin;
import java.io.StringReader;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Random;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.xmlpull.v1.XmlPullParser;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
import android.util.Xml;
import android.widget.Toast;
import com.pay.PayOrderInfo;
import com.tencent.mm.sdk.constants.Build;
import com.tencent.mm.sdk.modelbase.BaseResp;
import com.tencent.mm.sdk.modelpay.PayReq;
import com.tencent.mm.sdk.openapi.IWXAPI;
import com.tencent.mm.sdk.openapi.WXAPIFactory;
import net.dunyun.framework.android.mainapp.fragment.HomeFragment;
import net.dunyun.framework.lock.R;
public abstract class WeiXinPay {
private static final String TAG = "MicroMsg.SDKSample.PayActivity";
private Context context;
private PayReq req;
private IWXAPI msgApi;
private StringBuffer sb;
private PayOrderInfo orderInfo;
public abstract void weixinPayErrorResult(PayOrderInfo orderInfo);
public WeiXinPay(Context context, PayOrderInfo orderInfo) {
this.context = context;
this.orderInfo = orderInfo;
msgApi = WXAPIFactory.createWXAPI(context, Constants.APP_ID);
msgApi.registerApp(Constants.APP_ID);
boolean isPaySupported = msgApi.getWXAppSupportAPI() >= Build.PAY_SUPPORTED_SDK_INT;
if (isPaySupported) {
req = new PayReq();
sb = new StringBuffer();
new GetPrepayIdTask().execute();
} else {
Toast.makeText(context,
context.getString(R.string.weixin_nonsupport),
Toast.LENGTH_LONG).show();
}
}
/**
*
*
* @author Administrator
*
*/
private class GetPrepayIdTask extends
AsyncTask<Void, Void, Map<String, String>> {
private ProgressDialog dialog;
@Override
protected void onPreExecute() {
dialog = new ProgressDialog(context,
ProgressDialog.THEME_HOLO_LIGHT);
dialog.setTitle(context.getString(R.string.app_tip));
dialog.setMessage(context.getString(R.string.getting_prepayid));
dialog.show();
}
@Override
protected void onPostExecute(Map<String, String> result) {
if (dialog != null) {
dialog.dismiss();
}
if (result != null) {
if (result.get("return_code").equals("SUCCESS")) {
if (result.get("result_code").equals("SUCCESS")) {
sb.append("prepay_id\n" + result.get("prepay_id")
+ "\n\n");
PayReq(result);
} else {
weixinPayErrorResult(orderInfo);
Toast.makeText(context, result.get("err_code_des"),
Toast.LENGTH_LONG).show();
}
} else {
weixinPayErrorResult(orderInfo);
Toast.makeText(context, result.get("return_msg"),
Toast.LENGTH_LONG).show();
}
} else {
weixinPayErrorResult(orderInfo);
Toast.makeText(context,
context.getString(R.string.weixin_request_error),
Toast.LENGTH_LONG).show();
}
}
@Override
protected void onCancelled() {
super.onCancelled();
}
@Override
protected Map<String, String> doInBackground(Void... params) {
String url = String
.format("https://api.mch.weixin.qq.com/pay/unifiedorder");
Map<String, String> xml = null;
String entity = genProductArgs();
if (entity != null) {
byte[] buf = Util.httpPost(url, entity);
if (buf != null) {
String content = new String(buf);
xml = decodeXml(content);
}
}
return xml;
}
}
private String genProductArgs() {
StringBuffer xml = new StringBuffer();
try {
String nonceStr = genNonceStr();
xml.append("</xml>");
List<NameValuePair> packageParams = new LinkedList<NameValuePair>();
packageParams
.add(new BasicNameValuePair("appid", Constants.APP_ID));
packageParams.add(new BasicNameValuePair("body", orderInfo
.getOrderName()));
if (orderInfo.getOrderDec() != null
&& orderInfo.getOrderDec().length() > 0) {
packageParams.add(new BasicNameValuePair("detail", orderInfo
.getOrderDec()));
}
packageParams
.add(new BasicNameValuePair("mch_id", Constants.MCH_ID));
packageParams.add(new BasicNameValuePair("nonce_str", nonceStr));
packageParams.add(new BasicNameValuePair("notify_url",
Constants.NOTIFY_URL));
packageParams.add(new BasicNameValuePair("out_trade_no", orderInfo
.getOrderNo()));
String ip = getLocalIPV4Address();
if (ip != null && ip.length() > 0) {
ip = "127.0.0.1";
}
packageParams.add(new BasicNameValuePair("spbill_create_ip", ip));
packageParams.add(new BasicNameValuePair("total_fee", orderInfo
.getOrderPrice()));
packageParams.add(new BasicNameValuePair("trade_type", "APP"));
String sign = genPackageSign(packageParams);
packageParams.add(new BasicNameValuePair("sign", sign));
String xmlstring = toXml(packageParams);
// return xmlstring;
return new String(xmlstring.toString().getBytes(), "ISO8859-1");
} catch (Exception e) {
Log.e(TAG, "genProductArgs fail, ex = " + e.getMessage());
return null;
}
}
private String genNonceStr() {
Random random = new Random();
return MD5.getMessageDigest(String.valueOf(random.nextInt(10000))
.getBytes());
}
private String genPackageSign(List<NameValuePair> params) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < params.size(); i++) {
sb.append(params.get(i).getName());
sb.append('=');
sb.append(params.get(i).getValue());
sb.append('&');
}
sb.append("key=");
sb.append(Constants.API_KEY);
String packageSign = MD5.getMessageDigest(sb.toString().getBytes())
.toUpperCase();
Log.e("orion", packageSign);
return packageSign;
}
private String toXml(List<NameValuePair> params) {
StringBuilder sb = new StringBuilder();
sb.append("<xml>");
for (int i = 0; i < params.size(); i++) {
sb.append("<" + params.get(i).getName() + ">");
sb.append(params.get(i).getValue());
sb.append("</" + params.get(i).getName() + ">");
}
sb.append("</xml>");
Log.e("orion", sb.toString());
return sb.toString();
}
public Map<String, String> decodeXml(String content) {
try {
Map<String, String> xml = new HashMap<String, String>();
XmlPullParser parser = Xml.newPullParser();
parser.setInput(new StringReader(content));
int event = parser.getEventType();
while (event != XmlPullParser.END_DOCUMENT) {
String nodeName = parser.getName();
switch (event) {
case XmlPullParser.START_DOCUMENT:
break;
case XmlPullParser.START_TAG:
if ("xml".equals(nodeName) == false) {
xml.put(nodeName, parser.nextText());
}
break;
case XmlPullParser.END_TAG:
break;
}
event = parser.next();
}
return xml;
} catch (Exception e) {
Log.e("orion", e.toString());
}
return null;
}
/**
*
*
* @return
*/
private void PayReq(Map<String, String> result) {
req.appId = Constants.APP_ID;
req.partnerId = Constants.MCH_ID;
req.prepayId = result.get("prepay_id");
req.packageValue = "prepay_id=" + result.get("prepay_id");
req.nonceStr = genNonceStr();
req.timeStamp = String.valueOf(genTimeStamp());
List<NameValuePair> signParams = new LinkedList<NameValuePair>();
signParams.add(new BasicNameValuePair("appid", req.appId));
signParams.add(new BasicNameValuePair("noncestr", req.nonceStr));
signParams.add(new BasicNameValuePair("package", req.packageValue));
signParams.add(new BasicNameValuePair("partnerid", req.partnerId));
signParams.add(new BasicNameValuePair("prepayid", req.prepayId));
signParams.add(new BasicNameValuePair("timestamp", req.timeStamp));
req.sign = genAppSign(signParams);
sb.append("sign\n" + req.sign + "\n\n");
HomeFragment.weixinPayResultSta = true;
HomeFragment.weixinPayType = BaseResp.ErrCode.ERR_USER_CANCEL;
msgApi.registerApp(Constants.APP_ID);
msgApi.sendReq(req);
}
/**
*
*
* @return
*/
private long genTimeStamp() {
return System.currentTimeMillis() / 1000;
}
/**
*
*
* @return
*/
private String genAppSign(List<NameValuePair> params) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < params.size(); i++) {
sb.append(params.get(i).getName());
sb.append('=');
sb.append(params.get(i).getValue());
sb.append('&');
}
sb.append("key=");
sb.append(Constants.API_KEY);
this.sb.append("sign str\n" + sb.toString() + "\n\n");
String appSign = MD5.getMessageDigest(sb.toString().getBytes());
Log.e("orion", appSign);
return appSign;
}
/**
* 获取ip
*
* @return
*/
public static String getLocalIPV4Address() {
try {
for (Enumeration<NetworkInterface> mEnumeration = NetworkInterface
.getNetworkInterfaces(); mEnumeration.hasMoreElements();) {
NetworkInterface intf = mEnumeration.nextElement();
for (Enumeration<InetAddress> enumIPAddr = intf
.getInetAddresses(); enumIPAddr.hasMoreElements();) {
InetAddress inetAddress = enumIPAddr.nextElement();
if (!inetAddress.isLoopbackAddress()
&& inetAddress.getAddress().length == 4) {
return inetAddress.getHostAddress().toString();
}
}
}
} catch (SocketException ex) {
System.err.print("error");
}
return null;
}
}
| [
"358978361@qq.com"
] | 358978361@qq.com |
2244533486c1fc311ff3bf49591cc29539a828da | 91297ffb10fb4a601cf1d261e32886e7c746c201 | /extbrowser/src/org/netbeans/modules/extbrowser/plugins/RemoteScriptExecutor.java | e5c08914349c3ff947bebf09f53c9dd9d98381b5 | [] | no_license | JavaQualitasCorpus/netbeans-7.3 | 0b0a49d8191393ef848241a4d0aa0ecc2a71ceba | 60018fd982f9b0c9fa81702c49980db5a47f241e | refs/heads/master | 2023-08-12T09:29:23.549956 | 2019-03-16T17:06:32 | 2019-03-16T17:06:32 | 167,005,013 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 8,805 | java | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2012 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (collectively, the
* "License"). You may not use this file except in compliance with the
* License. You can obtain a copy of the License at
* http://www.netbeans.org/cddl-gplv2.html
* or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
* specific language governing permissions and limitations under the
* License. When distributing the software, include this License Header
* Notice in each file and include the License file at
* nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the GPL Version 2 section of the License file that
* accompanied this code. If applicable, add the following below the
* License Header, with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* If you wish your version of this file to be governed by only the CDDL
* or only the GPL Version 2, indicate your decision by adding
* "[Contributor] elects to include this software in this distribution
* under the [CDDL or GPL Version 2] license." If you do not indicate a
* single choice of license, a recipient has the option to distribute
* your version of this file under either the CDDL, the GPL Version 2 or
* to extend the choice of license to its licensees as provided above.
* However, if you add GPL Version 2 code and therefore, elected the GPL
* Version 2 license, then the option applies only if the new code is
* made subject to such option by the copyright holder.
*
* Contributor(s):
*
* Portions Copyrighted 2012 Sun Microsystems, Inc.
*/
package org.netbeans.modules.extbrowser.plugins;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.json.simple.JSONObject;
import org.json.simple.JSONValue;
import org.json.simple.parser.ParseException;
import org.netbeans.modules.extbrowser.ExtBrowserImpl;
import org.netbeans.modules.web.browser.api.PageInspector;
import org.netbeans.modules.web.browser.spi.MessageDispatcher;
import org.netbeans.modules.web.browser.spi.MessageDispatcher.MessageListener;
import org.netbeans.modules.web.browser.spi.ScriptExecutor;
import org.openide.util.Lookup;
/**
* Script executor for an external browser.
*
* @author Jan Stola
*/
public class RemoteScriptExecutor implements ScriptExecutor {
/** Logger for this class. */
private static final Logger LOG = Logger.getLogger(RemoteScriptExecutor.class.getName());
// Message attributes
private static final String MESSAGE_TYPE = "message"; // NOI18N
private static final String MESSAGE_EVAL = "eval"; // NOI18N
private static final String MESSAGE_ID = "id"; // NOI18N
private static final String MESSAGE_SCRIPT = "script"; // NOI18N
private static final String MESSAGE_STATUS = "status"; // NOI18N
private static final String MESSAGE_STATUS_OK = "ok"; // NOI18N
private static final String MESSAGE_RESULT = "result"; // NOI18N
/** ID of the last message sent to the browser plugin. */
private int lastIDSent = 0;
/** ID of the last message received from the browser plugin. */
private int lastIDReceived = 0;
/** Lock guarding access to the modifiable state of the executor. */
private final Object LOCK = new Object();
/** Results of the executed scripts. It maps message ID to the result. */
private Map<Integer,Object> results = new HashMap<Integer,Object>();
/** Web-browser pane of this executor. */
private ExtBrowserImpl browserImpl;
/** Determines whether the executor was initialized. */
private boolean initialized;
/** Determines whether the executor is active (i.e. ready to use). */
private boolean active;
/**
* Creates a new {@code RemoteScriptExecutor}.
*
* @param browserImpl web-browser pane of the executor.
*/
public RemoteScriptExecutor(ExtBrowserImpl browserImpl) {
this.browserImpl = browserImpl;
}
@Override
public Object execute(String script) {
synchronized (LOCK) {
if (!active) {
return ERROR_RESULT;
}
if (!initialized) {
initialize();
}
int id = ++lastIDSent;
JSONObject message = new JSONObject();
message.put(MESSAGE_TYPE, MESSAGE_EVAL);
message.put(MESSAGE_ID, id);
message.put(MESSAGE_SCRIPT, script);
ExternalBrowserPlugin.getInstance().sendMessage(
message.toJSONString(),
browserImpl,
PageInspector.MESSAGE_DISPATCHER_FEATURE_ID);
try {
do {
LOCK.wait();
} while (!results.containsKey(id));
} catch (InterruptedException iex) {
LOG.log(Level.INFO, null, iex);
}
return results.remove(id);
}
}
/**
* Initializes the executor.
*/
private void initialize() {
Lookup lookup = browserImpl.getLookup();
MessageDispatcher dispatcher = lookup.lookup(MessageDispatcher.class);
if (dispatcher != null) {
dispatcher.addMessageListener(new MessageListener() {
@Override
public void messageReceived(String featureId, String message) {
if (PageInspector.MESSAGE_DISPATCHER_FEATURE_ID.equals(featureId)) {
if (message == null) {
deactivate();
} else {
RemoteScriptExecutor.this.messageReceived(message);
}
}
}
});
} else {
LOG.log(Level.INFO, "No MessageDispatcher found in ExtBrowserImpl.getLookup()!"); // NOI18N
}
initialized = true;
}
/**
* Deactivates this executor. All pending results are set to {@code ERROR_RESULT}.
*/
private void deactivate() {
synchronized (LOCK) {
if (lastIDReceived < lastIDSent) {
int fromID = lastIDReceived+1;
LOG.log(Level.INFO, "Executor disposed before responses with IDs {0} to {1} were received!", // NOI18N
new Object[]{fromID, lastIDSent});
for (int i=fromID; i<=lastIDSent; i++) {
results.put(i, ERROR_RESULT);
}
lastIDReceived = lastIDSent;
}
active = false;
LOCK.notifyAll();
}
}
/**
* Activates the executor.
*/
void activate() {
synchronized (LOCK) {
active = true;
}
}
/**
* Called when a message for this executor is received.
*
* @param messageTxt message for this executor.
*/
void messageReceived(String messageTxt) {
try {
JSONObject message = (JSONObject)JSONValue.parseWithException(messageTxt);
Object type = message.get(MESSAGE_TYPE);
if (MESSAGE_EVAL.equals(type)) {
int id = ((Number)message.get(MESSAGE_ID)).intValue();
synchronized (LOCK) {
for (int i=lastIDReceived+1; i<id; i++) {
LOG.log(Level.INFO, "Haven''t received result of execution of script with ID {0}.", i); // NOI18N
results.put(i, ERROR_RESULT);
}
Object status = message.get(MESSAGE_STATUS);
Object result = message.get(MESSAGE_RESULT);
if (MESSAGE_STATUS_OK.equals(status)) {
results.put(id, result);
} else {
LOG.log(Level.INFO, "Message with id {0} wasn''t executed successfuly: {1}", // NOI18N
new Object[]{id, result});
results.put(id, ERROR_RESULT);
}
lastIDReceived = id;
LOCK.notifyAll();
}
}
} catch (ParseException ex) {
LOG.log(Level.INFO, "Ignoring message that is not in JSON format: {0}", messageTxt); // NOI18N
}
}
}
| [
"taibi@sonar-scheduler.rd.tut.fi"
] | taibi@sonar-scheduler.rd.tut.fi |
b786064dbe2d8315ad3d76a9a605b7f47217945a | 3f1c7cdcac7985bea6295127eeefa9515aaaf753 | /app/src/androidTest/java/com/lucaslee/lemon/ApplicationTest.java | 36ca66cd727e831ff4cb8f7cf5e5e9e197315a42 | [] | no_license | GEDS1990/LemonAndroid | 481030f8eeda47e71614461692c996dc1e995cc3 | b3daa9af4b72ed1e70dfd0a43515c2a02ad8e674 | refs/heads/master | 2020-03-25T13:52:23.672651 | 2016-07-10T09:11:41 | 2016-07-10T09:11:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 349 | java | package com.lucaslee.lemon;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
} | [
"llzqingdao2012@gmail.com"
] | llzqingdao2012@gmail.com |
76beb836c7fe9828806a385d1b1d2b755b793218 | 07bcada4ac2b0edc598e58feb7087018430351fa | /src/com/kline/blconfirm/service/BlConfirmStatusService.java | 1a5c81801ea715e8ead3f5a71d69e3c1680b2974 | [] | no_license | yxws123/test0 | f213e178408936ed37d50932c772635a31c3e76f | a88f3e4dd3ca699bd756e0e47e1543681d29860d | refs/heads/master | 2021-01-19T00:25:37.252777 | 2012-01-24T17:51:42 | 2012-01-24T17:51:42 | 3,247,838 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 312 | java | package com.kline.blconfirm.service;
import java.util.List;
import com.kline.blconfirm.entity.BlConfirmStatus;
import com.kline.core.service.BaseIdEntityService;
public interface BlConfirmStatusService extends BaseIdEntityService {
public List<BlConfirmStatus> findByMasterId(long blMasterId);
}
| [
"wus0209@gmail.com"
] | wus0209@gmail.com |
f3fc534de9a4a7cd178456e833ecafb525d972e7 | a39d8a5f49aa6b50d41850ba8474a5999fe3ff98 | /RvComplexApp/app/src/main/java/com/example/wujunfeng/recyclerviewcomplexapplication/MainActivity.java | 8aa06ff840c0eee1de8acf9da43a5d47a3dfcea4 | [] | no_license | wjfjfw2854/sunny | 3d29135c0965faf1adc36aa54e8cf1b869acdb57 | c1c7248af9bc0d36e35a2700ce6ae0414643c142 | refs/heads/master | 2022-12-23T12:11:18.988085 | 2022-12-13T09:42:21 | 2022-12-13T09:42:21 | 222,394,789 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,295 | java | package com.example.wujunfeng.recyclerviewcomplexapplication;
import android.arch.lifecycle.ViewModelProviders;
import android.databinding.DataBindingUtil;
import android.databinding.ViewDataBinding;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.example.wujunfeng.recyclerviewcomplexapplication.complexrecyclerviewtool.BaseFrag;
import com.example.wujunfeng.recyclerviewcomplexapplication.complexrecyclerviewtool.TestMncgChiCang;
import com.example.wujunfeng.recyclerviewcomplexapplication.vm.MainViewModel;
import me.yokeyword.fragmentation.SupportActivity;
public class MainActivity extends SupportActivity {
private MainViewModel viewModel;
private ViewDataBinding bind;
private BaseFrag[] frags = new BaseFrag[]{new TestMncgChiCang()};
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// setContentView(R.layout.activity_main);
bind = DataBindingUtil.setContentView(this,R.layout.activity_main);
viewModel = ViewModelProviders.of(this).get(MainViewModel.class);
bind.setVariable(BR.viewModel,viewModel);
// loadMultipleRootFragment(R.id.container, 0, frags);
loadRootFragment(R.id.container,new TestMncgChiCang());
}
}
| [
"421284553@qq.com"
] | 421284553@qq.com |
aac38399462611438f25a8e3c4f9f3ed0849eb9b | 5bc7effe66dd4fc2b31d18896036034301179a9a | /app/src/androidTest/java/com/shivsah/braintraining/ExampleInstrumentedTest.java | e7bc852523c8f7a245202ba06d8f30c4faad81dc | [] | no_license | developerMe1/Brain.Training | 916c684499aa195e382e1066574fdd94cebc37d6 | 3933fe646f78aaaa784371bbecacf92ee1448119 | refs/heads/master | 2021-02-05T14:38:20.174615 | 2020-02-28T15:27:33 | 2020-02-28T15:27:33 | 243,792,471 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 766 | java | package com.shivsah.braintraining;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.shivsah.braintraining", appContext.getPackageName());
}
}
| [
"developer.me19@gmail.com"
] | developer.me19@gmail.com |
f17af9f3f71c45dfa8b2de58e2a22791059b6132 | be900f26cec40df7dc876d7da2e060631f497301 | /src/test/java/com/janchabik/moviego/web/rest/UserResourceIT.java | 7627c607518b35c5954f54c5e0e8fe3503daffd0 | [] | no_license | jslowbro/MovieGO | d49cf5b1b95bbbaf02bed127f1c7ea640d4ae7f9 | 2e6df0e4d50a11d52ac56c42b8ff78e44ab2541d | refs/heads/master | 2023-07-22T18:04:12.433525 | 2020-04-11T16:08:24 | 2020-04-11T16:08:24 | 254,620,742 | 0 | 0 | null | 2023-07-10T23:23:40 | 2020-04-10T11:43:42 | Java | UTF-8 | Java | false | false | 10,918 | java | package com.janchabik.moviego.web.rest;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.hasItem;
import static org.hamcrest.Matchers.hasItems;
import static org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.csrf;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
import com.janchabik.moviego.MovieGoApp;
import com.janchabik.moviego.config.TestSecurityConfiguration;
import com.janchabik.moviego.domain.Authority;
import com.janchabik.moviego.domain.User;
import com.janchabik.moviego.repository.UserRepository;
import com.janchabik.moviego.security.AuthoritiesConstants;
import com.janchabik.moviego.service.dto.UserDTO;
import com.janchabik.moviego.service.mapper.UserMapper;
import java.time.Instant;
import java.util.*;
import java.util.function.Consumer;
import javax.persistence.EntityManager;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cache.CacheManager;
import org.springframework.http.MediaType;
import org.springframework.security.test.context.support.WithMockUser;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.transaction.annotation.Transactional;
/**
* Integration tests for the {@link UserResource} REST controller.
*/
@AutoConfigureMockMvc
@WithMockUser(authorities = AuthoritiesConstants.ADMIN)
@SpringBootTest(classes = { MovieGoApp.class, TestSecurityConfiguration.class })
public class UserResourceIT {
private static final String DEFAULT_LOGIN = "johndoe";
private static final String DEFAULT_ID = "id1";
private static final String DEFAULT_EMAIL = "johndoe@localhost";
private static final String DEFAULT_FIRSTNAME = "john";
private static final String DEFAULT_LASTNAME = "doe";
private static final String DEFAULT_IMAGEURL = "http://placehold.it/50x50";
private static final String DEFAULT_LANGKEY = "en";
@Autowired
private UserRepository userRepository;
@Autowired
private UserMapper userMapper;
@Autowired
private EntityManager em;
@Autowired
private CacheManager cacheManager;
@Autowired
private MockMvc restUserMockMvc;
private User user;
@BeforeEach
public void setup() {
cacheManager.getCache(UserRepository.USERS_BY_LOGIN_CACHE).clear();
cacheManager.getCache(UserRepository.USERS_BY_EMAIL_CACHE).clear();
}
/**
* Create a User.
*
* This is a static method, as tests for other entities might also need it,
* if they test an entity which has a required relationship to the User entity.
*/
public static User createEntity(EntityManager em) {
User user = new User();
user.setId(UUID.randomUUID().toString());
user.setLogin(DEFAULT_LOGIN + RandomStringUtils.randomAlphabetic(5));
user.setActivated(true);
user.setEmail(RandomStringUtils.randomAlphabetic(5) + DEFAULT_EMAIL);
user.setFirstName(DEFAULT_FIRSTNAME);
user.setLastName(DEFAULT_LASTNAME);
user.setImageUrl(DEFAULT_IMAGEURL);
user.setLangKey(DEFAULT_LANGKEY);
return user;
}
@BeforeEach
public void initTest() {
user = createEntity(em);
user.setLogin(DEFAULT_LOGIN);
user.setEmail(DEFAULT_EMAIL);
}
@Test
@Transactional
public void getAllUsers() throws Exception {
// Initialize the database
userRepository.saveAndFlush(user);
// Get all the users
restUserMockMvc
.perform(get("/api/users?sort=id,desc").accept(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))
.andExpect(jsonPath("$.[*].login").value(hasItem(DEFAULT_LOGIN)))
.andExpect(jsonPath("$.[*].firstName").value(hasItem(DEFAULT_FIRSTNAME)))
.andExpect(jsonPath("$.[*].lastName").value(hasItem(DEFAULT_LASTNAME)))
.andExpect(jsonPath("$.[*].email").value(hasItem(DEFAULT_EMAIL)))
.andExpect(jsonPath("$.[*].imageUrl").value(hasItem(DEFAULT_IMAGEURL)))
.andExpect(jsonPath("$.[*].langKey").value(hasItem(DEFAULT_LANGKEY)));
}
@Test
@Transactional
public void getUser() throws Exception {
// Initialize the database
userRepository.saveAndFlush(user);
assertThat(cacheManager.getCache(UserRepository.USERS_BY_LOGIN_CACHE).get(user.getLogin())).isNull();
// Get the user
restUserMockMvc
.perform(get("/api/users/{login}", user.getLogin()))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))
.andExpect(jsonPath("$.login").value(user.getLogin()))
.andExpect(jsonPath("$.firstName").value(DEFAULT_FIRSTNAME))
.andExpect(jsonPath("$.lastName").value(DEFAULT_LASTNAME))
.andExpect(jsonPath("$.email").value(DEFAULT_EMAIL))
.andExpect(jsonPath("$.imageUrl").value(DEFAULT_IMAGEURL))
.andExpect(jsonPath("$.langKey").value(DEFAULT_LANGKEY));
assertThat(cacheManager.getCache(UserRepository.USERS_BY_LOGIN_CACHE).get(user.getLogin())).isNotNull();
}
@Test
@Transactional
public void getNonExistingUser() throws Exception {
restUserMockMvc.perform(get("/api/users/unknown")).andExpect(status().isNotFound());
}
@Test
@Transactional
public void getAllAuthorities() throws Exception {
restUserMockMvc
.perform(get("/api/users/authorities").accept(MediaType.APPLICATION_JSON).contentType(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))
.andExpect(jsonPath("$").isArray())
.andExpect(jsonPath("$").value(hasItems(AuthoritiesConstants.USER, AuthoritiesConstants.ADMIN)));
}
@Test
@Transactional
public void testUserEquals() throws Exception {
TestUtil.equalsVerifier(User.class);
User user1 = new User();
user1.setId("id1");
User user2 = new User();
user2.setId(user1.getId());
assertThat(user1).isEqualTo(user2);
user2.setId("id2");
assertThat(user1).isNotEqualTo(user2);
user1.setId(null);
assertThat(user1).isNotEqualTo(user2);
}
@Test
public void testUserDTOtoUser() {
UserDTO userDTO = new UserDTO();
userDTO.setId(DEFAULT_ID);
userDTO.setLogin(DEFAULT_LOGIN);
userDTO.setFirstName(DEFAULT_FIRSTNAME);
userDTO.setLastName(DEFAULT_LASTNAME);
userDTO.setEmail(DEFAULT_EMAIL);
userDTO.setActivated(true);
userDTO.setImageUrl(DEFAULT_IMAGEURL);
userDTO.setLangKey(DEFAULT_LANGKEY);
userDTO.setCreatedBy(DEFAULT_LOGIN);
userDTO.setLastModifiedBy(DEFAULT_LOGIN);
userDTO.setAuthorities(Collections.singleton(AuthoritiesConstants.USER));
User user = userMapper.userDTOToUser(userDTO);
assertThat(user.getId()).isEqualTo(DEFAULT_ID);
assertThat(user.getLogin()).isEqualTo(DEFAULT_LOGIN);
assertThat(user.getFirstName()).isEqualTo(DEFAULT_FIRSTNAME);
assertThat(user.getLastName()).isEqualTo(DEFAULT_LASTNAME);
assertThat(user.getEmail()).isEqualTo(DEFAULT_EMAIL);
assertThat(user.getActivated()).isEqualTo(true);
assertThat(user.getImageUrl()).isEqualTo(DEFAULT_IMAGEURL);
assertThat(user.getLangKey()).isEqualTo(DEFAULT_LANGKEY);
assertThat(user.getCreatedBy()).isNull();
assertThat(user.getCreatedDate()).isNotNull();
assertThat(user.getLastModifiedBy()).isNull();
assertThat(user.getLastModifiedDate()).isNotNull();
assertThat(user.getAuthorities()).extracting("name").containsExactly(AuthoritiesConstants.USER);
}
@Test
public void testUserToUserDTO() {
user.setId(DEFAULT_ID);
user.setCreatedBy(DEFAULT_LOGIN);
user.setCreatedDate(Instant.now());
user.setLastModifiedBy(DEFAULT_LOGIN);
user.setLastModifiedDate(Instant.now());
Set<Authority> authorities = new HashSet<>();
Authority authority = new Authority();
authority.setName(AuthoritiesConstants.USER);
authorities.add(authority);
user.setAuthorities(authorities);
UserDTO userDTO = userMapper.userToUserDTO(user);
assertThat(userDTO.getId()).isEqualTo(DEFAULT_ID);
assertThat(userDTO.getLogin()).isEqualTo(DEFAULT_LOGIN);
assertThat(userDTO.getFirstName()).isEqualTo(DEFAULT_FIRSTNAME);
assertThat(userDTO.getLastName()).isEqualTo(DEFAULT_LASTNAME);
assertThat(userDTO.getEmail()).isEqualTo(DEFAULT_EMAIL);
assertThat(userDTO.isActivated()).isEqualTo(true);
assertThat(userDTO.getImageUrl()).isEqualTo(DEFAULT_IMAGEURL);
assertThat(userDTO.getLangKey()).isEqualTo(DEFAULT_LANGKEY);
assertThat(userDTO.getCreatedBy()).isEqualTo(DEFAULT_LOGIN);
assertThat(userDTO.getCreatedDate()).isEqualTo(user.getCreatedDate());
assertThat(userDTO.getLastModifiedBy()).isEqualTo(DEFAULT_LOGIN);
assertThat(userDTO.getLastModifiedDate()).isEqualTo(user.getLastModifiedDate());
assertThat(userDTO.getAuthorities()).containsExactly(AuthoritiesConstants.USER);
assertThat(userDTO.toString()).isNotNull();
}
@Test
public void testAuthorityEquals() {
Authority authorityA = new Authority();
assertThat(authorityA).isEqualTo(authorityA);
assertThat(authorityA).isNotEqualTo(null);
assertThat(authorityA).isNotEqualTo(new Object());
assertThat(authorityA.hashCode()).isEqualTo(0);
assertThat(authorityA.toString()).isNotNull();
Authority authorityB = new Authority();
assertThat(authorityA).isEqualTo(authorityB);
authorityB.setName(AuthoritiesConstants.ADMIN);
assertThat(authorityA).isNotEqualTo(authorityB);
authorityA.setName(AuthoritiesConstants.USER);
assertThat(authorityA).isNotEqualTo(authorityB);
authorityB.setName(AuthoritiesConstants.USER);
assertThat(authorityA).isEqualTo(authorityB);
assertThat(authorityA.hashCode()).isEqualTo(authorityB.hashCode());
}
private void assertPersistedUsers(Consumer<List<User>> userAssertion) {
userAssertion.accept(userRepository.findAll());
}
}
| [
"jhipster-bot@jhipster.tech"
] | jhipster-bot@jhipster.tech |
33945ea8f6887317a4be691c9ab96552db969ea6 | 78e2ba1dc001335266dd44ac994984b905679631 | /src/kata4/view/HistogramDisplay.java | 6caeba212d53ae48ff46f3beef1e7a6f90743812 | [] | no_license | abrandvelaz/Kata4 | c30663b83b34b06360c83d88541860e69d4614b8 | ad46de3acfbeff89e941884ded4d1a407908b940 | refs/heads/master | 2020-08-30T20:27:06.701078 | 2019-10-30T10:03:07 | 2019-10-30T10:03:07 | 218,480,155 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,981 | java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package kata4.view;
import java.awt.Dimension;
import javax.swing.JPanel;
import kata4.model.Histograma;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartPanel;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.data.category.DefaultCategoryDataset;
import org.jfree.ui.ApplicationFrame;
/**
*
* @author Alber
*/
public class HistogramDisplay extends ApplicationFrame {
private final Histograma<String>histogram;
public HistogramDisplay(Histograma histogram) {
super("Histograma");
this.histogram = histogram;
this.setContentPane(createPanel());
this.pack();
}
public void execute(){
setVisible(true);
}
private JPanel createPanel(){
ChartPanel chartPanel = new ChartPanel(createChart(createDataSet()));
chartPanel.setPreferredSize(new Dimension(500,400));
return chartPanel;
}
private JFreeChart createChart(DefaultCategoryDataset dataSet){
JFreeChart chart = ChartFactory.createBarChart("Histograma JFreeChart",
"Dominio email",
"Nº de emails",
dataSet, PlotOrientation.VERTICAL, false, false,
rootPaneCheckingEnabled);
return chart;
}
private DefaultCategoryDataset createDataSet(){
DefaultCategoryDataset dataSet = new DefaultCategoryDataset();
for(String key:histogram.keySet()){
dataSet.addValue(histogram.get(key),"",key);
}
return dataSet;
}
}
| [
"Alber@10.194.108.159"
] | Alber@10.194.108.159 |
b410cc7d969be82cb61afcd1160f1493b7acf326 | da3cf1386ae91a998df2215fab35105bc8abcff9 | /Jsp08_MVC_request_uri/src/com/mvc/dao/MVCDao.java | 6feb1ab4ea52297bf08c88a99f7dd742e408acab | [] | no_license | skwak0205/Servlet | 7498a6777d322663a084c890862261c981d9464a | 7c563cc01cf31090584704b5df0fb446ea8fe6be | refs/heads/main | 2023-08-20T02:27:34.165891 | 2021-10-06T01:57:55 | 2021-10-06T01:57:55 | 393,019,981 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 747 | java | package com.mvc.dao;
import java.util.List;
import com.mvc.dto.MVCDto;
public interface MVCDao {
String SELECT_LIST_SQL = " SELECT SEQ, WRITER, TITLE, CONTENT, REGDATE FROM MVCBOARD ORDER BY SEQ DESC ";
String SELECT_ONE_SQL = " SELECT SEQ, WRITER, TITLE, CONTENT, REGDATE FROM MVCBOARD WHERE SEQ = ? ";
String INSERT_SQL = " INSERT INTO MVCBOARD VALUES(MVCBOARDSEQ.NEXTVAL, ?, ?, ?, SYSDATE) ";
String UPDATE_SQL = " UPDATE MVCBOARD SET TITLE = ?, CONTENT = ? WHERE SEQ = ? ";
String DELETE_SQL = " DELETE FROM MVCBOARD WHERE SEQ = ? ";
public List<MVCDto> selectList();
public MVCDto selectOne(int seq);
public int insert(MVCDto dto);
public int update(MVCDto dto);
public int delete(int seq);
}
| [
"noreply@github.com"
] | noreply@github.com |
25b9b798ba85c69b97766cb4cb92e05b5d6e1dc7 | 988754db044a0f58f9fac57963514b7129949d26 | /SpringWithMyBatis_FullAnnotations/src/test/java/SpringServiceTest.java | f988d0c58bc5302aef6a8416dcae1248076571bd | [] | no_license | roohom/Microservice | 7463a33a45332d10b6511b215ceb3edc3baee47e | f7d9f4ea81c26e5f69c86149f30620efd4424dbb | refs/heads/master | 2023-01-01T02:31:15.264200 | 2020-10-20T15:43:15 | 2020-10-20T15:43:15 | 302,934,491 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,029 | java | import me.iroohom.conf.SpringConf;
import me.iroohom.mapper.TbAccountMapper;
import me.iroohom.pojo.TbAcccount;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import java.util.List;
/**
* @ClassName: SpringServiceTransactionTest
* @Author: Roohom
* @Function:
* @Date: 2020/10/11 20:58
* @Software: IntelliJ IDEA
*/
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = {SpringConf.class})
public class SpringServiceTest {
@Autowired
private TbAccountMapper tbAccountMapper;
@Test
public void transTest() {
List<TbAcccount> accountAll = tbAccountMapper.findAccountAll();
System.out.println(accountAll);
}
@Test
public void transTest01() {
TbAcccount account = tbAccountMapper.findAccountById(1);
System.out.println(account);
}
}
| [
"roohom@qq.com"
] | roohom@qq.com |
22c2da525885f9a816abe608bd0ca14732fb721c | 33968c0ba99d37664a0094976a4f579a853d8a18 | /src/main/java/com/nileshchakraborty/api/Application.java | f36b111a5d426275fe03487b46781e9d300c2fbb | [] | no_license | nileshtc/spring-api | 0fcd01a7d670511a0f8e6283721c2e9407a8a831 | 14ad3cea3df6fb49265f4c78267257cc50fc9a6d | refs/heads/master | 2020-04-24T13:25:47.934601 | 2019-02-22T03:34:28 | 2019-02-22T03:34:28 | 171,987,752 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 320 | java | package com.nileshchakraborty.api;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan
public class Application {
/* @Bean
public Hello getHelloWorld(){
return new HelloWorld();
}*/
}
| [
"nileshchakraborty@gmail.com"
] | nileshchakraborty@gmail.com |
4ea1367ac38c5a9676b4bc852573d70b5b9a985c | c58bb8db16dca4eb104d60104a5f1551f4129092 | /net.certware.sacm.edit/bin/src-gen/net/certware/sacm/SACM/Evidence/parts/impl/EvidenceRequestPropertiesEditionPartImpl.java | 21de1d954e149007d6300f8b6b97d13b1374096f | [
"Apache-2.0"
] | permissive | johnsteele/CertWare | 361537d76a76e8c7eb55cc652da5b3beb5b26b66 | f63ff91edaaf2b0718b51a34cda0136f3cdbb085 | refs/heads/master | 2021-01-16T19:16:08.546554 | 2014-07-03T16:49:40 | 2014-07-03T16:49:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 48,206 | java | // Copyright (c) 2013 United States Government as represented by the National Aeronautics and Space Administration. All rights reserved.
package net.certware.sacm.SACM.Evidence.parts.impl;
// Start of user code for imports
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart;
import net.certware.sacm.SACM.Evidence.parts.EvidenceViewsRepository;
import net.certware.sacm.SACM.Evidence.providers.EvidenceMessages;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart;
import org.eclipse.emf.eef.runtime.context.impl.EObjectPropertiesEditionContext;
import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart;
import org.eclipse.emf.eef.runtime.policies.PropertiesEditingPolicy;
import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
import org.eclipse.emf.eef.runtime.ui.parts.PartComposer;
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence;
import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence;
import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionStep;
import org.eclipse.emf.eef.runtime.ui.utils.EditingUtils;
import org.eclipse.emf.eef.runtime.ui.widgets.ReferencesTable;
import org.eclipse.emf.eef.runtime.ui.widgets.ReferencesTable.ReferencesTableListener;
import org.eclipse.emf.eef.runtime.ui.widgets.SWTUtils;
import org.eclipse.emf.eef.runtime.ui.widgets.TabElementTreeSelectionDialog;
import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableContentProvider;
import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.ViewerFilter;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.FocusAdapter;
import org.eclipse.swt.events.FocusEvent;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Text;
// End of user code
/**
* @author Kestrel Technology LLC
*
*/
public class EvidenceRequestPropertiesEditionPartImpl extends CompositePropertiesEditionPart implements ISWTPropertiesEditionPart, EvidenceRequestPropertiesEditionPart {
protected Text id;
protected ReferencesTable timing;
protected List<ViewerFilter> timingBusinessFilters = new ArrayList<ViewerFilter>();
protected List<ViewerFilter> timingFilters = new ArrayList<ViewerFilter>();
protected ReferencesTable custody;
protected List<ViewerFilter> custodyBusinessFilters = new ArrayList<ViewerFilter>();
protected List<ViewerFilter> custodyFilters = new ArrayList<ViewerFilter>();
protected ReferencesTable provenance;
protected List<ViewerFilter> provenanceBusinessFilters = new ArrayList<ViewerFilter>();
protected List<ViewerFilter> provenanceFilters = new ArrayList<ViewerFilter>();
protected ReferencesTable event;
protected List<ViewerFilter> eventBusinessFilters = new ArrayList<ViewerFilter>();
protected List<ViewerFilter> eventFilters = new ArrayList<ViewerFilter>();
protected Text name;
protected Text content;
protected ReferencesTable property;
protected List<ViewerFilter> propertyBusinessFilters = new ArrayList<ViewerFilter>();
protected List<ViewerFilter> propertyFilters = new ArrayList<ViewerFilter>();
protected ReferencesTable item;
protected List<ViewerFilter> itemBusinessFilters = new ArrayList<ViewerFilter>();
protected List<ViewerFilter> itemFilters = new ArrayList<ViewerFilter>();
/**
* Default constructor
* @param editionComponent the {@link IPropertiesEditionComponent} that manage this part
*
*/
public EvidenceRequestPropertiesEditionPartImpl(IPropertiesEditionComponent editionComponent) {
super(editionComponent);
}
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart#
* createFigure(org.eclipse.swt.widgets.Composite)
*
*/
public Composite createFigure(final Composite parent) {
view = new Composite(parent, SWT.NONE);
GridLayout layout = new GridLayout();
layout.numColumns = 3;
view.setLayout(layout);
createControls(view);
return view;
}
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart#
* createControls(org.eclipse.swt.widgets.Composite)
*
*/
public void createControls(Composite view) {
CompositionSequence evidenceRequestStep = new BindingCompositionSequence(propertiesEditionComponent);
CompositionStep propertiesStep = evidenceRequestStep.addStep(EvidenceViewsRepository.EvidenceRequest.Properties.class);
propertiesStep.addStep(EvidenceViewsRepository.EvidenceRequest.Properties.id);
propertiesStep.addStep(EvidenceViewsRepository.EvidenceRequest.Properties.timing);
propertiesStep.addStep(EvidenceViewsRepository.EvidenceRequest.Properties.custody);
propertiesStep.addStep(EvidenceViewsRepository.EvidenceRequest.Properties.provenance);
propertiesStep.addStep(EvidenceViewsRepository.EvidenceRequest.Properties.event);
propertiesStep.addStep(EvidenceViewsRepository.EvidenceRequest.Properties.name);
propertiesStep.addStep(EvidenceViewsRepository.EvidenceRequest.Properties.content);
propertiesStep.addStep(EvidenceViewsRepository.EvidenceRequest.Properties.property);
propertiesStep.addStep(EvidenceViewsRepository.EvidenceRequest.Properties.item);
composer = new PartComposer(evidenceRequestStep) {
@Override
public Composite addToPart(Composite parent, Object key) {
if (key == EvidenceViewsRepository.EvidenceRequest.Properties.class) {
return createPropertiesGroup(parent);
}
if (key == EvidenceViewsRepository.EvidenceRequest.Properties.id) {
return createIdText(parent);
}
if (key == EvidenceViewsRepository.EvidenceRequest.Properties.timing) {
return createTimingAdvancedTableComposition(parent);
}
if (key == EvidenceViewsRepository.EvidenceRequest.Properties.custody) {
return createCustodyAdvancedTableComposition(parent);
}
if (key == EvidenceViewsRepository.EvidenceRequest.Properties.provenance) {
return createProvenanceAdvancedTableComposition(parent);
}
if (key == EvidenceViewsRepository.EvidenceRequest.Properties.event) {
return createEventAdvancedTableComposition(parent);
}
if (key == EvidenceViewsRepository.EvidenceRequest.Properties.name) {
return createNameText(parent);
}
if (key == EvidenceViewsRepository.EvidenceRequest.Properties.content) {
return createContentText(parent);
}
if (key == EvidenceViewsRepository.EvidenceRequest.Properties.property) {
return createPropertyAdvancedTableComposition(parent);
}
if (key == EvidenceViewsRepository.EvidenceRequest.Properties.item) {
return createItemAdvancedReferencesTable(parent);
}
return parent;
}
};
composer.compose(view);
}
/**
*
*/
protected Composite createPropertiesGroup(Composite parent) {
Group propertiesGroup = new Group(parent, SWT.NONE);
propertiesGroup.setText(EvidenceMessages.EvidenceRequestPropertiesEditionPart_PropertiesGroupLabel);
GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
propertiesGroupData.horizontalSpan = 3;
propertiesGroup.setLayoutData(propertiesGroupData);
GridLayout propertiesGroupLayout = new GridLayout();
propertiesGroupLayout.numColumns = 3;
propertiesGroup.setLayout(propertiesGroupLayout);
return propertiesGroup;
}
protected Composite createIdText(Composite parent) {
createDescription(parent, EvidenceViewsRepository.EvidenceRequest.Properties.id, EvidenceMessages.EvidenceRequestPropertiesEditionPart_IdLabel);
id = SWTUtils.createScrollableText(parent, SWT.BORDER);
GridData idData = new GridData(GridData.FILL_HORIZONTAL);
id.setLayoutData(idData);
id.addFocusListener(new FocusAdapter() {
/**
* {@inheritDoc}
*
* @see org.eclipse.swt.events.FocusAdapter#focusLost(org.eclipse.swt.events.FocusEvent)
*
*/
@Override
@SuppressWarnings("synthetic-access")
public void focusLost(FocusEvent e) {
if (propertiesEditionComponent != null)
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.id, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, id.getText()));
}
});
id.addKeyListener(new KeyAdapter() {
/**
* {@inheritDoc}
*
* @see org.eclipse.swt.events.KeyAdapter#keyPressed(org.eclipse.swt.events.KeyEvent)
*
*/
@Override
@SuppressWarnings("synthetic-access")
public void keyPressed(KeyEvent e) {
if (e.character == SWT.CR) {
if (propertiesEditionComponent != null)
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.id, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, id.getText()));
}
}
});
EditingUtils.setID(id, EvidenceViewsRepository.EvidenceRequest.Properties.id);
EditingUtils.setEEFtype(id, "eef::Text"); //$NON-NLS-1$
SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EvidenceViewsRepository.EvidenceRequest.Properties.id, EvidenceViewsRepository.SWT_KIND), null); //$NON-NLS-1$
// Start of user code for createIdText
// End of user code
return parent;
}
/**
* @param container
*
*/
protected Composite createTimingAdvancedTableComposition(Composite parent) {
this.timing = new ReferencesTable(getDescription(EvidenceViewsRepository.EvidenceRequest.Properties.timing, EvidenceMessages.EvidenceRequestPropertiesEditionPart_TimingLabel), new ReferencesTableListener() {
public void handleAdd() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.timing, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
timing.refresh();
}
public void handleEdit(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.timing, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
timing.refresh();
}
public void handleMove(EObject element, int oldIndex, int newIndex) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.timing, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
timing.refresh();
}
public void handleRemove(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.timing, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
timing.refresh();
}
public void navigateTo(EObject element) { }
});
for (ViewerFilter filter : this.timingFilters) {
this.timing.addFilter(filter);
}
this.timing.setHelpText(propertiesEditionComponent.getHelpContent(EvidenceViewsRepository.EvidenceRequest.Properties.timing, EvidenceViewsRepository.SWT_KIND));
this.timing.createControls(parent);
this.timing.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
if (e.item != null && e.item.getData() instanceof EObject) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.timing, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
}
}
});
GridData timingData = new GridData(GridData.FILL_HORIZONTAL);
timingData.horizontalSpan = 3;
this.timing.setLayoutData(timingData);
this.timing.setLowerBound(0);
this.timing.setUpperBound(-1);
timing.setID(EvidenceViewsRepository.EvidenceRequest.Properties.timing);
timing.setEEFType("eef::AdvancedTableComposition"); //$NON-NLS-1$
// Start of user code for createTimingAdvancedTableComposition
// End of user code
return parent;
}
/**
* @param container
*
*/
protected Composite createCustodyAdvancedTableComposition(Composite parent) {
this.custody = new ReferencesTable(getDescription(EvidenceViewsRepository.EvidenceRequest.Properties.custody, EvidenceMessages.EvidenceRequestPropertiesEditionPart_CustodyLabel), new ReferencesTableListener() {
public void handleAdd() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.custody, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
custody.refresh();
}
public void handleEdit(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.custody, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
custody.refresh();
}
public void handleMove(EObject element, int oldIndex, int newIndex) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.custody, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
custody.refresh();
}
public void handleRemove(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.custody, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
custody.refresh();
}
public void navigateTo(EObject element) { }
});
for (ViewerFilter filter : this.custodyFilters) {
this.custody.addFilter(filter);
}
this.custody.setHelpText(propertiesEditionComponent.getHelpContent(EvidenceViewsRepository.EvidenceRequest.Properties.custody, EvidenceViewsRepository.SWT_KIND));
this.custody.createControls(parent);
this.custody.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
if (e.item != null && e.item.getData() instanceof EObject) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.custody, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
}
}
});
GridData custodyData = new GridData(GridData.FILL_HORIZONTAL);
custodyData.horizontalSpan = 3;
this.custody.setLayoutData(custodyData);
this.custody.setLowerBound(0);
this.custody.setUpperBound(-1);
custody.setID(EvidenceViewsRepository.EvidenceRequest.Properties.custody);
custody.setEEFType("eef::AdvancedTableComposition"); //$NON-NLS-1$
// Start of user code for createCustodyAdvancedTableComposition
// End of user code
return parent;
}
/**
* @param container
*
*/
protected Composite createProvenanceAdvancedTableComposition(Composite parent) {
this.provenance = new ReferencesTable(getDescription(EvidenceViewsRepository.EvidenceRequest.Properties.provenance, EvidenceMessages.EvidenceRequestPropertiesEditionPart_ProvenanceLabel), new ReferencesTableListener() {
public void handleAdd() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.provenance, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
provenance.refresh();
}
public void handleEdit(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.provenance, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
provenance.refresh();
}
public void handleMove(EObject element, int oldIndex, int newIndex) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.provenance, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
provenance.refresh();
}
public void handleRemove(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.provenance, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
provenance.refresh();
}
public void navigateTo(EObject element) { }
});
for (ViewerFilter filter : this.provenanceFilters) {
this.provenance.addFilter(filter);
}
this.provenance.setHelpText(propertiesEditionComponent.getHelpContent(EvidenceViewsRepository.EvidenceRequest.Properties.provenance, EvidenceViewsRepository.SWT_KIND));
this.provenance.createControls(parent);
this.provenance.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
if (e.item != null && e.item.getData() instanceof EObject) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.provenance, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
}
}
});
GridData provenanceData = new GridData(GridData.FILL_HORIZONTAL);
provenanceData.horizontalSpan = 3;
this.provenance.setLayoutData(provenanceData);
this.provenance.setLowerBound(0);
this.provenance.setUpperBound(-1);
provenance.setID(EvidenceViewsRepository.EvidenceRequest.Properties.provenance);
provenance.setEEFType("eef::AdvancedTableComposition"); //$NON-NLS-1$
// Start of user code for createProvenanceAdvancedTableComposition
// End of user code
return parent;
}
/**
* @param container
*
*/
protected Composite createEventAdvancedTableComposition(Composite parent) {
this.event = new ReferencesTable(getDescription(EvidenceViewsRepository.EvidenceRequest.Properties.event, EvidenceMessages.EvidenceRequestPropertiesEditionPart_EventLabel), new ReferencesTableListener() {
public void handleAdd() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.event, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
event.refresh();
}
public void handleEdit(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.event, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
event.refresh();
}
public void handleMove(EObject element, int oldIndex, int newIndex) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.event, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
event.refresh();
}
public void handleRemove(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.event, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
event.refresh();
}
public void navigateTo(EObject element) { }
});
for (ViewerFilter filter : this.eventFilters) {
this.event.addFilter(filter);
}
this.event.setHelpText(propertiesEditionComponent.getHelpContent(EvidenceViewsRepository.EvidenceRequest.Properties.event, EvidenceViewsRepository.SWT_KIND));
this.event.createControls(parent);
this.event.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
if (e.item != null && e.item.getData() instanceof EObject) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.event, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
}
}
});
GridData eventData = new GridData(GridData.FILL_HORIZONTAL);
eventData.horizontalSpan = 3;
this.event.setLayoutData(eventData);
this.event.setLowerBound(0);
this.event.setUpperBound(-1);
event.setID(EvidenceViewsRepository.EvidenceRequest.Properties.event);
event.setEEFType("eef::AdvancedTableComposition"); //$NON-NLS-1$
// Start of user code for createEventAdvancedTableComposition
// End of user code
return parent;
}
protected Composite createNameText(Composite parent) {
createDescription(parent, EvidenceViewsRepository.EvidenceRequest.Properties.name, EvidenceMessages.EvidenceRequestPropertiesEditionPart_NameLabel);
name = SWTUtils.createScrollableText(parent, SWT.BORDER);
GridData nameData = new GridData(GridData.FILL_HORIZONTAL);
name.setLayoutData(nameData);
name.addFocusListener(new FocusAdapter() {
/**
* {@inheritDoc}
*
* @see org.eclipse.swt.events.FocusAdapter#focusLost(org.eclipse.swt.events.FocusEvent)
*
*/
@Override
@SuppressWarnings("synthetic-access")
public void focusLost(FocusEvent e) {
if (propertiesEditionComponent != null)
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.name, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, name.getText()));
}
});
name.addKeyListener(new KeyAdapter() {
/**
* {@inheritDoc}
*
* @see org.eclipse.swt.events.KeyAdapter#keyPressed(org.eclipse.swt.events.KeyEvent)
*
*/
@Override
@SuppressWarnings("synthetic-access")
public void keyPressed(KeyEvent e) {
if (e.character == SWT.CR) {
if (propertiesEditionComponent != null)
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.name, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, name.getText()));
}
}
});
EditingUtils.setID(name, EvidenceViewsRepository.EvidenceRequest.Properties.name);
EditingUtils.setEEFtype(name, "eef::Text"); //$NON-NLS-1$
SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EvidenceViewsRepository.EvidenceRequest.Properties.name, EvidenceViewsRepository.SWT_KIND), null); //$NON-NLS-1$
// Start of user code for createNameText
// End of user code
return parent;
}
protected Composite createContentText(Composite parent) {
createDescription(parent, EvidenceViewsRepository.EvidenceRequest.Properties.content, EvidenceMessages.EvidenceRequestPropertiesEditionPart_ContentLabel);
content = SWTUtils.createScrollableText(parent, SWT.BORDER);
GridData contentData = new GridData(GridData.FILL_HORIZONTAL);
content.setLayoutData(contentData);
content.addFocusListener(new FocusAdapter() {
/**
* {@inheritDoc}
*
* @see org.eclipse.swt.events.FocusAdapter#focusLost(org.eclipse.swt.events.FocusEvent)
*
*/
@Override
@SuppressWarnings("synthetic-access")
public void focusLost(FocusEvent e) {
if (propertiesEditionComponent != null)
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.content, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, content.getText()));
}
});
content.addKeyListener(new KeyAdapter() {
/**
* {@inheritDoc}
*
* @see org.eclipse.swt.events.KeyAdapter#keyPressed(org.eclipse.swt.events.KeyEvent)
*
*/
@Override
@SuppressWarnings("synthetic-access")
public void keyPressed(KeyEvent e) {
if (e.character == SWT.CR) {
if (propertiesEditionComponent != null)
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.content, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, content.getText()));
}
}
});
EditingUtils.setID(content, EvidenceViewsRepository.EvidenceRequest.Properties.content);
EditingUtils.setEEFtype(content, "eef::Text"); //$NON-NLS-1$
SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EvidenceViewsRepository.EvidenceRequest.Properties.content, EvidenceViewsRepository.SWT_KIND), null); //$NON-NLS-1$
// Start of user code for createContentText
// End of user code
return parent;
}
/**
* @param container
*
*/
protected Composite createPropertyAdvancedTableComposition(Composite parent) {
this.property = new ReferencesTable(getDescription(EvidenceViewsRepository.EvidenceRequest.Properties.property, EvidenceMessages.EvidenceRequestPropertiesEditionPart_PropertyLabel), new ReferencesTableListener() {
public void handleAdd() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.property, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
property.refresh();
}
public void handleEdit(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.property, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
property.refresh();
}
public void handleMove(EObject element, int oldIndex, int newIndex) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.property, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
property.refresh();
}
public void handleRemove(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.property, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
property.refresh();
}
public void navigateTo(EObject element) { }
});
for (ViewerFilter filter : this.propertyFilters) {
this.property.addFilter(filter);
}
this.property.setHelpText(propertiesEditionComponent.getHelpContent(EvidenceViewsRepository.EvidenceRequest.Properties.property, EvidenceViewsRepository.SWT_KIND));
this.property.createControls(parent);
this.property.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
if (e.item != null && e.item.getData() instanceof EObject) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.property, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
}
}
});
GridData propertyData = new GridData(GridData.FILL_HORIZONTAL);
propertyData.horizontalSpan = 3;
this.property.setLayoutData(propertyData);
this.property.setLowerBound(0);
this.property.setUpperBound(-1);
property.setID(EvidenceViewsRepository.EvidenceRequest.Properties.property);
property.setEEFType("eef::AdvancedTableComposition"); //$NON-NLS-1$
// Start of user code for createPropertyAdvancedTableComposition
// End of user code
return parent;
}
/**
*
*/
protected Composite createItemAdvancedReferencesTable(Composite parent) {
String label = getDescription(EvidenceViewsRepository.EvidenceRequest.Properties.item, EvidenceMessages.EvidenceRequestPropertiesEditionPart_ItemLabel);
this.item = new ReferencesTable(label, new ReferencesTableListener() {
public void handleAdd() { addItem(); }
public void handleEdit(EObject element) { editItem(element); }
public void handleMove(EObject element, int oldIndex, int newIndex) { moveItem(element, oldIndex, newIndex); }
public void handleRemove(EObject element) { removeFromItem(element); }
public void navigateTo(EObject element) { }
});
this.item.setHelpText(propertiesEditionComponent.getHelpContent(EvidenceViewsRepository.EvidenceRequest.Properties.item, EvidenceViewsRepository.SWT_KIND));
this.item.createControls(parent);
this.item.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
if (e.item != null && e.item.getData() instanceof EObject) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.item, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
}
}
});
GridData itemData = new GridData(GridData.FILL_HORIZONTAL);
itemData.horizontalSpan = 3;
this.item.setLayoutData(itemData);
this.item.disableMove();
item.setID(EvidenceViewsRepository.EvidenceRequest.Properties.item);
item.setEEFType("eef::AdvancedReferencesTable"); //$NON-NLS-1$
return parent;
}
/**
*
*/
protected void addItem() {
TabElementTreeSelectionDialog dialog = new TabElementTreeSelectionDialog(item.getInput(), itemFilters, itemBusinessFilters,
"item", propertiesEditionComponent.getEditingContext().getAdapterFactory(), current.eResource()) {
@Override
public void process(IStructuredSelection selection) {
for (Iterator<?> iter = selection.iterator(); iter.hasNext();) {
EObject elem = (EObject) iter.next();
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.item,
PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
}
item.refresh();
}
};
dialog.open();
}
/**
*
*/
protected void moveItem(EObject element, int oldIndex, int newIndex) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.item, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
item.refresh();
}
/**
*
*/
protected void removeFromItem(EObject element) {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EvidenceRequestPropertiesEditionPartImpl.this, EvidenceViewsRepository.EvidenceRequest.Properties.item, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
item.refresh();
}
/**
*
*/
protected void editItem(EObject element) {
EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
PropertiesEditingProvider provider = (PropertiesEditingProvider)adapterFactory.adapt(element, PropertiesEditingProvider.class);
if (provider != null) {
PropertiesEditingPolicy policy = provider.getPolicy(context);
if (policy != null) {
policy.execute();
item.refresh();
}
}
}
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionListener#firePropertiesChanged(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
*
*/
public void firePropertiesChanged(IPropertiesEditionEvent event) {
// Start of user code for tab synchronization
// End of user code
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#getId()
*
*/
public String getId() {
return id.getText();
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#setId(String newValue)
*
*/
public void setId(String newValue) {
if (newValue != null) {
id.setText(newValue);
} else {
id.setText(""); //$NON-NLS-1$
}
boolean eefElementEditorReadOnlyState = isReadOnly(EvidenceViewsRepository.EvidenceRequest.Properties.id);
if (eefElementEditorReadOnlyState && id.isEnabled()) {
id.setEnabled(false);
id.setToolTipText(EvidenceMessages.EvidenceRequest_ReadOnly);
} else if (!eefElementEditorReadOnlyState && !id.isEnabled()) {
id.setEnabled(true);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#initTiming(EObject current, EReference containingFeature, EReference feature)
*/
public void initTiming(ReferencesTableSettings settings) {
if (current.eResource() != null && current.eResource().getResourceSet() != null)
this.resourceSet = current.eResource().getResourceSet();
ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
timing.setContentProvider(contentProvider);
timing.setInput(settings);
boolean eefElementEditorReadOnlyState = isReadOnly(EvidenceViewsRepository.EvidenceRequest.Properties.timing);
if (eefElementEditorReadOnlyState && timing.isEnabled()) {
timing.setEnabled(false);
timing.setToolTipText(EvidenceMessages.EvidenceRequest_ReadOnly);
} else if (!eefElementEditorReadOnlyState && !timing.isEnabled()) {
timing.setEnabled(true);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#updateTiming()
*
*/
public void updateTiming() {
timing.refresh();
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addFilterTiming(ViewerFilter filter)
*
*/
public void addFilterToTiming(ViewerFilter filter) {
timingFilters.add(filter);
if (this.timing != null) {
this.timing.addFilter(filter);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addBusinessFilterTiming(ViewerFilter filter)
*
*/
public void addBusinessFilterToTiming(ViewerFilter filter) {
timingBusinessFilters.add(filter);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#isContainedInTimingTable(EObject element)
*
*/
public boolean isContainedInTimingTable(EObject element) {
return ((ReferencesTableSettings)timing.getInput()).contains(element);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#initCustody(EObject current, EReference containingFeature, EReference feature)
*/
public void initCustody(ReferencesTableSettings settings) {
if (current.eResource() != null && current.eResource().getResourceSet() != null)
this.resourceSet = current.eResource().getResourceSet();
ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
custody.setContentProvider(contentProvider);
custody.setInput(settings);
boolean eefElementEditorReadOnlyState = isReadOnly(EvidenceViewsRepository.EvidenceRequest.Properties.custody);
if (eefElementEditorReadOnlyState && custody.isEnabled()) {
custody.setEnabled(false);
custody.setToolTipText(EvidenceMessages.EvidenceRequest_ReadOnly);
} else if (!eefElementEditorReadOnlyState && !custody.isEnabled()) {
custody.setEnabled(true);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#updateCustody()
*
*/
public void updateCustody() {
custody.refresh();
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addFilterCustody(ViewerFilter filter)
*
*/
public void addFilterToCustody(ViewerFilter filter) {
custodyFilters.add(filter);
if (this.custody != null) {
this.custody.addFilter(filter);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addBusinessFilterCustody(ViewerFilter filter)
*
*/
public void addBusinessFilterToCustody(ViewerFilter filter) {
custodyBusinessFilters.add(filter);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#isContainedInCustodyTable(EObject element)
*
*/
public boolean isContainedInCustodyTable(EObject element) {
return ((ReferencesTableSettings)custody.getInput()).contains(element);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#initProvenance(EObject current, EReference containingFeature, EReference feature)
*/
public void initProvenance(ReferencesTableSettings settings) {
if (current.eResource() != null && current.eResource().getResourceSet() != null)
this.resourceSet = current.eResource().getResourceSet();
ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
provenance.setContentProvider(contentProvider);
provenance.setInput(settings);
boolean eefElementEditorReadOnlyState = isReadOnly(EvidenceViewsRepository.EvidenceRequest.Properties.provenance);
if (eefElementEditorReadOnlyState && provenance.isEnabled()) {
provenance.setEnabled(false);
provenance.setToolTipText(EvidenceMessages.EvidenceRequest_ReadOnly);
} else if (!eefElementEditorReadOnlyState && !provenance.isEnabled()) {
provenance.setEnabled(true);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#updateProvenance()
*
*/
public void updateProvenance() {
provenance.refresh();
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addFilterProvenance(ViewerFilter filter)
*
*/
public void addFilterToProvenance(ViewerFilter filter) {
provenanceFilters.add(filter);
if (this.provenance != null) {
this.provenance.addFilter(filter);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addBusinessFilterProvenance(ViewerFilter filter)
*
*/
public void addBusinessFilterToProvenance(ViewerFilter filter) {
provenanceBusinessFilters.add(filter);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#isContainedInProvenanceTable(EObject element)
*
*/
public boolean isContainedInProvenanceTable(EObject element) {
return ((ReferencesTableSettings)provenance.getInput()).contains(element);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#initEvent(EObject current, EReference containingFeature, EReference feature)
*/
public void initEvent(ReferencesTableSettings settings) {
if (current.eResource() != null && current.eResource().getResourceSet() != null)
this.resourceSet = current.eResource().getResourceSet();
ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
event.setContentProvider(contentProvider);
event.setInput(settings);
boolean eefElementEditorReadOnlyState = isReadOnly(EvidenceViewsRepository.EvidenceRequest.Properties.event);
if (eefElementEditorReadOnlyState && event.isEnabled()) {
event.setEnabled(false);
event.setToolTipText(EvidenceMessages.EvidenceRequest_ReadOnly);
} else if (!eefElementEditorReadOnlyState && !event.isEnabled()) {
event.setEnabled(true);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#updateEvent()
*
*/
public void updateEvent() {
event.refresh();
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addFilterEvent(ViewerFilter filter)
*
*/
public void addFilterToEvent(ViewerFilter filter) {
eventFilters.add(filter);
if (this.event != null) {
this.event.addFilter(filter);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addBusinessFilterEvent(ViewerFilter filter)
*
*/
public void addBusinessFilterToEvent(ViewerFilter filter) {
eventBusinessFilters.add(filter);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#isContainedInEventTable(EObject element)
*
*/
public boolean isContainedInEventTable(EObject element) {
return ((ReferencesTableSettings)event.getInput()).contains(element);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#getName()
*
*/
public String getName() {
return name.getText();
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#setName(String newValue)
*
*/
public void setName(String newValue) {
if (newValue != null) {
name.setText(newValue);
} else {
name.setText(""); //$NON-NLS-1$
}
boolean eefElementEditorReadOnlyState = isReadOnly(EvidenceViewsRepository.EvidenceRequest.Properties.name);
if (eefElementEditorReadOnlyState && name.isEnabled()) {
name.setEnabled(false);
name.setToolTipText(EvidenceMessages.EvidenceRequest_ReadOnly);
} else if (!eefElementEditorReadOnlyState && !name.isEnabled()) {
name.setEnabled(true);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#getContent()
*
*/
public String getContent() {
return content.getText();
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#setContent(String newValue)
*
*/
public void setContent(String newValue) {
if (newValue != null) {
content.setText(newValue);
} else {
content.setText(""); //$NON-NLS-1$
}
boolean eefElementEditorReadOnlyState = isReadOnly(EvidenceViewsRepository.EvidenceRequest.Properties.content);
if (eefElementEditorReadOnlyState && content.isEnabled()) {
content.setEnabled(false);
content.setToolTipText(EvidenceMessages.EvidenceRequest_ReadOnly);
} else if (!eefElementEditorReadOnlyState && !content.isEnabled()) {
content.setEnabled(true);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#initProperty(EObject current, EReference containingFeature, EReference feature)
*/
public void initProperty(ReferencesTableSettings settings) {
if (current.eResource() != null && current.eResource().getResourceSet() != null)
this.resourceSet = current.eResource().getResourceSet();
ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
property.setContentProvider(contentProvider);
property.setInput(settings);
boolean eefElementEditorReadOnlyState = isReadOnly(EvidenceViewsRepository.EvidenceRequest.Properties.property);
if (eefElementEditorReadOnlyState && property.isEnabled()) {
property.setEnabled(false);
property.setToolTipText(EvidenceMessages.EvidenceRequest_ReadOnly);
} else if (!eefElementEditorReadOnlyState && !property.isEnabled()) {
property.setEnabled(true);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#updateProperty()
*
*/
public void updateProperty() {
property.refresh();
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addFilterProperty(ViewerFilter filter)
*
*/
public void addFilterToProperty(ViewerFilter filter) {
propertyFilters.add(filter);
if (this.property != null) {
this.property.addFilter(filter);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addBusinessFilterProperty(ViewerFilter filter)
*
*/
public void addBusinessFilterToProperty(ViewerFilter filter) {
propertyBusinessFilters.add(filter);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#isContainedInPropertyTable(EObject element)
*
*/
public boolean isContainedInPropertyTable(EObject element) {
return ((ReferencesTableSettings)property.getInput()).contains(element);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#initItem(org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings)
*/
public void initItem(ReferencesTableSettings settings) {
if (current.eResource() != null && current.eResource().getResourceSet() != null)
this.resourceSet = current.eResource().getResourceSet();
ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
item.setContentProvider(contentProvider);
item.setInput(settings);
boolean eefElementEditorReadOnlyState = isReadOnly(EvidenceViewsRepository.EvidenceRequest.Properties.item);
if (eefElementEditorReadOnlyState && item.getTable().isEnabled()) {
item.setEnabled(false);
item.setToolTipText(EvidenceMessages.EvidenceRequest_ReadOnly);
} else if (!eefElementEditorReadOnlyState && !item.getTable().isEnabled()) {
item.setEnabled(true);
}
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#updateItem()
*
*/
public void updateItem() {
item.refresh();
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addFilterItem(ViewerFilter filter)
*
*/
public void addFilterToItem(ViewerFilter filter) {
itemFilters.add(filter);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#addBusinessFilterItem(ViewerFilter filter)
*
*/
public void addBusinessFilterToItem(ViewerFilter filter) {
itemBusinessFilters.add(filter);
}
/**
* {@inheritDoc}
*
* @see net.certware.sacm.SACM.Evidence.parts.EvidenceRequestPropertiesEditionPart#isContainedInItemTable(EObject element)
*
*/
public boolean isContainedInItemTable(EObject element) {
return ((ReferencesTableSettings)item.getInput()).contains(element);
}
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart#getTitle()
*
*/
public String getTitle() {
return EvidenceMessages.EvidenceRequest_Part_Title;
}
// Start of user code additional methods
// End of user code
}
| [
"mrbcuda@mac.com"
] | mrbcuda@mac.com |
4fd3875d0acf647d80d9dd9102c3ea3fb9747ab9 | 362e9c397f700814589b7419df231ca1430a7c60 | /com.axisdesktop.tradeadvisor/src/main/java/com/axisdesktop/tradeadvisor/impl/Json2DbApp.java | f9d8384b847bb8106e66412f5df625c05a88c448 | [] | no_license | fopcoder/com.axisdesktop.tradeadvisor | f4fa0422bfd3110d6057b7654354b351645dbbc7 | 4a97303d4a539332b1169eacc1a2b46ca30e61bd | refs/heads/master | 2021-05-12T01:34:28.402272 | 2018-01-20T00:26:04 | 2018-01-20T00:26:04 | 117,563,096 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,009 | java | package com.axisdesktop.tradeadvisor.impl;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.lang.reflect.Type;
import java.net.URL;
import java.sql.SQLException;
import java.util.List;
import java.util.Properties;
import org.h2.tools.Server;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.Configuration;
import com.axisdesktop.tradeadvisor.entity.PoloniexDataD1;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken;
public class Json2DbApp {
public static void main( String[] args ) throws ClassNotFoundException, SQLException, IOException {
Properties props = new Properties();
URL url = ClassLoader.getSystemResource( "application.properties" );
props.load( url.openStream() );
SessionFactory factory = new Configuration() //
// .setProperty( "hibernate.connection.driver_class", "org.postgresql.Driver" ) //
// .setProperty( "hibernate.dialect", "org.hibernate.dialect.PostgreSQLDialect" ) //
.setProperty( "hibernate.connection.url", props.getProperty( "spring.datasource.url" ) ) //
.setProperty( "hibernate.connection.username", props.getProperty( "spring.datasource.username" ) ) //
.setProperty( "hibernate.connection.password", props.getProperty( "spring.datasource.password" ) ) //
.addAnnotatedClass( PoloniexDataD1.class )//
// .setProperty( "hibernate.default_schema", props.getProperty( "db.schema" ) ) //
.buildSessionFactory();
// Session sess = factory.openSession();
Session sess = factory.openSession();
Transaction tx = null;
try( Reader reader = new InputStreamReader(
ClassLoader.getSystemResourceAsStream( "poloniex_btc_dash_d1.json" ), "UTF-8" ) ) {
Gson gson = new GsonBuilder().create();
Type collectionType = new TypeToken<List<PoloniexDataD1>>() {
}.getType();
List<PoloniexDataD1> enums = gson.fromJson( reader, collectionType );
tx = sess.beginTransaction();
// PoloniexDataD1 d = new PoloniexDataD1();
// d.setDate( 150000000 );
// sess.save( d );
for( PoloniexDataD1 d : enums ) {
// System.out.println( d );
sess.update( d );
}
tx.commit();
}
catch( RuntimeException e ) {
if( tx != null ) tx.rollback();
throw e;
}
finally {
sess.close();
factory.close();
}
Server server = Server.createWebServer( "-web" ).start();
// prop.load( new FileInputStream( "application.propertiess" ) );
// prop.list( System.out );
// props.list( System.out );
// Class.forName( "org.h2.Driver" );
// Connection conn = DriverManager.getConnection( "jdbc:h2:~/tradeadvisor.h2db/tradeadvisor", "admin", "123" );
// // add application code here
// conn.close();
//
// Server server = Server.createWebServer( "-web" ).start();
// Transaction tx = factory
}
}
| [
"barabass@gmail.com"
] | barabass@gmail.com |
7f34e64c15ab1cf479c8b109d1f63add2162ae3a | 2080462ae1f96ecaf9757336d87f301cae07f9c3 | /src/main/java/net/antistar/logger/util/TxLogHelper.java | 955a527c0bde5dd3e56d9346650fcdc0a9042292 | [] | no_license | antistar7/trading | 408cab6dbb903493e83c345dfd43ef3ff1e95dac | ac81a2d1f588303556bdfdcf245e1def7759e0c4 | refs/heads/master | 2021-01-19T05:34:00.799680 | 2017-04-17T09:04:53 | 2017-04-17T09:04:53 | 87,435,620 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,340 | java | package net.antistar.logger.util;
import net.antistar.logger.tx.TxRecord;
import javax.servlet.http.HttpServletRequest;
import java.net.InetAddress;
import java.net.UnknownHostException;
/**
* @author : syfer
* @version 0.1
* @since 12. 7. 5.
*/
public class TxLogHelper {
private static final String AUTHORIZATION_HEADER_NAME = "Authorization";
private static final String REMOTE_ADDRESS_HEADER_NAME = "x-forwarded-for";
public static TxRecord createTxLogRecord(HttpServletRequest request, String apiCategory) {
String localName;//request.getLocalName();
try {
localName = InetAddress.getLocalHost().getHostName();
} catch (UnknownHostException e) {
localName = request.getLocalName();
}
TxRecord record = new TxRecord(apiCategory);
record.setSessionKey(request.getHeader(AUTHORIZATION_HEADER_NAME));
record.setHostName(localName);
record.setRemoteAddress(request.getHeader(REMOTE_ADDRESS_HEADER_NAME));
record.setRequestUri(request.getPathInfo());
record.setRequestMethod(request.getMethod());
/*record.setServiceCategory();
record.setServiceAPI();*/
//record.setFileSize(request.getContentLength());
//record.setFileType(request.getContentType());
return record;
}
}
| [
"antistar@antistar.net"
] | antistar@antistar.net |
79b651106e18e31dca9ea1a44e4c164df76e2ca1 | 67cbc9c5125df76324d78624e2281cb1fefc8a12 | /application/src/main/java/org/mifos/accounts/financial/business/service/activity/LoanDisbursementFinantialActivity.java | d19691f6482b6a1a5bbc43d4877175d5da7807fe | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | mifos/1.5.x | 86e785c062cb14be4597b33d15c38670c176120e | 5734370912c47973de3889db21debb3ff7f0f6db | refs/heads/master | 2023-08-28T09:48:46.266018 | 2010-07-12T04:43:46 | 2010-07-12T04:43:46 | 2,946,757 | 2 | 2 | null | null | null | null | UTF-8 | Java | false | false | 1,638 | java | /*
* Copyright (c) 2005-2010 Grameen Foundation USA
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*
* See also http://www.apache.org/licenses/LICENSE-2.0.html for an
* explanation of the license and how it is applied.
*/
package org.mifos.accounts.financial.business.service.activity;
import java.util.ArrayList;
import java.util.List;
import org.mifos.accounts.business.AccountTrxnEntity;
import org.mifos.accounts.financial.business.service.activity.accountingentry.BaseAccountingEntry;
import org.mifos.accounts.financial.business.service.activity.accountingentry.DisbursementAccountingEntry;
public class LoanDisbursementFinantialActivity extends BaseFinancialActivity {
public LoanDisbursementFinantialActivity(AccountTrxnEntity accountTrxn) {
super(accountTrxn);
}
@Override
protected List<BaseAccountingEntry> getFinancialActionEntry() {
List<BaseAccountingEntry> financialActionEntryList = new ArrayList<BaseAccountingEntry>();
financialActionEntryList.add(new DisbursementAccountingEntry());
return financialActionEntryList;
}
}
| [
"meonkeys@a8845c50-7012-0410-95d3-8e1449b9b1e4"
] | meonkeys@a8845c50-7012-0410-95d3-8e1449b9b1e4 |
1fe19e0a14ffa1c750de4556116439b68edcecff | 15b138146a47713cafb8292db0b7c6cd2f18f3fe | /Common/src/main/java/me/egg82/ssc/core/ServerResult.java | 14d124d10e2fdcf4981df2eedf4f2d30fbdc9f9f | [
"MIT"
] | permissive | egg82/SimpleStaffChat | a9751d7f5223c0be204b1b47601170c891dddbc4 | 814da1bf4cc440fe019bf0a4587e2a91e05b1a57 | refs/heads/master | 2022-07-04T00:43:56.981806 | 2020-05-04T18:48:57 | 2020-05-04T18:48:57 | 227,904,755 | 1 | 0 | MIT | 2022-06-21T02:32:17 | 2019-12-13T19:03:20 | Java | UTF-8 | Java | false | false | 893 | java | package me.egg82.ssc.core;
import java.util.Objects;
import java.util.UUID;
public class ServerResult {
private final long longServerID;
private final UUID serverID;
private final String name;
private final int hc;
public ServerResult(long longServerID, UUID serverID, String name) {
this.longServerID = longServerID;
this.serverID = serverID;
this.name = name;
hc = Objects.hash(longServerID);
}
public long getLongServerID() { return longServerID; }
public UUID getServerID() { return serverID; }
public String getName() { return name; }
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof ServerResult)) return false;
ServerResult that = (ServerResult) o;
return longServerID == that.longServerID;
}
public int hashCode() { return hc; }
}
| [
"eggys82@gmail.com"
] | eggys82@gmail.com |
177e34720240ac68a810a2b60ca804c9752c7fc1 | 90b74d15b680f5845e893bf0c840692ceaf9058a | /0 Dev Training/1 Junior/1 Java Demo/34 PDF文件操作/1 iText/0 Example/1-2 Chapter01-02/7 HelloWorldCopyFields/HelloWorldCopyFields.java | a1559c717a2fc42f81f3671f626d8a47f6c2fd9b | [] | no_license | skynimrod/dt_java | 53d18cf68ee86b5a4baa59556bb5e3e4c89e558a | d90e0f657f3225ace82191cd0f1609c16be4451a | refs/heads/master | 2021-06-29T17:33:16.353541 | 2017-09-14T14:25:27 | 2017-09-14T14:25:27 | 103,541,978 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,628 | java | /* in_action/chapter02/HelloWorldCopyFields.java */
//package in_action.chapter02;
import java.io.FileOutputStream;
import java.io.IOException;
import com.itextpdf.text.Document;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.PageSize;
import com.itextpdf.text.Rectangle;
import com.itextpdf.text.pdf.BaseFont;
import com.itextpdf.text.pdf.GrayColor;
import com.itextpdf.text.pdf.PdfContentByte;
import com.itextpdf.text.pdf.PdfCopyFields;
import com.itextpdf.text.pdf.PdfReader;
import com.itextpdf.text.pdf.PdfWriter;
import com.itextpdf.text.pdf.TextField;
/**
* This example was written by Bruno Lowagie. It is part of the book 'iText in
* Action' by Manning Publications.
* ISBN: 1932394796
* http://www.1t3xt.com/docs/book.php
* http://www.manning.com/lowagie/
*/
public class HelloWorldCopyFields {
/**
* Generates some PDF files with an AcroForm. Combines the different PDFs
* with the different forms and fields into one.
*
* @param args
* no arguments needed here
*/
public static void main(String[] args) {
System.out.println("Chapter 2: example HelloWorldCopyFields");
System.out.println("-> Creates some PDF files with an AcroForm;");
System.out.println(" then combines them into one file.");
System.out.println("-> jars needed: iText.jar");
System.out.println("-> files generated in /results subdirectory:");
System.out.println(" HelloWorldForm1.pdf");
System.out.println(" HelloWorldForm2.pdf");
System.out.println(" HelloWorldForm3.pdf");
System.out.println(" HelloWorldCopyFields.pdf");
// we create a PDF file
createPdf("c:/HelloWorldForm1.pdf", "field1", "value1.1");
createPdf("c:/HelloWorldForm2.pdf", "field1", "value1.2");
createPdf("c:/HelloWorldForm3.pdf", "field2", "value2");
// now we are going to inspect it
try {
PdfCopyFields copy = new PdfCopyFields(new FileOutputStream(
"c:/HelloWorldCopyFields.pdf"));
copy.addDocument(new PdfReader("c:/HelloWorldForm1.pdf"));
copy.addDocument(new PdfReader("c:/HelloWorldForm2.pdf"));
copy.addDocument(new PdfReader("c:/HelloWorldForm3.pdf"));
copy.close();
} catch (IOException e) {
e.printStackTrace();
} catch (DocumentException e) {
e.printStackTrace();
}
}
/**
* Generates a PDF file with an AcroForm.
*
* @param filename
* the filename of the PDF file.
* @param field
* name of a fields that has to be added to the form
* @param value
* value of a fields that has to be added to the form
*/
private static void createPdf(String filename, String field, String value) {
// step 1: creation of a document-object
Document document = new Document(PageSize.A4);
try {
// step 2:
PdfWriter writer = PdfWriter.getInstance(document,
new FileOutputStream(filename));
// step 3: we open the document
document.open();
// step 4:
BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA,
BaseFont.WINANSI, BaseFont.NOT_EMBEDDED);
PdfContentByte cb = writer.getDirectContent();
cb.beginText();
cb.setFontAndSize(bf, 12);
cb.moveText(36f, 788);
cb.showText("Hello");
cb.endText();
TextField tf = new TextField(writer, new Rectangle(67, 785, 340,
800), field);
tf.setFontSize(12);
tf.setFont(bf);
tf.setText(value);
tf.setTextColor(new GrayColor(0.5f));
writer.addAnnotation(tf.getTextField());
} catch (DocumentException de) {
System.err.println(de.getMessage());
} catch (IOException ioe) {
System.err.println(ioe.getMessage());
}
// step 5: we close the document
document.close();
}
} | [
"adamswang_2000@aliyun.com"
] | adamswang_2000@aliyun.com |
a1a567d96f3c288419bb82969cc9727b82efcaa9 | ce61c43229025eed57b89c0aefb9cca568f1534d | /src/main/java/com/lmax/tool/disruptor/handlers/Handlers.java | 55a676c9ad9d778b408165c83570ebef48b1cd0d | [
"Apache-2.0"
] | permissive | LMAX-Exchange/disruptor-proxy | f0eaf679bdd4230bc3a56fddda2780c66a19812b | c40c03953826566b709f234d24d41b0d55820599 | refs/heads/master | 2023-08-19T18:47:54.537024 | 2020-11-20T15:02:49 | 2020-11-20T15:02:49 | 7,572,784 | 86 | 32 | Apache-2.0 | 2020-11-20T15:02:51 | 2013-01-12T07:18:34 | Java | UTF-8 | Java | false | false | 1,241 | java | package com.lmax.tool.disruptor.handlers;
import com.lmax.disruptor.EventHandler;
import com.lmax.tool.disruptor.BatchListener;
import com.lmax.tool.disruptor.BatchSizeListener;
import com.lmax.tool.disruptor.ProxyMethodInvocation;
public class Handlers
{
public static <T> EventHandler<ProxyMethodInvocation> createSingleImplementationHandlerChain(final T implementation)
{
return createHandlers(implementation, true);
}
public static <T> EventHandler<ProxyMethodInvocation> createMultipleImplementationHandlerChain(final T implementation)
{
return createHandlers(implementation, false);
}
private static <T> EventHandler<ProxyMethodInvocation> createHandlers(final T implementation, final boolean reset)
{
EventHandler<ProxyMethodInvocation> handler = new InvokerEventHandler<T>(implementation, reset);
if (implementation instanceof BatchListener)
{
handler = new EndOfBatchEventHandler((BatchListener) implementation, handler);
}
if (implementation instanceof BatchSizeListener)
{
handler = new BatchSizeReportingEventHandler((BatchSizeListener) implementation, handler);
}
return handler;
}
}
| [
"sam.adams@lmax.com"
] | sam.adams@lmax.com |
b6832f27b452361231dbba279d3fdcf1618f710f | 74b47b895b2f739612371f871c7f940502e7165b | /aws-java-sdk-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/transform/UntagResourceResultJsonUnmarshaller.java | d7f14f993fb3c9061bf7035540c0ba00105713c5 | [
"Apache-2.0"
] | permissive | baganda07/aws-sdk-java | fe1958ed679cd95b4c48f971393bf03eb5512799 | f19bdb30177106b5d6394223a40a382b87adf742 | refs/heads/master | 2022-11-09T21:55:43.857201 | 2022-10-24T21:08:19 | 2022-10-24T21:08:19 | 221,028,223 | 0 | 0 | Apache-2.0 | 2019-11-11T16:57:12 | 2019-11-11T16:57:11 | null | UTF-8 | Java | false | false | 1,623 | java | /*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.kinesisanalyticsv2.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.kinesisanalyticsv2.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import static com.fasterxml.jackson.core.JsonToken.*;
/**
* UntagResourceResult JSON Unmarshaller
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class UntagResourceResultJsonUnmarshaller implements Unmarshaller<UntagResourceResult, JsonUnmarshallerContext> {
public UntagResourceResult unmarshall(JsonUnmarshallerContext context) throws Exception {
UntagResourceResult untagResourceResult = new UntagResourceResult();
return untagResourceResult;
}
private static UntagResourceResultJsonUnmarshaller instance;
public static UntagResourceResultJsonUnmarshaller getInstance() {
if (instance == null)
instance = new UntagResourceResultJsonUnmarshaller();
return instance;
}
}
| [
""
] | |
14c98064d8a21f35b71d22937c13921f261eb1e3 | e10db00bef61c1d2daca0e8876ec2a971dfdd105 | /src/test/java/com/arcapi/Buildingtestcases/S3DocumentUploadPOSTAPITest.java | 8f77f8655d69464766cb4ed478aa8827927d97fe | [] | no_license | saurav1501/TestArcAPI | 0d730e57a84cb59df289256ce61dd1b8f9b70e92 | dd5a36c16082d21ddacdc9dd4fbe7fe42071ac7e | refs/heads/master | 2023-04-27T19:29:34.995560 | 2020-03-05T09:47:44 | 2020-03-05T09:47:44 | 201,176,801 | 0 | 0 | null | 2022-06-29T17:33:45 | 2019-08-08T04:15:44 | HTML | UTF-8 | Java | false | false | 1,270 | java | package com.arcapi.Buildingtestcases;
import static com.jayway.restassured.RestAssured.given;
import java.io.IOException;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import com.Utill.Controller.Assertion;
import com.arc.driver.BaseClass;
import com.arc.driver.CommonMethod;
public class S3DocumentUploadPOSTAPITest extends BaseClass {
@Test(groups="CheckUpload")
@Parameters({ "SheetName", "ProjectTypeColumn", "rownumber" })
public void S3DocumentUploadPOSTAPI(String SheetName, String ProjectTypeColumn, int rownumber) throws IOException {
String[] arr = {"PF901","PF902","additional_file","PF903","PF904","PF905"};
url="/assets/LEED:" + data.getCellData(SheetName, ProjectTypeColumn, rownumber) + "/uploadS3/";
for(String value : arr) {
CommonMethod.res= given().log().all().multiPart("action_file", CommonMethod.formuploadfile)
.multiPart("upload_category", value).header("Ocp-Apim-Subscription-Key", CommonMethod.SubscriptionKey)
.header("Authorization", header).spec(reqSpec).when()
.post("/assets/LEED:" + data.getCellData(SheetName, ProjectTypeColumn, rownumber) + "/uploadS3/").then()
.extract().response();
Assertion.verifyStatusCode(CommonMethod.res, 200);
}
}
} | [
"saurav.amca@gmail.com"
] | saurav.amca@gmail.com |
09308a2ac4e1831b9b397e37670dc5837401e318 | 3fc7c3d4a697c418bad541b2ca0559b9fec03db7 | /Decompile/javasource/rx/internal/util/unsafe/MpmcArrayQueueConsumerField.java | a4dc6aa4da2f2c51b223d6b39f7fe5949e5a5d55 | [] | no_license | songxingzai/APKAnalyserModules | 59a6014350341c186b7788366de076b14b8f5a7d | 47cf6538bc563e311de3acd3ea0deed8cdede87b | refs/heads/master | 2021-12-15T02:43:05.265839 | 2017-07-19T14:44:59 | 2017-07-19T14:44:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 888 | java | package rx.internal.util.unsafe;
import sun.misc.Unsafe;
abstract class MpmcArrayQueueConsumerField<E>
extends MpmcArrayQueueL2Pad<E>
{
private static final long C_INDEX_OFFSET;
private volatile long consumerIndex;
static
{
try
{
C_INDEX_OFFSET = UnsafeAccess.UNSAFE.objectFieldOffset(MpmcArrayQueueConsumerField.class.getDeclaredField("consumerIndex"));
return;
}
catch (NoSuchFieldException localNoSuchFieldException)
{
throw new RuntimeException(localNoSuchFieldException);
}
}
public MpmcArrayQueueConsumerField(int paramInt)
{
super(paramInt);
}
protected final boolean casConsumerIndex(long paramLong1, long paramLong2)
{
return UnsafeAccess.UNSAFE.compareAndSwapLong(this, C_INDEX_OFFSET, paramLong1, paramLong2);
}
protected final long lvConsumerIndex()
{
return consumerIndex;
}
}
| [
"leehdsniper@gmail.com"
] | leehdsniper@gmail.com |
e78cee917ede5399f7756b1e780efc4ce1475e71 | 52478ab49ba97ba9a479d489cfa25b2c7e90aa8a | /pet-clinic-web/src/test/java/guru/springframework/sfgpetclinic/controllers/PetControllerTest.java | 5d1d402654fbe810c56fcc2f253f925c85b7d6ba | [] | no_license | alexguners/sfg-pet-clinic | 39b9863faa838e00d8185d42ebd225731a362886 | f8e59ee77ce2f01201eb6627233a858d3fcfa071 | refs/heads/master | 2020-06-16T12:10:48.889736 | 2019-08-27T00:54:09 | 2019-08-27T00:54:09 | 195,567,618 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,986 | java | package guru.springframework.sfgpetclinic.controllers;
import guru.springframework.sfgpetclinic.model.Owner;
import guru.springframework.sfgpetclinic.model.Pet;
import guru.springframework.sfgpetclinic.model.PetType;
import guru.springframework.sfgpetclinic.services.OwnerService;
import guru.springframework.sfgpetclinic.services.PetService;
import guru.springframework.sfgpetclinic.services.PetTypeService;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import java.util.HashSet;
import java.util.Set;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
@ExtendWith(MockitoExtension.class)
class PetControllerTest {
@Mock
PetService petService;
@Mock
OwnerService ownerService;
@Mock
PetTypeService petTypeService;
@InjectMocks
PetController petController;
MockMvc mockMvc;
Owner owner;
Set<PetType> petTypes;
@BeforeEach
void setUp() {
owner = Owner.builder().id(1L).build();
petTypes = new HashSet<>();
petTypes.add(PetType.builder().id(1L).name("Dog").build());
petTypes.add(PetType.builder().id(2L).name("Cat").build());
mockMvc = MockMvcBuilders
.standaloneSetup(petController)
.build();
}
@Test
void initCreationForm() throws Exception {
when(ownerService.findById(anyLong())).thenReturn(owner);
when(petTypeService.findAll()).thenReturn(petTypes);
mockMvc.perform(get("/owners/1/pets/new"))
.andExpect(status().isOk())
.andExpect(model().attributeExists("owner"))
.andExpect(model().attributeExists("pet"))
.andExpect(view().name("pets/createOrUpdatePetForm"));
}
@Test
void processCreationForm() throws Exception {
when(ownerService.findById(anyLong())).thenReturn(owner);
when(petTypeService.findAll()).thenReturn(petTypes);
mockMvc.perform(post("/owners/1/pets/new"))
.andExpect(status().is3xxRedirection())
.andExpect(view().name("redirect:/owners/1"));
verify(petService).save(any());
}
@Test
void initUpdateForm() throws Exception {
when(ownerService.findById(anyLong())).thenReturn(owner);
when(petTypeService.findAll()).thenReturn(petTypes);
when(petService.findById(anyLong())).thenReturn(Pet.builder().id(2L).build());
mockMvc.perform(get("/owners/1/pets/2/edit"))
.andExpect(status().isOk())
.andExpect(model().attributeExists("owner"))
.andExpect(model().attributeExists("pet"))
.andExpect(view().name("pets/createOrUpdatePetForm"));
}
@Test
void processUpdateForm() throws Exception {
when(ownerService.findById(anyLong())).thenReturn(owner);
when(petTypeService.findAll()).thenReturn(petTypes);
mockMvc.perform(post("/owners/1/pets/2/edit"))
.andExpect(status().is3xxRedirection())
.andExpect(view().name("redirect:/owners/1"));
verify(petService).save(any());
}
@Test
void populatePetTypes() {
//todo impl
}
@Test
void findOwner() {
//todo impl
}
@Test
void initOwnerBinder() {
//todo impl
}
} | [
"alexpkodi@gmail.com"
] | alexpkodi@gmail.com |
c478f844b9e43479cd56be4eeafad0b201eaff6a | 344c8a3f107fe36a8266d15e5e14f1fc81cb3029 | /app/src/main/java/bitw/techexpo/MyEvent.java | 13a9fab98b5f11c2bebcbeb74833bda40735ccb5 | [] | no_license | Umanggpt3/Student-Campanion | e5e13aa280a8f4924d24660de706161349e5c9f9 | c9d87d264a97ff85a105b8e15eea59dee14354dd | refs/heads/master | 2020-08-11T02:25:28.419529 | 2019-10-11T21:06:15 | 2019-10-11T21:06:15 | 214,471,256 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,213 | java | package bitw.techexpo;
import android.os.Parcel;
import android.os.Parcelable;
import com.applandeo.materialcalendarview.EventDay;
import java.util.Calendar;
class MyEventDay extends EventDay implements Parcelable {
private String mNote;
MyEventDay(Calendar day, int imageResource, String note) {
super(day, imageResource);
mNote = note;
}
String getNote() {
return mNote;
}
private MyEventDay(Parcel in) {
super((Calendar) in.readSerializable(), in.readInt());
mNote = in.readString();
}
public static final Creator<MyEventDay> CREATOR = new Creator<MyEventDay>() {
@Override
public MyEventDay createFromParcel(Parcel in) {
return new MyEventDay(in);
}
@Override
public MyEventDay[] newArray(int size) {
return new MyEventDay[size];
}
};
@Override
public void writeToParcel(Parcel parcel, int i) {
parcel.writeSerializable(getCalendar());
parcel.writeInt(getImageResource());
parcel.writeString(mNote);
}
@Override
public int describeContents() {
return 0;
}
}
| [
"umanggpt3@gmail.com"
] | umanggpt3@gmail.com |
1b3385e8339a8998608241947418ecf07e243470 | a2ede2cb89b9455f532a1b9a829cbbcb43124d2e | /store-parent/store-common/src/main/java/com/remon/store/common/enums/LogicalOperatorsEnum.java | 3d5fa29fb2e2350431ca5fec78d73d43085fd13c | [] | no_license | remongaberazmy/Store-backend | aaaffcfcd3bf9481c625aa835fc5d33ad93c92b9 | 0b9a636b795c4cdf51f45c229515f709f4c4faf4 | refs/heads/master | 2020-05-24T20:31:06.425460 | 2019-05-19T09:30:22 | 2019-05-19T09:30:22 | 187,456,969 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 284 | java | package com.remon.store.common.enums;
public enum LogicalOperatorsEnum implements StringEnum{
AND("AND"),
OR("OR");
private String value;
private LogicalOperatorsEnum(String value) {
this.value = value;
}
@Override
public String getValue() {
return this.value;
}
}
| [
"remon.g.azmy@gmail.com"
] | remon.g.azmy@gmail.com |
3e2b8a845615da78c772a7a7818b435e2024b5c5 | e486128983b8d60c3921e94fdc250c6330e5a1dc | /java_project/NAJAVA/src/member/MemberManager.java | 27993fcdf287794b47b52cedb7ef2dd08b0e7b4a | [] | no_license | Ellie-Jung/java205 | ee15740ca6b0335fe712d748f920bb7c992533e8 | 2fb163f71fa09db2c4e453c9967d594469301d28 | refs/heads/main | 2023-08-18T20:17:56.109671 | 2021-10-06T09:41:00 | 2021-10-06T09:41:00 | 370,221,944 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 6,161 | java | package member;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Scanner;
import admin.DBconn;
import orders.OrderDao;
import orders.OrderManager;
import product.ProductDao;
import run.StartMenu;
public class MemberManager {
public static int idx;
private static Connection conn = DBconn.getConnection();
private MemberDao dao;
ArrayList<Member> mList;
Member member;
OrderManager oManager;
MemberMenu mMenu;
Scanner sc = new Scanner(System.in);
public MemberManager(MemberDao mem) {
this.dao = mem;
this.mList = new ArrayList<Member>();
this.member = new Member();
this.oManager = new OrderManager(OrderDao.getInstance(), ProductDao.getInstance());
mMenu = new MemberMenu();
}
// 회원가입
public void memberInsert() {
try {
mList = dao.getMemberList(conn);
while(true) {
String id = getStrInput("ID : ");
if(idCheck(id)) {
System.out.println("※ 중복된 id입니다.\n");
continue;
}
String pw = getStrInput("PW : ");
String pw2 = getStrInput("PW CONFIRM : ");
if(!(pw.equals(pw2))) {
System.out.println("※ 비밀번호를 잘못입력하셨습니다. 다시입력하세요.\n");
continue;
}
String name = getStrInput("NAEM : ");
String phone = getStrInput("PHONE : ");
String email = getStrInput("EMAIL : ");
if (pw.equals(pw2)) {
Member mem = new Member(id, pw, name, phone, email);
dao.insertMember(conn, mem);
System.out.println(id + "님 가입을 축하드립니다.\n");
break;
} else {
System.out.println("※ 비밀번호를 확인해주세요.\n");
}
}
} catch (Exception e) {
System.out.println("※ 잘못입력하셨습니다. ");
}
}
// 로그인 구현 기능
public void Login() {
try {
String id = getStrInput("id : ");
String password = getStrInput("pw : ");
mList = dao.getMemberList(conn);
Member member = FindByID(id);
if(member == null) {
System.out.println("※ 등록되지 않은 ID입니다.");
} else if(member.getPassword().equals(password)) {
System.out.println("☞ [" + member.getId() + "]님께서 로그인 하셨습니다.\n");
idx = member.getIdx();
mMenu.memberMenu();
} else {
System.out.println("※ 비밀번호가 틀렸습니다.");
}
} catch (Exception e) {
System.out.println("※ 잘못입력하셨습니다. ");
}
}
// 로그인한 회원의 회원정보 수정
void memberUpdate() {
try {
while(true) {
System.out.println(" ▶ ▶ 회원정보를 수정합니다.\n");
String pw = getStrInput("수정하실 패스워드 : ");
String name = getStrInput("수정하실 이름 : ");
String phone = getStrInput("수정하실 핸드폰번호 : ");
String email = getStrInput("수정하실 메일 : ");
System.out.println(" ▶ ▶ 입력한 사항이 모두 맞습니까? 예(1) 아니오(2)\n");
int input = Integer.parseInt(sc.nextLine());
System.out.println();
if(input == 1) {
System.out.println("☞ 수정이 완료되었습니다.\n");
Member member = new Member(idx, pw, name, phone, email);
int result = dao.updateMember(conn, member);
break;
} else if(input == 2) {
System.out.println("※ 메인으로 이동\n");
break;
} else {
System.out.println("※ 잘못 누르셨습니다. 초기 메뉴로 이동합니다.\n");
break;
}
}
} catch (Exception e) {
System.out.println("※ 잘못입력하셨습니다. ");
}
}
//로그인 회원 정보리스트
void MemberList() {
try {
mList = dao.getMemberList(conn);
System.out.println("----------------------- 나의 정보 보기 ------------------------");
System.out.println("------------------------------------------------------------");
for (int i = 0; i < mList.size(); i++) {
if(idx==mList.get(i).getIdx()) {
System.out.println("나의 ID : " + mList.get(i).getId());
System.out.println("나의 PW : " + mList.get(i).getPassword());
System.out.println("나의 이름 : " + mList.get(i).getName());
System.out.println("나의 핸드폰 : " + mList.get(i).getPhonenum());
System.out.println("나의 이메일 : " + mList.get(i).getEmail());
System.out.println("------------------------------------------------------------\n");
}
}
} catch (Exception e) {
System.out.println("※ 잘못입력하셨습니다. ");
}
}
// 회원아이디/비번찾기
public void MemberFind() {
try {
mList = dao.getMemberList(conn);
String name = getStrInput("회원 이름 : ");
String email = getStrInput("회원 이메일 : ");
int cnt = 0;
for (int i = 0; i < mList.size(); i++) {
if(name.equals(mList.get(i).getName()) && email.equals(mList.get(i).getEmail())) {
cnt++;
System.out.println("------------------------------------------------------------");
System.out.println("☞ [" + name + "]님의 ID : " + mList.get(i).getId());
System.out.println("☞ [" + name + "]님의 PW : " + mList.get(i).getPassword());
System.out.println("------------------------------------------------------------");
break;
}
} if(cnt == 0) {
System.out.println("회원정보가 틀렸습니다.");
}
} catch (Exception e) {
System.out.println("※ 잘못입력하셨습니다. ");
}
}
// 가입할때 아이디 중복 체크
private boolean idCheck(String id) {
boolean check = true;
Member member = FindByID(id);
if(member == null) {
check = false;
return check;
}
return check;
}
// 해당 아이디를 전체회원리스트에서 비교,확인 하는 메소드
private Member FindByID(String id) {
for(Member memberDTO : mList) {
if(memberDTO.getId().equals(id)) {
return memberDTO;
}
}
return null;
}
// 입력값 메소드
private String getStrInput(String msg) {
System.out.println(msg);
return sc.nextLine();
}
// 입력값 메소드
private int getNumInput(String msg) {
System.out.println(msg);
return sc.nextInt();
}
}
| [
"jssoyeon@gmail.com"
] | jssoyeon@gmail.com |
995cb8c488b51d8083f8f515a2d9a993f83dc59c | 46bccefef33935d101e77841dbde44410a3c3abe | /src/com/wpx/observer/ConcreteObserver.java | c69597d1b18234f29ef29c7f7d7c7ee6ea592bf9 | [] | no_license | wupeixuan/DesignPattern | 56908be756f264b28c99ab350fa9f1435d167d2c | 7385f760e25b3cf5d0f30cd38caec4646fa49951 | refs/heads/master | 2021-04-15T13:56:17.069186 | 2018-03-25T13:32:40 | 2018-03-25T13:32:40 | 126,417,527 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 447 | java | package com.wpx.observer;
/**
* 具体的观察者
*/
public class ConcreteObserver implements Observer {
private String name;
private String message;
public ConcreteObserver(String name) {
this.name = name;
}
@Override
public void update(String message) {
this.message = message;
read();
}
public void read() {
System.out.println(name + " 收到消息:" + message);
}
}
| [
"18603203910@163.com"
] | 18603203910@163.com |
d0b96c1bc26cd6d6b28b0c7123db5ec48f0529c1 | b605a0aef8f4fb15de7ee825cb95b7510423a12a | /app/src/main/java/com/forumias/beta/ui/deta/forumias/user/user_paging/UserViewModel.java | 4991eaaeae7c89f970a59b98f6200eb6fb214bf8 | [] | no_license | mkpstaller/ForumIAS-Community-App | 2a208281a68721faa65926b3210364d2bc0e0b92 | 15ccc5757ec035e2af7039c327cb67cb18754d49 | refs/heads/master | 2023-07-11T18:36:38.684535 | 2021-08-18T07:51:19 | 2021-08-18T07:51:19 | 397,514,684 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,546 | java | package com.forumias.beta.ui.deta.forumias.user.user_paging;
import android.widget.ProgressBar;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import androidx.paging.LivePagedListBuilder;
import androidx.paging.PageKeyedDataSource;
import androidx.paging.PagedList;
public class UserViewModel extends ViewModel {
private LiveData<PagedList<UserModel.UserListing>> itemList;
private MutableLiveData<PageKeyedDataSource<Integer, UserModel.UserListing>> liveDataSource;
public LiveData<PagedList<UserModel.UserListing>> itemPagedList(int loginUserId, ProgressBar progressBar , String userTag){
if (itemList == null) {
itemList = new MutableLiveData<>();
//we will load it asynchronously from server in this method
loadSearchNews(loginUserId , progressBar , userTag);
}
return itemList;
}
private void loadSearchNews(int loginUserId, ProgressBar progressBar , String userTag) {
UserDataSourceFactory dataSourceFactory = new UserDataSourceFactory(loginUserId , progressBar , userTag);
liveDataSource = dataSourceFactory.getItemLiveDataSource();
PagedList.Config config =
(new PagedList.Config.Builder())
.setEnablePlaceholders(false)
.setPageSize(UserItemDataSource.PAGE_SIZE)
.build();
itemList = (new LivePagedListBuilder(dataSourceFactory, config)).build();
}
}
| [
"musaphir@stellardigital.in"
] | musaphir@stellardigital.in |
72530513d2e16621fa7862e40dd83ccba97b4d49 | 40f6f7b49decf37c9062f0646abd2e752d7edb8a | /app/src/main/java/kk/techbytecare/studenthelper/HomeActivity.java | e29704f56306f509da1cf5d51d01abd0600f85a8 | [] | no_license | UncagedMist/StudentHelper | 3bc3560a3ef3ef5f3fff9a55645fd0c2dfa6b5cb | b1ba39a9fbf491de8a9214cbde615b419a18b0b1 | refs/heads/master | 2020-05-15T23:18:25.130075 | 2019-04-21T15:16:25 | 2019-04-21T15:16:25 | 182,549,248 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 342 | java | package kk.techbytecare.studenthelper;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class HomeActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_home);
}
}
| [
"Kundan_kk52@outlook.com"
] | Kundan_kk52@outlook.com |
18057c15c6dc2eb7ee86923e84a42f0063a93aa7 | 05ba8cb2bac726d44e41eb61531bcd95cd3bc115 | /MyTravelingDiary/XingKa/app/src/main/java/com/ruihai/xingka/ui/talking/MessageInfoActivity.java | 84b32a34fb12b71f445f8591c3fbbb3c74a8e68b | [
"Apache-2.0"
] | permissive | LegendKe/MyTravelingDiary | 78d75a6c60f1cc548660af63dbfc109becd24866 | 0bcb2a558fc5eacdae35573b43b03fbb2d46b341 | refs/heads/master | 2021-01-11T09:17:18.563418 | 2016-12-22T02:01:54 | 2016-12-22T02:01:54 | 77,099,508 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,563 | java | package com.ruihai.xingka.ui.talking;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.facebook.drawee.view.SimpleDraweeView;
import com.ruihai.iconicfontengine.widget.IconicFontTextView;
import com.ruihai.xingka.R;
import com.ruihai.xingka.ui.BaseActivity;
import com.ruihai.xingka.widget.AppNoScrollerListView;
import butterknife.BindView;
import butterknife.ButterKnife;
/**
* 聊天信息
* Created by lqfang on 16/8/9.
*/
public class MessageInfoActivity extends BaseActivity{
public static void launch(Context context) {
Intent intent = new Intent(context, MessageInfoActivity.class);
// intent.putExtra("userAccount", userAccount);
context.startActivity(intent);
}
@BindView(R.id.tv_title)
TextView mTitle;
@BindView(R.id.tv_right)
IconicFontTextView mRight;
@BindView(R.id.sdv_avatar)
SimpleDraweeView mAvatar;
@BindView(R.id.appns_list1)
AppNoScrollerListView appns_list1;
@BindView(R.id.appns_list2)
AppNoScrollerListView appns_list2;
@BindView(R.id.appns_list3)
AppNoScrollerListView appns_list3;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_message_info);
ButterKnife.bind(this);
initViews();
}
private void initViews() {
mTitle.setText("聊天信息");
mRight.setVisibility(View.INVISIBLE);
}
}
| [
"1119588404@qq.com"
] | 1119588404@qq.com |
98f29d0901c204322cb17726323e2a4319e7c20f | e3162d976b3a665717b9a75c503281e501ec1b1a | /src/main/java/com/alipay/api/domain/BenefitGradeConfig.java | d20ee2263d8289570a51e2f3f6f28eae0080844e | [
"Apache-2.0"
] | permissive | sunandy3/alipay-sdk-java-all | 16b14f3729864d74846585796a28d858c40decf8 | 30e6af80cffc0d2392133457925dc5e9ee44cbac | refs/heads/master | 2020-07-30T14:07:34.040692 | 2019-09-20T09:35:20 | 2019-09-20T09:35:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,006 | java | package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 权益的等级配置信息
*
* @author auto create
* @since 1.0, 2017-06-15 15:43:39
*/
public class BenefitGradeConfig extends AlipayObject {
private static final long serialVersionUID = 4741846777965398262L;
/**
* 权益背景图片地址,若没有,可以先mock一个地址进行填写
*/
@ApiField("background_url")
private String backgroundUrl;
/**
* 该等级下权益的介绍
*/
@ApiField("detail")
private String detail;
/**
* 用户等级,差异化时可填primary、golden、platinum、diamond,非差异化时可填common
*/
@ApiField("grade")
private String grade;
/**
* 权益关联的活动页面
*/
@ApiField("page_url")
private String pageUrl;
/**
* 当前等级兑换权益所需要消耗的积分
*/
@ApiField("point")
private Long point;
/**
* 该等级兑换权益时,消耗的积分需要乘以配置的这个折扣,进行优惠
*/
@ApiField("point_discount")
private String pointDiscount;
public String getBackgroundUrl() {
return this.backgroundUrl;
}
public void setBackgroundUrl(String backgroundUrl) {
this.backgroundUrl = backgroundUrl;
}
public String getDetail() {
return this.detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public String getGrade() {
return this.grade;
}
public void setGrade(String grade) {
this.grade = grade;
}
public String getPageUrl() {
return this.pageUrl;
}
public void setPageUrl(String pageUrl) {
this.pageUrl = pageUrl;
}
public Long getPoint() {
return this.point;
}
public void setPoint(Long point) {
this.point = point;
}
public String getPointDiscount() {
return this.pointDiscount;
}
public void setPointDiscount(String pointDiscount) {
this.pointDiscount = pointDiscount;
}
}
| [
"ben.zy@antfin.com"
] | ben.zy@antfin.com |
d35f4e5fdeaa1d5852548ea63199c80f216971db | 24b4c42aa9b62044de43cec7e61fb85210e7d35c | /app/src/main/java/com/ljaymori/cooxing/tutorial/ParallaxPagerTransformer.java | 6e08e879f615686d40b57664bd09d33154fdc955 | [] | no_license | LJAYMORI/Cooxing | 76d86914df05a977606ceb68994372378d6da4e1 | cfb0e10e0665249908c2e0a3fe97e16741bcdea4 | refs/heads/master | 2021-01-10T16:50:08.890222 | 2015-09-30T12:00:56 | 2015-09-30T12:00:56 | 43,429,121 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 917 | java | package com.ljaymori.cooxing.tutorial;
import android.support.v4.view.ViewPager;
import android.view.View;
import com.ljaymori.cooxing.R;
public class ParallaxPagerTransformer implements ViewPager.PageTransformer {
private int backgroundID = R.id.image_background_tutorial;
// private int textID;
@Override
public void transformPage(View view, float position) {
View parallaxImageView = view.findViewById(backgroundID);
// View parallaxTextView = view.findViewById(textID);
int width = parallaxImageView.getWidth();
parallaxImageView.setTranslationX(-position * (width / 2));
// parallaxTextView.setTranslationX(position * (width / 2));
// parallaxTextView.setRotation(position * 180);
// parallaxTextView.setScaleX(1 + position);
// parallaxTextView.setScaleY(1 + position);
// parallaxTextView.setAlpha(1 + position);
}
} | [
"ljay.mori@gmail.com"
] | ljay.mori@gmail.com |
963032cb5ad8390262c1880d4a92f342dd839ad5 | c4b78d2a3b5da5895182b8f6cafdf3b49a99b573 | /src/main/java/pl/qbawalat/zpsbwebshopapi/api/rest/user/role/Role.java | 5420ee0d06d633d941ca28e0568a7e09fb5dcb62 | [] | no_license | qbawalat/zpsb-webshop-api | c828a5200dab31e5b5b02008e467707441daa93c | 329efa81ee058bfffa594a0d8eab154987a053f6 | refs/heads/master | 2022-11-08T14:17:07.905728 | 2020-05-22T13:15:44 | 2020-05-22T13:15:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 454 | java | package pl.qbawalat.zpsbwebshopapi.api.rest.user.role;
import lombok.Data;
import pl.qbawalat.zpsbwebshopapi.constants.Roles;
import javax.persistence.*;
@Entity
@Data
public class Role {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@Enumerated(EnumType.STRING)
@Column(length = 20)
private Roles name;
public Role(Roles role) {
this.name = role;
}
public Role() {
}
} | [
"kubawalat@gmail.com"
] | kubawalat@gmail.com |
43deb37626032e4c1d67b021f7d2e90904b92c4d | 25befc9d34c872869b31ec877c4ac3e274dd65c1 | /Algorithms/CCI/StackQueue/QueueViaStacks_4.java | b0ebfe51f509b9d7d70f937b2d29258215505594 | [] | no_license | HongquanYu/Algorithms | f4cee90c3151ff1f1ac15ebf02ca3467e26d3aec | c79c5a189b13e798d1749694be145b0ec124cde8 | refs/heads/master | 2021-09-11T20:40:48.679769 | 2018-04-12T03:20:48 | 2018-04-12T03:20:48 | 104,603,005 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 992 | java | package StackQueue;
import java.util.Stack;
/** @author: Hongquan Yu
* @date: Feb 1, 2018
*
* @From: University of Maryland, College Park
* @Email: hyu12346@terpmail.umd.edu
*/
public class QueueViaStacks_4<T> {
Stack<T> stackNewest, stackOldest;
public QueueViaStacks_4() {
stackNewest = new Stack<T>();
stackOldest = new Stack<T>();
}
public int size() {
return stackNewest.size() + stackOldest.size();
}
public void add(T value) {
// Push onto stack1
stackNewest.push(value);
}
/* Move elements from stackNewest into stackOldest.
* This is usually done so that we can do operations on stackOldest. */
private void shiftStacks() {
if (stackOldest.isEmpty()) {
while (!stackNewest.isEmpty()) {
stackOldest.push(stackNewest.pop());
}
}
}
public T peek() {
shiftStacks();
return stackOldest.peek(); // retrieve the oldest item.
}
public T remove() {
shiftStacks();
return stackOldest.pop(); // pop the oldest item.
}
}
| [
"hyu12346@terpmail.umd.edu"
] | hyu12346@terpmail.umd.edu |
58da363e64477697652f52f6f9464c102097491e | 96f8d42c474f8dd42ecc6811b6e555363f168d3e | /zuiyou/sources/cn/xiaochuankeji/tieba/ui/mediabrowse/NetworkConnectivityReceiver.java | 289201a497241472d9f5fd135729268ca112d776 | [] | no_license | aheadlcx/analyzeApk | 050b261595cecc85790558a02d79739a789ae3a3 | 25cecc394dde4ed7d4971baf0e9504dcb7fabaca | refs/heads/master | 2020-03-10T10:24:49.773318 | 2018-04-13T09:44:45 | 2018-04-13T09:44:45 | 129,332,351 | 6 | 2 | null | null | null | null | UTF-8 | Java | false | false | 1,320 | java | package cn.xiaochuankeji.tieba.ui.mediabrowse;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
public class NetworkConnectivityReceiver extends BroadcastReceiver {
private a a;
public interface a {
void a(boolean z, int i);
}
public void a(a aVar) {
this.a = aVar;
}
public void a(Context context) {
context.registerReceiver(this, new IntentFilter("android.net.conn.CONNECTIVITY_CHANGE"));
}
public void b(Context context) {
context.unregisterReceiver(this);
}
public void onReceive(Context context, Intent intent) {
if (intent.getAction().equals("android.net.conn.CONNECTIVITY_CHANGE")) {
NetworkInfo activeNetworkInfo = ((ConnectivityManager) context.getSystemService("connectivity")).getActiveNetworkInfo();
if (activeNetworkInfo != null && activeNetworkInfo.isAvailable()) {
int type = activeNetworkInfo.getType();
if (this.a != null) {
this.a.a(true, type);
}
} else if (this.a != null) {
this.a.a(false, -1);
}
}
}
}
| [
"aheadlcxzhang@gmail.com"
] | aheadlcxzhang@gmail.com |
0a26d807590e3a33058ea10963d3b9b9b21c840b | edd45a1e9fe290b5b1fa1e3efef2e4763bc18810 | /mediaservice/src/main/java/com/bsoft/mediaservice/repository/GenreRepository.java | c7c62414f11ec373582d043087c43b23a8efed15 | [
"Apache-2.0"
] | permissive | satinder-singh-bamrah/Spring-Services | db73a383500bbb22f97d25f03f5b4ab7e7735ab4 | 7d5d7501bb1e65ae9312fc5aa74d0330072601e7 | refs/heads/master | 2023-06-05T13:35:56.919200 | 2021-06-30T14:43:14 | 2021-06-30T14:43:14 | 381,420,182 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 411 | java | package com.bsoft.mediaservice.repository;
import com.bsoft.mediaservice.modal.Genre;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.mongodb.repository.Query;
import java.util.List;
import java.util.Optional;
public interface GenreRepository extends MongoRepository <Genre, Integer> {
@Query("{id: ?0}")
List<Genre> getGenreById(Integer isbn);
}
| [
"satinder.singh@soprasteria.com"
] | satinder.singh@soprasteria.com |
df7b8d83c197e007adaae142084bcfcb07a921dd | aa1a8961ceb9c5a366b2efa776d029a4631a0b64 | /src/com/huidian/day5/demo02/Zi.java | 53571e33f0b4ab78a3d33c5aa4a7abd7a7644d0c | [] | no_license | lingweiov/java1 | 7e62305808be7a5ae0b6700217b30a4f9508feb8 | 5800955cd297215e5e17055c440b919df9be6a3f | refs/heads/master | 2020-09-13T18:38:59.453987 | 2019-12-09T13:15:36 | 2019-12-09T13:15:37 | 222,870,718 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 411 | java | package com.huidian.day5.demo02;/*
@outhor shkstart
@date 2019/11/25-9:15
*/
public class Zi extends Fu {
int num=20;
@Override
public void showNum() {
//super.showNum();
System.out.println(num);
}
@Override
public void method() {
System.out.println("子类方法");
}
public void methodZi() {
System.out.println("子类特有方法");
}
}
| [
"lingweiov@foxmail.com"
] | lingweiov@foxmail.com |
70bbceb7122960076784e3d0c60940c6c7b31179 | f33d28fe045986a4296b67eec8c9654b3f283912 | /Runcity/src/main/java/org/runcity/db/repository/EventRepository.java | e06c68e393a8d109ff5d3345bac6fb3706173163 | [] | no_license | pmatveev/runcity-lcp-automation | c33f9cfef6468da0a4207a04fa864d8da9344b8b | c5e99a93465d0229cc2668f3ddad4639adf1d5aa | refs/heads/master | 2022-12-28T02:15:00.599231 | 2019-07-09T13:41:47 | 2019-07-09T13:41:47 | 108,008,354 | 1 | 1 | null | 2022-12-16T05:35:02 | 2017-10-23T16:26:13 | Java | UTF-8 | Java | false | false | 1,743 | java | package org.runcity.db.repository;
import java.util.Date;
import java.util.List;
import org.runcity.db.entity.Consumer;
import org.runcity.db.entity.ControlPoint;
import org.runcity.db.entity.Event;
import org.runcity.db.entity.Team;
import org.runcity.db.entity.Volunteer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.transaction.annotation.Transactional;
@Transactional
public interface EventRepository extends JpaRepository<Event, Long> {
@Query("select count(e) from Event e where e.volunteer = :volunteer and e.type = 'V' and e.status = 'P'")
public long isActiveVolunteer(@Param("volunteer") Volunteer volunteer);
@Modifying
@Transactional
@Query("update Event e set e.status = 'C', e.closedBy = :volunteer, e.dateTo = :date "
+ "where e.volunteer in (select v from Volunteer v where v.consumer = :user) "
+ "and e.status = 'P' and e.type = 'V'")
public void closeActive(@Param("volunteer") Volunteer closedBy, @Param("user") Consumer consumer, @Param("date") Date date);
@Query("select e from Event e, Volunteer v where e.team is not null and e.volunteer = v and v.controlPoint = :cp")
public List<Event> selectTeamEvents(@Param("cp") ControlPoint controlPoint);
@Query("select e from Event e where e.team = :team")
public List<Event> selectTeamEvents(@Param("team") Team team);
@Query("select max(e.id) from Event e where e.status = 'P' and e.type in ('C', 'R', 'c', 'r') and e.team = :team")
public Long selectLastActiveStatusChangingEvent(@Param("team") Team team);
}
| [
"philipp.matveev@gmail.com"
] | philipp.matveev@gmail.com |
7dafecc4f0d2317ef5e112385482832ad41be793 | 8c68d44c14698a5206458e645b28596ee179b845 | /MSB_connected_component/src/main/java/org/fortiss/uaserver/device/instance/MasmecRaspiNamespace.java | 3a652b82d8bf25ef60ba7c8d76dcc0f345b7b42d | [] | no_license | proteus-cpi/deviceAdapter | cc15c9e8b0fefa4221641f7886e4933f476a1110 | 05d0af11497ff5b52abf5c53b992fb04d4367ea4 | refs/heads/master | 2020-04-27T23:14:12.537167 | 2019-01-31T08:52:18 | 2019-01-31T08:52:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,363 | java | package org.fortiss.uaserver.device.instance;
import java.io.File;
import org.eclipse.milo.opcua.sdk.server.OpcUaServer;
import org.jdom2.input.SAXBuilder;
public class MasmecRaspiNamespace {
private File aml;
private SAXBuilder builder;
private OpcUaServer server;
private int NAMESPACE_IDX = 2;
public MasmecRaspiNamespace(OpcUaServer server) {
this.builder = new SAXBuilder();
this.server = server;
//addSkill(server.getNodeMap(), new NodeId(2, "raspiTestSkill"));
}
// private void addSkill(ServerNodeMap nodeManager, NodeId skillNode) {
// UaMethodNode methodNode = new UaMethodNode(server.getNodeMap(),
// new NodeId(NAMESPACE_IDX, "InvokeSkill/" + "raspiTestSkill"), new QualifiedName(NAMESPACE_IDX, "InvokeSkill"),
// new LocalizedText(null, "InvokeSkill"),
// LocalizedText.english("Triggers the underlying skill of the device."), UInteger.valueOf(0),
// UInteger.valueOf(0), true, true);
//
// String id = skillNode.getIdentifier().toString();
//
//
// RaspiTestSkillMethod method = new RaspiTestSkillMethod();
//
// AnnotationBasedInvocationHandler invocationHandler;
// try {
// invocationHandler = AnnotationBasedInvocationHandler
// .fromAnnotatedObject(nodeManager, method);
// methodNode.setProperty(UaMethodNode.InputArguments, invocationHandler.getInputArguments());
// methodNode.setProperty(UaMethodNode.OutputArguments, invocationHandler.getOutputArguments());
// methodNode.setInvocationHandler(invocationHandler);
//
// } catch (Exception e) {
// // TODO Auto-generated catch block
// e.printStackTrace();
// }
//
//
// nodeManager.put(methodNode.getNodeId(), methodNode);
//
// server.getNodeMap().put(new NodeId(NAMESPACE_IDX, "InvokeSkill/" + "raspiTestSkill"), methodNode);
//
// server.getNodeMap().put(methodNode.getNodeId(), methodNode);
//
// NodeId objectsFolder = Identifiers.ObjectsFolder;
//
// Optional<ServerNode> objects = server.getNodeMap().getNode(objectsFolder);
// try {
// server.getUaNamespace().addReference(Identifiers.ObjectsFolder, Identifiers.Organizes, true,
// methodNode.getNodeId().expanded(), NodeClass.Object);
// } catch (UaException e) {
// }
//
//
//
// server.getNodeMap().addReference(new Reference(skillNode, Identifiers.HasComponent,
// methodNode.getNodeId().expanded(), methodNode.getNodeClass(), true));
// }
} | [
"dorofeev@fortiss.org"
] | dorofeev@fortiss.org |
e25557ce1bab0343ad780b3436cf3c63e79dfe78 | 49065ac4d99d2972f80bd50e36464594aa69608f | /src/main/java/com/employee/detail/service/Emp_Service.java | 1f142a1ad25966ea5308053d375f1065ee93251e | [] | no_license | Sanjeeth07/SecondRepo | 6508c0e1ff3b592341c6e38704c75682d75083ca | 86532d0c5410a9dcdfa27637fcfc22947d3bdf54 | refs/heads/master | 2022-10-17T17:40:08.719852 | 2020-06-12T11:35:34 | 2020-06-12T11:35:34 | 271,777,074 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,967 | java | package com.employee.detail.service;
import java.util.Comparator;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.employee.detail.entity.Empoyee_Contact;
import com.employee.detail.map.Emp_Repository;
@Service
public class Emp_Service {
@Autowired
private Emp_Repository emp_Repository;
public List<Empoyee_Contact> getAllEmp()
{List<Empoyee_Contact> empoyee=emp_Repository.findByeId(1);
//List<Empoyee_Contact> empoyee_Contact=(List<Empoyee_Contact>) emp_Repository.findAll();
//List<Empoyee_Contact> emp=empoyee_Contact.stream().filter(val->val.geteMobileNo().length()==10).collect(Collectors.toList());
// emp.forEach(obj->System.out.println(" 10 digit Mobile No"+ obj.geteId()+ obj.getEmailId()+obj.geteMobileNo()));
//List<Empoyee_Contact> sort=empoyee_Contact.stream().sorted(Comparator.comparing(Empoyee_Contact::getEmailId)).collect(Collectors.toList());
//sort.forEach(obj->System.out.println(obj.getEmailId()));
empoyee.forEach(on->on.geteMobileNo());
//length()==10).collect(Collectors.toList());
//==10).collect(Collectors.toList());
return empoyee;
}
public Boolean insertEmpDetails(List<Empoyee_Contact> empoyee_Contact) {
Boolean res=false;
//emp_Repository.save(empoyee_Contact);
emp_Repository.saveAll(empoyee_Contact);
//emp_Repository.save(empoyee_Contact);
res=true;
return res;
}
public Boolean delByEmpId(int eId)
{
Boolean res=false;
emp_Repository.deleteById(eId);
return res;
}
/*
* public Boolean empUpdateById(Empoyee_Contact empoyee_Contact) { Boolean
* res=false; Empoyee_Contact
* empCon=emp_Repository.findById(empoyee_Contact.geteId());
* empCon.setEmailId(empoyee_Contact.getEmailId());
* empCon.seteMobileNo(empoyee_Contact.geteMobileNo());
* emp_Repository.save(empCon)
*
* res=true; return res; }
*/
} | [
"66827696+Sanjeeth07@users.noreply.github.com"
] | 66827696+Sanjeeth07@users.noreply.github.com |
730f1048ec9934f5c7cf2f92f9185993fb9a50cc | db827253043d8037359a962a791ea91f5ae2c53a | /boot-frame/boot-frame-eureka-server/src/main/java/com/frame/WebApplication.java | 8935f35f77a209d4ea084e53d56b9b50c4fd7df1 | [] | no_license | coskundeniz89/boot-frame | eb94e49a519b379df058eb9c0b8a3acb4af508d1 | d49280718e9b59730df41611321f9237972430bd | refs/heads/master | 2021-01-22T04:34:09.953024 | 2017-02-10T11:12:56 | 2017-02-10T11:12:56 | 81,544,783 | 0 | 0 | null | 2017-02-10T08:38:08 | 2017-02-10T08:38:08 | null | UTF-8 | Java | false | false | 900 | java | package com.frame;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.PropertySource;
@EnableEurekaServer
@SpringBootApplication
@EnableConfigurationProperties
@PropertySource(
ignoreResourceNotFound = true,
value = {
"classpath:/application.properties",
"classpath:/config/system.properties",
"classpath:/config/eureka.properties"
}
)
public class WebApplication extends SpringBootServletInitializer {
public static void main(String[] args) {
SpringApplication.run(WebApplication.class, args);
}
}
| [
"changqing.duan@163.com"
] | changqing.duan@163.com |
9090e6dcec68389fcd644b21b00bf4e4da1079b5 | b7f7e367b2b9b87224b9926bdd936de2f47acc95 | /src/main/java/com/management/equipments/api/services/implementation/UsersServiceImpl.java | 7414f70d0e97cbd71df88d2e0933c865f6a1f685 | [] | no_license | yasseribrahim/management-equipments | 4427e0d20a9f82d821c66acfbb9d498e8a179125 | 1691773c39f2028502dd00efa5e9859884597a78 | refs/heads/master | 2022-03-17T09:21:11.439542 | 2019-11-23T11:06:55 | 2019-11-23T11:06:55 | 223,575,012 | 0 | 0 | null | 2022-03-08T21:18:16 | 2019-11-23T11:06:26 | HTML | UTF-8 | Java | false | false | 2,671 | java | package com.management.equipments.api.services.implementation;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.stereotype.Service;
import com.management.equipments.api.dto.UserDto;
import com.management.equipments.api.dto.mapper.UserMapper;
import com.management.equipments.api.entities.Role;
import com.management.equipments.api.entities.User;
import com.management.equipments.api.repositories.RolesRepository;
import com.management.equipments.api.repositories.UsersRepository;
import com.management.equipments.api.services.UsersService;
import com.management.equipments.api.services.implementation.exceptions.SaveFailException;
@Service("usersDetailsService")
public class UsersServiceImpl implements UsersService {
@Autowired
private UsersRepository usersRepository;
@Autowired
private RolesRepository rolesRepository;
@Autowired
private BCryptPasswordEncoder bCryptPasswordEncoder;
private UserMapper mapper = UserMapper.MAPPER;
@Override
public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
User user = usersRepository.findByUsername(username);
if (user == null) {
throw new UsernameNotFoundException(username);
}
System.out.println("Current User: " + user.toString());
return user;
}
@Override
public void saveUser(UserDto dto) throws SaveFailException {
User user = mapper.fromDto(dto);
user.setPassword(bCryptPasswordEncoder.encode(user.getPassword()));
user.setEnabled(true);
Role adminRole = rolesRepository.findByRole("NORMAL");
user.setRoles(new HashSet<Role>(Arrays.asList(adminRole)));
usersRepository.save(user);
}
@Override
public List<UserDto> findAll() {
return mapper.toDtos(usersRepository.findAll());
}
@Override
public void saveAdminUser(UserDto dto) throws SaveFailException {
User user = mapper.fromDto(dto);
user.setPassword(bCryptPasswordEncoder.encode(user.getPassword()));
user.setEnabled(true);
Role adminRole = rolesRepository.findByRole("ADMIN");
user.setRoles(new HashSet<Role>(Arrays.asList(adminRole)));
usersRepository.save(user);
}
@Override
public UserDto findByUsername(String username) throws UsernameNotFoundException {
User user = usersRepository.findByUsername(username);
if (user == null) {
throw new UsernameNotFoundException(username);
}
return mapper.toDto(user);
}
}
| [
"Yasser Ibrahim"
] | Yasser Ibrahim |
a08b83ea7c05f8ea9417636df69aae6c881fc7a5 | 0bd6454351c1b03bcbf2baaf02c98ce7704317cd | /imooc-security-browser/src/main/java/com/imooc/security/browser/UserDetailsServiceImpl.java | ef53d7fa4b5292ccd2387ddba0539e4c1a2a5537 | [] | no_license | EddyLaiLi/imooc-security-1 | f2567a89139ef81a00297828cddeaca1423e87d7 | 1aadfa6277b3c89656a888ad7621d1c6b9cbb245 | refs/heads/master | 2021-08-08T15:13:02.509985 | 2017-11-10T15:47:28 | 2017-11-10T15:47:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,132 | java | package com.imooc.security.browser;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Component;
/**
* @author Shinelon
*/
@Component
@Slf4j
public class UserDetailsServiceImpl implements UserDetailsService {
@Autowired
@Lazy
private PasswordEncoder passwordEncoder;
@Override
public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
log.info("登录用户名{}", username);
return new User(username, passwordEncoder.encode("123456"), AuthorityUtils.commaSeparatedStringToAuthorityList("admin"));
}
}
| [
"luoqianhong@epudge.com"
] | luoqianhong@epudge.com |
9fb124dc8356ba10177d627f1ebbd3a1b4162fc9 | 794f622aa6cc2e5703bbd72b600debc7dcc45dcb | /src/StackAndQueue/StackWithMiddleOperation.java | 8d8e655f2ceb3ebe3a31200c7068a868fd5c0671 | [] | no_license | parul3067/Algorithm-Practice-Questions | d51030d464ebc5ff6515256bb19412f25d0607f3 | b2484e4913cf21d0d7dd76332f26664c28c6d0ad | refs/heads/master | 2021-01-20T01:35:23.203340 | 2017-02-15T22:18:21 | 2017-02-15T22:18:21 | 78,190,160 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,968 | java | package StackAndQueue;
public class StackWithMiddleOperation {
DDLNode top;
DDLNode middle;
int size = 0;
private void pop() {
System.out.println("Element popped is :"+top.data);
if(top.right == null) {
top = middle = null;
} else {
top.right.left = top.left;
top.right = top;
}
}
private void peek() {
System.out.println("Top Element is :"+top.data);
}
private void push(int data) {
size++;
DDLNode node = new DDLNode(data);
if(top == null) {
top = middle = node;
} else {
node.right = top;
top.left = node;
top = node;
if(size%2 == 0) {
middle = middle.left;
}
}
}
private void getMiddle() {
System.out.println("Middle element of the stack :"+middle.data);
}
private void deleteMiddle() {
System.out.println("Element deleted :"+middle.data);
if(middle.right != null) {
middle.right.left = middle.left;
}
if(middle.left != null) {
middle.left.right = middle.right;
}
// Need to update middle element
if(size%2==0) {
middle = middle.right;
} else {
middle = middle.left;
}
size--;
if(size == 1) {
top = middle;
}
}
private void print() {
DDLNode iterator = top;
if(iterator == null) {
System.out.println("Empty Stack");
} else {
while(iterator.right != null) {
System.out.print(iterator.data+"->");
iterator = iterator.right;
iterator.left = null;
}
System.out.println(iterator.data);
}
}
public static void main(String[] args) {
// TODO Auto-generated method stub
StackWithMiddleOperation s = new StackWithMiddleOperation();
s.push(1);
s.push(2);
s.print();
s.getMiddle();
//s.deleteMiddle();
//s.print();
s.push(3);
//s.print();
//s.getMiddle();
s.push(4);
s.print();
s.getMiddle();
s.push(5);
s.print();
s.getMiddle();
s.deleteMiddle();
//s.print();
}
}
| [
"p7verma@uwaterloo.ca"
] | p7verma@uwaterloo.ca |
3a5635a702ca45cdc20489b22ac6eafd80248d24 | 9bb3194998ab1d8953a2037d1a3e01d0dce56e3e | /src/main/java/mbarix4j/util/IObservable.java | cd64fe579fd28515f8ebebbdc17cafa2a26c8781 | [
"BSD-3-Clause"
] | permissive | hohonuuli/mbarix4j | 81d8c61e9a5bca7c48caa0d42cbb99d5bbce66bc | 7653f1a8f8605517f12eff80086f9a0ea327bb6d | refs/heads/master | 2023-01-11T00:35:21.159095 | 2022-12-29T00:53:43 | 2022-12-29T00:53:43 | 13,154,809 | 1 | 2 | BSD-3-Clause | 2020-10-13T08:07:08 | 2013-09-27T15:59:20 | Java | UTF-8 | Java | false | false | 2,134 | java | package mbarix4j.util;
/**
* <p>Implementing class will be able to notify otheres of changes to it's
* properties. <br><br>
* To Use: Classes that implement this interface should contain a reference to an
* <i>ObservableComponent</i>. The implementing class should use this interface
* to implement the appropriate method calls to the ObservableComponent. for example:<br><br>
*
* <pre>
* public class SomeObservableClass implements IObservable{
*
* public void addObserver(IObserver observer) {
* oc.add(observer);
* }
*
* void notifyObservers() {
* oc.notify(this, "someFlagToIndicateChange");
* }
*
* public void removeObserver(IObserver observer){
* oc.remove(observer);
* }
*
* public void removeAllObservers() {
* oc.clear();
* }
*
* private ObservableComponent oc = new ObservableComponent();
* }
* </pre></p>
*
* <p><font size="-1" color="#336699"><a href="http://www.mbari.org">
* The Monterey Bay Aquarium Research Institute (MBARI)</a> provides this
* documentation and code "as is", with no warranty, express or
* implied, of its quality or consistency. It is provided without support and
* without obligation on the part of MBARI to assist in its use, correction,
* modification, or enhancement. This information should not be published or
* distributed to third parties without specific written permission from
* MBARI.</font></p><br>
*
* <font size="-1" color="#336699">Copyright 2003 MBARI.<br>
* MBARI Proprietary Information. All rights reserved.</font><br>
*
* @author <a href="http://www.mbari.org">MBARI</a>
* @version $Id: IObservable.java 3 2005-10-27 16:20:12Z hohonuuli $
* @deprecated
*
*/
public interface IObservable {
/**
* Adds an IObserver
* @param observer Some instance of IObserver to be added
*/
void addObserver(IObserver observer);
/** Remove all observers */
void removeAllObservers();
/**
* Remove an observer
* @param observer The observer to be removed
*/
void removeObserver(IObserver observer);
} | [
"bschlining@gmail.com"
] | bschlining@gmail.com |
378023f03744aac183a06d1648754d84f8a58002 | bdda4d1266f0a51637178dbec0cc911189d36dcc | /app/src/main/java/com/my/loopiine/utils/userdemo/animation/activity/ActivityAnimationDemo.java | 37e45b0ba433bceef804015822bbd48e02d59d64 | [] | no_license | xuange136508/FuncUtils | 88499a42607f613e0d34b4851e5ecdf48d1a3e77 | 84eb70b4c1b11b7bcb5b4f2291705efd9ed7174f | refs/heads/master | 2022-09-25T13:46:23.747962 | 2020-05-26T09:56:59 | 2020-05-26T09:56:59 | 267,005,970 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,193 | java | package com.my.loopiine.utils.userdemo.animation.activity;
import android.app.Activity;
import android.app.ActivityOptions;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.ActivityCompat;
import android.support.v4.app.ActivityOptionsCompat;
import android.view.View;
import com.my.loopiine.R;
/**
* 界面跳转动画demo
*/
public class ActivityAnimationDemo {
public void demo(Context ctx , Class democlass, View view, Activity activity){
Intent intent = new Intent(ctx, democlass);
//如果大于5.0版本采用共享动画跳转
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) {
ActivityOptions options = ActivityOptions
.makeSceneTransitionAnimation(activity,
view.findViewById(R.id.add), "photos");
ctx.startActivity(intent, options.toBundle());
} else {
//让新的Activity从一个小的范围扩大到全屏
ActivityOptionsCompat options = ActivityOptionsCompat
.makeScaleUpAnimation(view, view.getWidth() / 2,
view.getHeight() / 2, 0, 0);
ActivityCompat.startActivity(activity, intent, options.toBundle());
}
}
/**
* "photos"为共享的属性名
* <ImageView
android:id="@+id/add"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_margin="4dp"
android:scaleType="centerCrop"
android:transitionName="photos" //---->
tools:src="@drawable/ic_header"/>
*
*新页面的控件要具有相同属性
* <ImageView
android:id="@+id/iv_news_detail_photo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:scaleType="centerCrop"
android:transitionName="photos" //--->
app:layout_collapseMode="parallax"
app:layout_collapseParallaxMultiplier="0.7"
tools:src="@drawable/ic_header"/>
*
*
* ***/
}
| [
"xiex@bairuitech.com"
] | xiex@bairuitech.com |
15a9bf1a7d662e526c2f8ce2382732d7eda29971 | 991478d95407c82d4b2cd456ac378edb589c2906 | /src/test/java/eu/stratosphere/sopremo/cleansing/similarity/contentbased/MatchingCoefficientSimilarityTest.java | 2b075b718922bc552199b37954c3f85e292820fa | [] | no_license | andrinamascher/sopremo-cleansing | 553fc3ad04825eb34e731f978eec82eaae8d519d | 0277f07fcde85948eef4ae64c162291faea88d0d | refs/heads/master | 2021-01-16T20:00:36.192194 | 2013-09-05T21:08:44 | 2013-09-05T21:08:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,226 | java | package eu.stratosphere.sopremo.cleansing.similarity.contentbased;
import java.util.Arrays;
import java.util.List;
import org.junit.runners.Parameterized.Parameters;
import eu.stratosphere.sopremo.cleansing.similarity.Similarity;
import eu.stratosphere.sopremo.cleansing.similarity.SimilarityBaseTest;
import eu.stratosphere.sopremo.cleansing.similarity.text.MatchingCoefficientSimilarity;
/**
* Tests the {@link MatchingCoefficientSimilarity} class.
*
* @author Arvid Heise
*/
public class MatchingCoefficientSimilarityTest extends SimilarityBaseTest {
public MatchingCoefficientSimilarityTest(Object node1, Object node2, double expected) {
super(node1, node2, expected);
}
/* (non-Javadoc)
* @see de.hpi.fgis.dude.junit.Similarity.SimilarityBaseTest#getSimilarity()
*/
@Override
public Similarity<?> getSimilarity() {
return new MatchingCoefficientSimilarity();
}
@Parameters
public static List<Object[]> getParameters() {
return Arrays.asList(new Object[][] {
{ "thomas", "thomas",1 },
{ "hans-peter", "hans-peter", 1 },
{ "hans-peter", "Hans-peter", 0 },
{ "thomas", "", 0 },
{ "thomas", null, withCoercion(0) },
{ "", "", 1 },
{ "", null, withCoercion(1) },
});
}
} | [
"arvid.heise@hpi.uni-potsdam.de"
] | arvid.heise@hpi.uni-potsdam.de |
da645083bea20bfa12ce1ec270bbbcc64a2b3e5d | d2d1ba4cbb72993c849e45712bfcc3398eb3d668 | /06.Model2MVCShop(Presentation+BusinessLogic)/src/main/java/com/model2/mvc/web/purchase/PurchaseController.java | 4237a50c1c9b970df6b4be18dd841fc602c936ce | [] | no_license | blacktturtle/06.Model2MVCShop-Presentation-BusinessLogic- | 9402a7b09614a56689981f1c320dcb787a6b5a0e | 87acac520b2ea37aa44df530898045b2ad323fcb | refs/heads/master | 2020-03-15T20:00:26.000804 | 2018-05-06T08:59:53 | 2018-05-06T08:59:53 | 132,322,692 | 0 | 0 | null | null | null | null | UHC | Java | false | false | 6,037 | java | package com.model2.mvc.web.purchase;
import java.util.Map;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
import com.model2.mvc.common.Page;
import com.model2.mvc.common.Search;
import com.model2.mvc.service.domain.Product;
import com.model2.mvc.service.domain.Purchase;
import com.model2.mvc.service.domain.User;
import com.model2.mvc.service.product.ProductService;
import com.model2.mvc.service.purchase.PurchaseService;
import com.model2.mvc.service.user.UserService;
@Controller
public class PurchaseController {
@Autowired
@Qualifier("purchaseServiceImpl")
PurchaseService purchaseService;
@Autowired
@Qualifier("productServiceImpl")
private ProductService productService;
@Autowired
@Qualifier("userServiceImpl")
private UserService userService;
public PurchaseController() {
System.out.println(this.getClass());
}
@Value("#{commonProperties['pageUnit']}")
//@Value("#{commonProperties['pageUnit'] ?: 3}")
int pageUnit;
@Value("#{commonProperties['pageSize']}")
//@Value("#{commonProperties['pageSize'] ?: 2}")
int pageSize;
@RequestMapping("/addPurchaseView.do")
public ModelAndView addPurchaseView(Model model,@RequestParam("prodNo") int prodNo) throws Exception{
System.out.println("/addPurchaseView");
Product product = productService.getProduct(prodNo);
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("purchase/addPurchaseView.jsp");
model.addAttribute("product", product);
return modelAndView;
}
@RequestMapping("/addPurchase.do")
public ModelAndView addPurchase(@ModelAttribute("purchase") Purchase purchase, @ModelAttribute("user") User user, @RequestParam("prodNo") int prodNo) throws Exception{
System.out.println("/addPurchase");
Product product = productService.getProduct(prodNo);
product.setQuantity(product.getQuantity()-purchase.getPurQuantity());
purchase.setBuyer(user);
purchase.setPurchaseProd(product);
System.out.println("펄체이스 : " + purchase);
purchase.setTranCode("1");
purchase.setIsPurchaseCode(1);
productService.updateProduct(product);
purchaseService.addPurchase(purchase);
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("purchase/addPurchase.jsp");
modelAndView.addObject("purchase", purchase);
return modelAndView;
}
@RequestMapping("/listPurchase.do")
public ModelAndView getListPurchase(@ModelAttribute("search") Search search,HttpSession session) throws Exception{
System.out.println("/listPurchase");
User user = (User)session.getAttribute("user");
if(search.getCurrentPage()==0) {
search.setCurrentPage(1);
}
search.setPageSize(pageSize);
Map<String, Object> map = purchaseService.getPurchaseList(search, user.getUserId());
Page resultPage = new Page( search.getCurrentPage(), ((Integer)map.get("totalCount")).intValue(), pageUnit, pageSize);
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("/purchase/listPurchase.jsp");
modelAndView.addObject("list",map.get("list"));
modelAndView.addObject("resultPage",resultPage);
modelAndView.addObject("search",search);
return modelAndView;
}
@RequestMapping("/getPurchase.do")
public ModelAndView getPurchase(@RequestParam("tranNo") int tranNo) throws Exception{
System.out.println("/getPurchase");
Purchase purchase = purchaseService.getPurchase(tranNo);
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("/purchase/getPurchase.jsp");
modelAndView.addObject("purchase",purchase);
return modelAndView;
}
@RequestMapping("/updatePurchaseView.do")
public ModelAndView updatePurchaseView(@RequestParam("tranNo") int tranNo) throws Exception{
System.out.println("/updatePurchaseView");
Purchase purchase = purchaseService.getPurchase(tranNo);
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("/purchase/updatePurchaseView.jsp");
modelAndView.addObject("purchase",purchase);
return modelAndView;
}
@RequestMapping("/updatePurchase.do")
public ModelAndView updatePurchase(@ModelAttribute("purchase") Purchase purchase, @RequestParam("tranNo") int tranNo) throws Exception{
System.out.println("/updatePurchase");
System.out.println("업데이트 될 펄체이스" + purchase);
purchaseService.updatePurcahse(purchase);
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("/getPurchase.do");
modelAndView.addObject("tranNo",tranNo);
return modelAndView;
}
@RequestMapping("/delivery.do")
public ModelAndView getDelivery(@ModelAttribute("search") Search search, @RequestParam("prodNo") int prodNo) throws Exception{
System.out.println("/delivery");
if(search.getCurrentPage()==0) {
search.setCurrentPage(1);
}
search.setPageSize(pageSize);
Map<String, Object> map = purchaseService.getDeliveryList(search, prodNo);
Page resultPage = new Page( search.getCurrentPage(), ((Integer)map.get("totalCount")).intValue(), pageUnit, pageSize);
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("/purchase/delivery.jsp");
modelAndView.addObject("list",map.get("list"));
modelAndView.addObject("resultPage",resultPage);
modelAndView.addObject("search",search);
return modelAndView;
}
}
| [
"Bit@Bitcamp"
] | Bit@Bitcamp |
852a11489521c5cbaaa7e600f1a5bd89f6092b3f | f625579c590307ff81a2debca1ef3f7481cbdc2d | /Groupe3/Insurance/services/src/main/java/services/IGroupService.java | 02b090f7683497b27e56c37336b3841662871c1c | [] | no_license | 2016IMIEL3B/2016 | 64fc629457243194d4419b5983ec52ce7d8ea4ec | 4b3ffc79a041532562d8d606b375a3b4919d540d | refs/heads/master | 2021-01-13T00:37:04.096191 | 2016-04-21T13:20:50 | 2016-04-21T13:20:50 | 54,374,048 | 1 | 0 | null | 2016-03-21T10:52:45 | 2016-03-21T09:02:52 | null | UTF-8 | Java | false | false | 117 | java | package services;
import model.Group;
/**
* Created by Enzo on 18/04/2016.
*/
public interface IGroupService {
}
| [
"sylvain.davenel@laposte.net"
] | sylvain.davenel@laposte.net |
dd4d5c66b51f95e2c0e54f7618aa7f659aaefc89 | b7db860de1cddee24d7c32de28ebd225e7347c68 | /src/leetcode100/arraystring/FIncreasingTripletSubSequence.java | c17201336325e6e10bb9bdcb266aca25d27c7628 | [] | no_license | saldisobi/algorithmsJava | c58a179d8527055cd4126b2a0636d3ad672eaa8f | 9740b473fe700df223f16aa617271a17570838f6 | refs/heads/master | 2021-01-04T16:51:00.740029 | 2020-07-12T11:23:36 | 2020-07-12T11:23:36 | 240,643,173 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 844 | java | package leetcode100.arraystring;
public class FIncreasingTripletSubSequence {
public boolean isIncreasingSubSequence(int[] ints) {
int firstMinimum = Integer.MAX_VALUE;
int secondMinimum = Integer.MAX_VALUE;
for (int i = 0; i < ints.length; i++) {
if (ints[i] < firstMinimum && ints[i] < secondMinimum) {
firstMinimum = ints[i];
} else if (ints[i] < secondMinimum) {
secondMinimum = ints[i];
} else {
if (firstMinimum < Integer.MAX_VALUE && secondMinimum < Integer.MAX_VALUE)
return true;
}
}
return false;
}
public static void main(String args[]){
System.out.println(new FIncreasingTripletSubSequence().isIncreasingSubSequence(new int[]{3,2,3}));
}
}
| [
"saldisaurabh99@gmail.com"
] | saldisaurabh99@gmail.com |
2ace8bf1dda767e480175453ae6e3252cbadf224 | 25bdc974db618dbbff5dfdc2e7335e46499d1e7f | /r.core/src/main/java/com/blogspot/miguelinlas3/r/eclipse/language/antlr/ast/IndexAccessBinaryExpression.java | e29f0f562fdc7b63f7191cdf6cb9864230d9f8f4 | [] | no_license | migue/r-ide | a67b1953dbac98d5b8845255ac53bf6bd4fd07e9 | d51e27dd732d25012228943975e41a9b9d85d7de | refs/heads/master | 2016-09-05T09:05:45.818767 | 2011-10-29T21:50:41 | 2011-10-29T21:50:41 | 2,564,260 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,950 | java | /**
*
*/
package com.blogspot.miguelinlas3.r.eclipse.language.antlr.ast;
import org.eclipse.dltk.ast.ASTNode;
import org.eclipse.dltk.ast.ASTVisitor;
/**
*
*
* @author migue
*
*/
public class IndexAccessBinaryExpression extends AbstractRExpressions implements
RExpressionConstansExtension {
ASTNode invoke;
ASTNode arguments;
int leftIndexPosition;
int rightIndexPosition;
public ASTNode getInvoke() {
return invoke;
}
public void setInvoke(ASTNode invoke) {
this.invoke = invoke;
}
public ASTNode getArguments() {
return arguments;
}
public void setArguments(ASTNode arguments) {
this.arguments = arguments;
}
public int getLeftIndexPosition() {
return leftIndexPosition;
}
public void setLeftIndexPosition(int leftIndexPosition) {
this.leftIndexPosition = leftIndexPosition;
}
public int getRightIndexPosition() {
return rightIndexPosition;
}
public void setRightIndexPosition(int rightIndexPosition) {
this.rightIndexPosition = rightIndexPosition;
}
public IndexAccessBinaryExpression(int kind, ASTNode object,
ASTNode arguments) {
this(kind, object, arguments, 0, 0);
}
public IndexAccessBinaryExpression(int kind, ASTNode object,
ASTNode arguments, int leftIndexPos, int rightIndexPos) {
if (object != null) {
this.setStart(object.sourceStart());
}
if (arguments != null) {
this.setEnd(arguments.sourceEnd());
}
this.invoke = object;
this.arguments = arguments;
this.kind = kind;
this.leftIndexPosition = leftIndexPos;
this.rightIndexPosition = rightIndexPos;
}
@Override
public void traverse(ASTVisitor visitor) throws Exception {
if (visitor.visit(this)) {
if (this.invoke != null) {
this.invoke.traverse(visitor);
}
if (this.arguments != null) {
this.arguments.traverse(visitor);
}
visitor.endvisit(this);
}
}
}
| [
"miguelinlas3@gmail.com"
] | miguelinlas3@gmail.com |
878595e1d2c93e74682860381b5c0a50e86e5fc8 | 7133ccd54daa93b30376ad37d7b5685dff16e729 | /frontend/com.rochatec.athena.app/src/com/rochatec/athena/manufacture/category/box/CategorySearchBox.java | 34ca2fe9d97ec251d1ec240c12ece6d6b65e31b9 | [] | no_license | erickrocha/com.rochatec.athena | 651c02c8886a46bf6ac031e0e91bb0a37b4df233 | b1809797ef4f5d306e47513929fefc22649d8567 | refs/heads/master | 2021-01-01T16:50:50.044648 | 2016-11-03T11:05:56 | 2016-11-03T11:05:56 | 18,557,961 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,593 | java | package com.rochatec.athena.manufacture.category.box;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.jface.viewers.IBaseLabelProvider;
import org.eclipse.swt.widgets.Composite;
import com.rochatec.athena.client.service.ManufactureClientService;
import com.rochatec.athena.i18n.Messages;
import com.rochatec.athena.model.Category;
import com.rochatec.athena.model.Status;
import com.rochatec.athena.provider.StatusLabelProvider;
import com.rochatec.athena.utils.ServiceFactory;
import com.rochatec.framework.model.Executable;
import com.rochatec.graphics.event.ColumnChangedEvent;
import com.rochatec.graphics.event.SearchBoxEvent;
import com.rochatec.graphics.gui.AbstractWrapperSearchBox;
import com.rochatec.graphics.model.Column;
import com.rochatec.graphics.model.ColumnType;
import com.rochatec.graphics.model.IColumn;
public class CategorySearchBox extends AbstractWrapperSearchBox<Category>{
protected ManufactureClientService manufactureClientService = ServiceFactory.getInstance().getManufactureClientService();
public CategorySearchBox(Composite parent, Executable<Category> executable) {
super(parent, executable);
}
@Override
public List<IColumn> getColumns() {
List<IColumn> columns = new ArrayList<IColumn>();
columns.add(new Column("id",Messages.getMessage("category.field.label.id"),ColumnType.LONG));
columns.add(new Column("name",Messages.getMessage("category.field.label.name"),ColumnType.STRING));
columns.add(new Column("all",Messages.getMessage("category.field.label.all"),ColumnType.NONE));
return columns;
}
@Override
public IBaseLabelProvider getLabelProvider() {
return new StatusLabelProvider();
}
@Override
public Object getStatus() {
return Status.getAll();
}
@Override
public void fireColumnsChanged(ColumnChangedEvent e) {
e.box.clear();
e.box.setLabelValue(e.column.getLabel());
switch (e.column.getSQLType()) {
case NONE:
e.box.setEnabledText(false);
break;
default:
e.box.setEnabledText(true);
break;
}
}
@Override
public List<Category> fireSearchBoxActivated(SearchBoxEvent e) {
List<Category> categories = new ArrayList<Category>();
switch (e.column.getSQLType()) {
case LONG:
categories.clear();
categories.add(manufactureClientService.findCategoryById(e.searchBox.getLong()));
break;
case STRING:
categories =manufactureClientService.findCategoriesByName(e.value+"%");
break;
case NONE:
categories = manufactureClientService.findAllCategories();
break;
default:
break;
}
return categories;
}
}
| [
"erick.rocha@synchro.com.br"
] | erick.rocha@synchro.com.br |
6c291c1222b129d8b3227ec36a4f1000b8f06ce1 | 850bf40f625b4429531133fbe0319abf74c59fb6 | /common-lib/common/src/main/java/com/xson/common/utils/IntentUtil.java | eae6ed8935040394d43616c646a6093ac2cab1f1 | [] | no_license | xiongkai888/bilan | b2b2a502379aafaa898983f77918d7c8c0198dd9 | c2b2ad5978bca96c8252b4561aaedee9980a1161 | refs/heads/master | 2020-04-13T07:34:33.593905 | 2018-12-25T07:35:21 | 2018-12-25T07:35:21 | 163,055,685 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,834 | java | package com.xson.common.utils;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
/**
* Created by xson on 2016/11/10.
*/
public class IntentUtil {
public static void startActivity(Context context, Class clss) {
Intent intent = new Intent(context, clss);
context.startActivity(intent);
}
public static void startActivity(Context context, Class clss,String value) {
Intent intent = new Intent(context, clss);
intent.putExtra("value",value);
context.startActivity(intent);
}
public static void startActivity(Context context, int type, Class clss) {
Intent intent = new Intent(context, clss);
intent.putExtra("type", type);
context.startActivity(intent);
}
public static void startActivity(Context context, Class clss, Bundle bundle) {
Intent intent = new Intent(context, clss);
intent.putExtra("bundle", bundle);
context.startActivity(intent);
}
public static void startActivityForResult(Activity context, Class clss, int requestCode) {
Intent intent = new Intent(context, clss);
context.startActivityForResult(intent, requestCode);
}
public static void startActivityForResult(Activity context, Class clss,String value, int requestCode) {
Intent intent = new Intent(context, clss);
intent.putExtra("type", requestCode);
intent.putExtra("value",value);
context.startActivityForResult(intent, requestCode);
}
public static void startActivityForResult(Fragment context, Class clss, int requestCode) {
Intent intent = new Intent(context.getContext(), clss);
context.startActivityForResult(intent, requestCode);
}
}
| [
"173422042@qq.com"
] | 173422042@qq.com |
11d43d63ce3106397f545cbed6aadad008bd2abf | ae9efe033a18c3d4a0915bceda7be2b3b00ae571 | /jambeth/jambeth-cache-stream/src/main/java/com/koch/ambeth/cache/stream/float64/DoubleInputSourceConverter.java | aa3d64a3df0fa8ccd6bd3e2301d8dea56f3b36b5 | [
"Apache-2.0"
] | permissive | Dennis-Koch/ambeth | 0902d321ccd15f6dc62ebb5e245e18187b913165 | 8552b210b8b37d3d8f66bdac2e094bf23c8b5fda | refs/heads/develop | 2022-11-10T00:40:00.744551 | 2017-10-27T05:35:20 | 2017-10-27T05:35:20 | 88,013,592 | 0 | 4 | Apache-2.0 | 2022-09-22T18:02:18 | 2017-04-12T05:36:00 | Java | UTF-8 | Java | false | false | 1,028 | java | package com.koch.ambeth.cache.stream.float64;
/*-
* #%L
* jambeth-cache-stream
* %%
* Copyright (C) 2017 Koch Softwaredevelopment
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
* #L%
*/
import com.koch.ambeth.cache.stream.AbstractInputSourceConverter;
import com.koch.ambeth.cache.stream.AbstractInputSourceValueHolder;
public class DoubleInputSourceConverter extends AbstractInputSourceConverter {
@Override
protected AbstractInputSourceValueHolder createValueHolderInstance() {
return new DoubleInputSourceValueHolder();
}
}
| [
"dennis.koch@bruker.com"
] | dennis.koch@bruker.com |
7ecc9e3fe63a0bd126792fc45e5d31197e2b6701 | c8b30a6f1d402cfe42bede84bd7a60037d09d4a2 | /MovieApp/app/src/androidTest/java/com/example/luba/movieapp/ExampleInstrumentedTest.java | 10e7094be796c12da3ddf07a1957e1e92649b6ff | [] | no_license | lsireneva/week7_movie_app | 63c5244c2878b0c7a207a51ddaedefbc7772661a | b0c9cfd689817d7e38cceea56591da239a790e89 | refs/heads/master | 2021-04-26T23:27:36.994350 | 2018-03-06T10:34:17 | 2018-03-06T10:34:17 | 123,998,710 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 751 | java | package com.example.luba.movieapp;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.example.luba.movieapp", appContext.getPackageName());
}
}
| [
"lsireneva@gmail.com"
] | lsireneva@gmail.com |
eff09b86352c911cb7e3ab843dc5f94dae523b9c | 078aec5d2897af4dd8491592cf92fb1d6a11a47a | /FactoryPattern/FactoryMethod/src/main/java/units/UnitFactory.java | cb0e2dc9d0dfca28e7ff84ba736ba234b834c802 | [] | no_license | idzikdev/design-patterns | da529611cb8d232334baaca31d2cc0a24b770f1c | 7dbbb5a74ff849722a0575f058be3572c8d08998 | refs/heads/master | 2022-10-12T09:55:03.255621 | 2019-12-31T10:36:58 | 2019-12-31T10:36:58 | 227,567,303 | 1 | 0 | null | 2022-10-05T19:53:31 | 2019-12-12T09:22:12 | Java | UTF-8 | Java | false | false | 758 | java | package units;
import static units.Conf.TANK_HP;
import static units.Conf.TANK_EXP;
import static units.Conf.TANK_DAMAGE;
import static units.Conf.RIFLEMAN_HP;
import static units.Conf.RIFLEMAN_EXP;
import static units.Conf.RIFLEMAN_DAMAGE;
public class UnitFactory implements Factory {
@Override
public Unit createUnit(UnitType unitType) {
switch (unitType) {
case TANK:
return new Tank(TANK_HP.getValue(), TANK_EXP.getValue(), TANK_DAMAGE.getValue());
case RIFLEMAN:
return new Rifleman(RIFLEMAN_HP.getValue(), RIFLEMAN_EXP.getValue(), RIFLEMAN_DAMAGE.getValue());
default:
throw new UnsupportedOperationException("No such unit type");
}
}
} | [
"idzikqa@gmail.com"
] | idzikqa@gmail.com |
dcb4cca8971158a021b1dbe1f27b8f11ae681b6c | 4be72dee04ebb3f70d6e342aeb01467e7e8b3129 | /bin/ext-addon/b2ctelcocheckoutaddon/acceleratoraddon/web/src/de/hybris/platform/storefront/checkout/steps/validation/impl/DefaultPickupCheckoutStepValidator.java | a35e25a27d704a9e8a3e90048989526d72a4b606 | [] | no_license | lun130220/hybris | da00774767ba6246d04cdcbc49d87f0f4b0b1b26 | 03c074ea76779f96f2db7efcdaa0b0538d1ce917 | refs/heads/master | 2021-05-14T01:48:42.351698 | 2018-01-07T07:21:53 | 2018-01-07T07:21:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,789 | java | /*
* [y] hybris Platform
*
* Copyright (c) 2000-2015 hybris AG
* All rights reserved.
*
* This software is the confidential and proprietary information of hybris
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms of the
* license agreement you entered into with hybris.
*
*
*/
package de.hybris.platform.storefront.checkout.steps.validation.impl;
import de.hybris.platform.acceleratorstorefrontcommons.checkout.steps.validation.ValidationResults;
import de.hybris.platform.acceleratorstorefrontcommons.controllers.util.GlobalMessages;
import de.hybris.platform.acceleratorstorefrontcommons.checkout.steps.validation.AbstractCheckoutStepValidator;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
/**
* Default implementation of pickup method validator.
*/
public class DefaultPickupCheckoutStepValidator extends AbstractCheckoutStepValidator
{
@Override
public ValidationResults validateOnEnter(final RedirectAttributes redirectAttributes)
{
if (!getCheckoutFlowFacade().hasValidCart())
{
LOG.info("Missing, empty or unsupported cart");
return ValidationResults.REDIRECT_TO_CART;
}
if (getCheckoutFlowFacade().hasNoDeliveryAddress())
{
GlobalMessages.addFlashMessage(redirectAttributes, GlobalMessages.INFO_MESSAGES_HOLDER,
"checkout.multi.deliveryAddress.notprovided");
return ValidationResults.REDIRECT_TO_DELIVERY_ADDRESS;
}
if (getCheckoutFlowFacade().hasNoDeliveryMode())
{
GlobalMessages.addFlashMessage(redirectAttributes, GlobalMessages.INFO_MESSAGES_HOLDER,
"checkout.multi.deliveryMethod.notprovided");
return ValidationResults.REDIRECT_TO_DELIVERY_METHOD;
}
return ValidationResults.SUCCESS;
}
}
| [
"lun130220@gamil.com"
] | lun130220@gamil.com |
ee404fe314da380562fc5c9f0f226d15e5d8a5ba | d2e35688ba0816cf3ba10fcf345f901f25936ff4 | /src/main/java/com/egen/repository/EmployeeRepository.java | 8ec51c34d37ec2960c6526e3ad5a26e5c0e5a4e5 | [] | no_license | vmanjunath13/Order_Picking_Service | 3865cb4e5d9a7c9e7ea0e06a3963dda83a456b5c | 339cdb765739bd59509a03a93f6da2940fdcbc82 | refs/heads/master | 2023-06-07T02:46:17.353143 | 2021-07-02T15:55:46 | 2021-07-02T15:55:46 | 381,545,765 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 272 | java | package com.egen.repository;
import com.egen.model.entity.Employee;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface EmployeeRepository extends JpaRepository<Employee, Long> {
}
| [
"vmanjunath@hawk.iit.edu"
] | vmanjunath@hawk.iit.edu |
eb1d9c2c72e78452de9f4228284a668bd6313cc0 | 4016fed159b4fbf140ee3bd710bfca250e7a6417 | /src/com/actorder/model/ActOrderService.java | 3aab9d189433142e59567528614825e4bdb26be1 | [] | no_license | kaku9103/CEA101_G- | fef5b9bbeb6a6080010e2242e2abe1e2aeaed93b | 76b58854fdd7eacbc9ffda78ab656f46d2fbc404 | refs/heads/main | 2023-02-03T11:02:02.804116 | 2020-12-24T08:54:48 | 2020-12-24T08:54:48 | 324,108,171 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,450 | java | package com.actorder.model;
import java.sql.Date;
import java.util.*;
public class ActOrderService {
private ActOrderDAO dao;
public ActOrderService() {
dao = new ActOrderDAO();
}
public ActOrderVO addActOrder(String actOdno,String actNo,String mbId
,Date odTime,String odStatus,Integer ppl,Integer totalPrice){
ActOrderVO actOrderVO = new ActOrderVO();
actOrderVO.setActOdno(actOdno);
actOrderVO.setActNo(actNo);
actOrderVO.setMbId(mbId);
actOrderVO.setOdTime(odTime);
actOrderVO.setOdStatus(odStatus);
actOrderVO.setPpl(ppl);
actOrderVO.setTotalPrice(totalPrice);
dao.insert(actOrderVO);
return actOrderVO;
}
public ActOrderVO updateActOrder(String actOdno,String actNo,String mbId
,Date odTime,String odStatus,Integer ppl,Integer totalPrice){
ActOrderVO actOrderVO = new ActOrderVO();
actOrderVO.setActOdno(actOdno);
actOrderVO.setActNo(actNo);
actOrderVO.setMbId(mbId);
actOrderVO.setOdTime(odTime);
actOrderVO.setOdStatus(odStatus);
actOrderVO.setPpl(ppl);
actOrderVO.setTotalPrice(totalPrice);
dao.update(actOrderVO);
return actOrderVO;
}
public void deleteActOrder(String actOdno){
dao.delete(actOdno);
}
public ActOrderVO getOneActOrder(String actOdno) {
return dao.findByPrimaryKey(actOdno);
}
public List<ActOrderVO> getAll() {
return dao.getAll();
}
}
| [
"p910345@gmail.com"
] | p910345@gmail.com |
6b71a0faaf57288f414393c67162e0fccc40ad9b | 0653ee42588d11c18a7b194b4cff665b9fb1a16e | /src/pattern/creational/prototype/Animal.java | dcfaf26ce41f1afce6b4a61a87a803d2e8c45613 | [] | no_license | leeho203/DesignPatternPractice | e7b34801d8ebf74b398fce95c97bf1b202ec2797 | 7f216befb23a39ba7a1f8d1bff4351fdbb32fa8a | refs/heads/master | 2021-01-20T01:51:50.730463 | 2017-04-25T08:46:54 | 2017-04-25T08:46:54 | 89,338,009 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 305 | java | package pattern.creational.prototype;
public class Animal implements Prototype{
private String sound;
public Animal(String sound){
this.sound = sound;
}
@Override
public Prototype doClone() {
return new Animal(sound);
}
public String toString(){
return "This dog says " + sound;
}
}
| [
"leeho203@nhnent.com"
] | leeho203@nhnent.com |
5f3bc725a1980bfcdde39ef92150bf381fdb60f4 | 052ac2bddf80746d4fe17159125ccef490d46657 | /src/main/java/com/hhjt/medicine/im/gears/UserManager.java | fc4f7e1cb46fbb89baf48e5647b69ee2f1c6f3f0 | [] | no_license | wjhuang88/imServer | bceb5aa40f90472125711b827888e35329007fdd | afaca80d784a791c7284f82aea976b47c1eb7342 | refs/heads/master | 2021-01-21T17:45:44.142575 | 2015-01-14T15:42:04 | 2015-01-14T15:42:04 | 28,496,386 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,335 | java | package com.hhjt.medicine.im.gears;
import io.netty.util.internal.chmv8.ConcurrentHashMapV8;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Map;
/**
* Created by GHuang on 14/12/26.
*/
public class UserManager {
private static UserManager ourInstance = new UserManager();
public static UserManager getInstance() {
return ourInstance;
}
private Map<String, UserData> userMap;
private Logger l = LoggerFactory.getLogger(ChannelManager.class);
private UserManager() {
userMap = new ConcurrentHashMapV8<String, UserData>();
}
public String addUser(UserData data) {
String key = data.getUserId();
userMap.put(key, data);
l.info("User signed in, user_id = " + key + ", connect_id = " + data.getUserConnectId());
return key;
}
public UserData removeUser(String id) {
if (userMap.containsKey(id)) {
l.info("User signed out, user_id = " + id);
return userMap.remove(id);
} else {
l.info("User not exists.");
return null;
}
}
public UserData getUser(String id) {
if (userMap.containsKey(id)) {
return userMap.get(id);
} else {
l.info("User not exists.");
return null;
}
}
}
| [
"wjhuang@live.cn"
] | wjhuang@live.cn |
de56d6191c4214e63cfdc58f165db561ba1f0881 | febfc544e159af9f2ffd3b115955061dbb70e175 | /CSVOperations/src/change/ChangeCSV.java | eaccfe0a9d08e4395ad99a76526e417993ff1178 | [] | no_license | scanavan/ExpressionAnalysis | d5f0bd4d75d1dcbcb11b3d557b4b8d70d40a55f0 | 8c3a8116a77ba1296d459f1122fc45f52d037e3b | refs/heads/master | 2021-05-16T11:29:32.887734 | 2018-02-08T20:30:51 | 2018-02-08T20:30:51 | 104,893,781 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 806 | java | package change;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.List;
import com.opencsv.CSVReader;
import com.opencsv.CSVWriter;
public class ChangeCSV {
public static void changeCsv() throws IOException {
CSVReader reader2 = new CSVReader(new FileReader("C:\\Users\\asthasharma017\\Development\\Expression Analysis data\\result_emotions_1_epoch.csv"));
List<String[]> allElements = reader2.readAll();
int i=1;
while(i<=194917) {
allElements.remove(i);
}
FileWriter sw = new FileWriter("C:\\Users\\asthasharma017\\Development\\Expression Analysis data\\result_emotions_1_epoch_new.csv");
CSVWriter writer = new CSVWriter(sw);
writer.writeAll(allElements);
writer.close();
}
}
| [
"asthasharma@mail.usf.edu"
] | asthasharma@mail.usf.edu |
0e44cab508c55d3c837255ec0db625cfedef701c | dc76d64c946b1e928322c50296b4ec7f705a2f04 | /src/main/java/com/swingfrog/summer/db/repository/AsyncCacheRepositoryDao.java | adfeac216800b2bb108084a26c73b4e83b561895 | [
"Apache-2.0"
] | permissive | learn-knowlege/Summer | 4512899da9102caf497175fe12c5cad2ae2b0081 | a507a1cbf427b69e74a24294827bbd24ae614e97 | refs/heads/master | 2022-07-30T20:45:24.022302 | 2020-05-20T12:56:17 | 2020-05-20T12:56:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,000 | java | package com.swingfrog.summer.db.repository;
import com.google.common.collect.Maps;
import com.google.common.collect.Queues;
import com.google.common.collect.Sets;
import com.swingfrog.summer.db.DaoRuntimeException;
import com.swingfrog.summer.util.StringUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;
import java.util.stream.Collectors;
public abstract class AsyncCacheRepositoryDao<T, K> extends CacheRepositoryDao<T, K> {
private static final Logger log = LoggerFactory.getLogger(AsyncCacheRepositoryDao.class);
private static final String PREFIX = "AsyncCacheRepositoryDao";
private final ConcurrentLinkedQueue<Change<T, K>> waitChange = Queues.newConcurrentLinkedQueue();
private final ConcurrentMap<T, Long> waitSave = Maps.newConcurrentMap();
private long delayTime = delayTime();
private final Set<K> waitAdd = Sets.newConcurrentHashSet();
protected abstract long delayTime();
@Override
void init() {
super.init();
AsyncCacheRepositoryMgr.get().getScheduledExecutor().scheduleWithFixedDelay(
() -> delay(false),
delayTime,
delayTime,
TimeUnit.MILLISECONDS);
AsyncCacheRepositoryMgr.get().addHook(() -> delay(true));
if (delayTime >= expireTime()) {
throw new DaoRuntimeException(String.format("async cache repository delayTime[%s] must be less than expireTime[%s]", delayTime, expireTime()));
}
}
private synchronized void delay(boolean force) {
try {
while (!waitChange.isEmpty()) {
Change<T, K> change = waitChange.poll();
if (change.add) {
delayAdd(change.obj, change.pk);
} else {
delayRemove(change.pk);
}
}
delaySave(force);
} catch (Throwable e) {
log.error("AsyncCacheRepository delay failure.");
log.error(e.getMessage(), e);
}
}
private void delayAdd(T obj, K primaryKey) {
if (waitAdd.remove(primaryKey)) {
super.addByPrimaryKeyNotAddCache(obj, primaryKey);
}
}
private void delayRemove(K pk) {
super.removeByPrimaryKeyNotRemoveCache(pk);
}
private void delaySave(boolean force) {
long time = System.currentTimeMillis();
List<T> list = waitSave.entrySet().stream()
.filter(entry -> force || time - entry.getValue() >= delayTime)
.map(Map.Entry::getKey)
.collect(Collectors.toList());
if (!list.isEmpty()) {
super.save(list);
}
list.stream().filter(k -> force || time - waitSave.get(k) >= delayTime).forEach(waitSave::remove);
log.info("async cache repository table[{}] delay save nowSaveCount[{}] waitSaveCount[{}]", tableMeta.getName(), list.size(), waitSave.size());
}
@SuppressWarnings("unchecked")
@Override
public boolean add(T obj) {
super.autoIncrementPrimaryKey(obj);
K primaryKey = (K) TableValueBuilder.getPrimaryKeyValue(tableMeta, obj);
super.addCache(primaryKey, obj);
waitAdd.add(primaryKey);
waitChange.add(new Change<>(obj, primaryKey));
return true;
}
@SuppressWarnings("unchecked")
@Override
public boolean remove(T obj) {
return removeByPrimaryKey((K) TableValueBuilder.getPrimaryKeyValue(tableMeta, obj));
}
@Override
public boolean removeByPrimaryKey(K primaryKey) {
super.removeCacheByPrimaryKey(primaryKey);
if (waitAdd.remove(primaryKey)) {
return true;
}
waitChange.add(new Change<>(primaryKey));
return true;
}
@SuppressWarnings("unchecked")
@Override
public boolean save(T obj) {
Objects.requireNonNull(obj, "async cache repository save param not null");
K pk = (K) TableValueBuilder.getPrimaryKeyValue(tableMeta, obj);
T newObj = get(pk);
if (obj != newObj) {
log.warn("async cache repository table[{}] primary key[{}] expire, can't save", tableMeta.getName(), pk);
return false;
}
waitSave.computeIfAbsent(obj, k -> System.currentTimeMillis());
return true;
}
@Override
public void save(List<T> objs) {
objs.forEach(this::save);
}
@Override
public T getOrCreate(K primaryKey, Supplier<T> supplier) {
T entity = get(primaryKey);
if (entity == null) {
synchronized (StringUtil.getString(PREFIX, tableMeta.getName(), "getOrCreate", primaryKey)) {
entity = get(primaryKey);
if (entity == null) {
entity = supplier.get();
add(entity);
}
}
}
return entity;
}
private static class Change<T, K> {
T obj;
K pk;
boolean add;
Change(T obj, K pk) {
this.obj = obj;
this.pk = pk;
this.add = true;
}
Change(K pk) {
this.pk = pk;
this.add = false;
}
}
public boolean syncAdd(T obj) {
return super.add(obj);
}
public boolean syncRemove(T obj) {
return super.remove(obj);
}
public boolean syncRemoveByPrimaryKey(K primaryKey) {
return super.removeByPrimaryKey(primaryKey);
}
public boolean syncSave(T obj) {
return super.save(obj);
}
public void syncSave(List<T> objs) {
super.save(objs);
}
public T syncGetOrCreate(K primaryKey, Supplier<T> supplier) {
return super.getOrCreate(primaryKey, supplier);
}
}
| [
"swingfrog@qq.com"
] | swingfrog@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.