Keeping track of parts selected and approved already
I have the following tables
create table table_one
table_id varchar2(40),
location_place varchar2 (100)
);made using the following insert statement
insert into table_one
(table_id, location_place)
values
('g1223', 'NEWYORK');
insert into table_one
(table_id, location_place)
values
('g1224', 'BOSTON');
insert into table_one
(table_id, location_place)
values
('g1225', 'DALLAS');
insert into table_one
(table_id, location_place)
values
('g1226', 'NEWYORK');
insert into table_one
(table_id, location_place)
values
('g1226', 'PARIS');
insert into table_one
(table_id, location_place)
values
('g1226', 'ABIDJAN');
now my question is, I have the idea in my mind already but the syntax is the main problem since I am still a beginer in oracle. I can do this easily in visual.studio.net but I have to do it first in oracle to test it out and see whether it works.
question
I am trying to create a simple interface whereby from the above table, three table_id will be displayed and basically what happens is the user has to look for those three table_id physically in the real world. Now if those table_id has been found, the user is able to enter a simple input like Y or 1 which signify found and N or 0 signify not found. Now once the input are entered, those table_id are transferred to a new table called table_two. see code
create table table_two
table_id varchar2(40),
location_place varchar2 (100)
);THe idea of using a table_two is to prevent the same table_id from being picked and looked for all the time. Instead, what is meant to happen is basically everyday a new table_id from table_one is going to be picked and the user will search for them phyiscally and input 1 or Y, this has to occurs so that in a year all table_id are searched for physically. Note also, sometimes the user might not be able to get to all table_id picked for that day. Also, table_one techincally has up to 300,000 table_ids. These are just samples I included. My question though. How can this simple interface be implemented. I will appreciate any help. Thank you
Edited by: user13328581 on Aug 23, 2010 12:42 PM
I just noticed your table actually appears to use a combination of table_id and location_place as its primary key. Is this correct, does your primary key consist of these 2 columns, or is there a different column that by itself is the primary key? As is, my suggested solution won't work, but if you can tell me this, I can give you an example that will work.
If I assume you use both columns as your primary key, here are 2 options for you:
CREATE TABLE table_three
( table_id VARCHAR2(40) NOT NULL
, location_place VARCHAR2(100) NOT NULL
, date_found DATE
INSERT INTO table_three
VALUES ('g1226', 'NEWYORK', SYSDATE-10);Then use the following query to populate your list of table_id/locations to check:
SELECT t1.*
FROM table_one t1
, table_three t3
WHERE t1.table_id = t3.table_id (+) -- (+) for outer join, since we want to include all values in table_one, whether or not there's a record for that value in table_three
AND t1.location_place = t3.location_place (+)
AND ( t3.date_found <= ADD_MONTHS(SYSDATE, -12)
OR t3.date_found IS NULL
;(given the one record inserted in table_three, this query will return 5 records)
Or, if you want a record of when something was checked and whether it got a 'Y' or an 'N' (instead of the above, which assumes you only care if something is a 'Y'), you can use:
CREATE TABLE table_four
( table_id VARCHAR2(40) NOT NULL
, location_place VARCHAR2(100) NOT NULL
, date_checked DATE
, found_flag CHAR(1)
INSERT INTO table_four
VALUES ('g1226', 'NEWYORK', SYSDATE-10, 'Y');Then use the following query to populate your list of table_id/locations to check:
SELECT t1.*
FROM table_one t1
WHERE NOT EXISTS (
SELECT 1
FROM table_four t4
WHERE t4.table_id = t1.table_id
AND t4.location_place = t1.location_place
AND found_flag = 'Y'
AND date_checked > ADD_MONTHS(SYSDATE, -12)
;And, if you do have multiple people checking these items, John's suggestion is really good.
Similar Messages
-
How can I edit imported audio track? After selecting and deleting region, and joining remaining parts, it keeps playing the track with the deleted region!
What am I doing wrong?After selecting and deleting region, and joining remaining parts, it keeps playing the track with the deleted region!
What am I doing wrong?
How exactly are you doing this?
When I cut out a part of an audio region, then drag the remaining parts together, so they are touching, the track will skip the cut out section when playing the file. Also, if I select the remaining parts of the region and use the command "Edit > join regions". This will create a new audio file with the cut out part deleted.
You should see this prompt, when you are joining the regions: -
Keeping track of portal content and transports
Hi,
We have a DEV portal Ep 6.0 sp19. We would now like to setup QA and PRD systems and need a way to manage content between portals.
The document 'Best Practice - Transporting NetWeaver Portal Content' suggests using a Word document to keep track of content changes and transports.
link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/519d369b-0401-0010-0186-ff7a2b5d2bc0
Is there a SAP template that can be used as a starting point for such a document?
Regards
SunilHi schlueterd!
Build a small applet extending Runnable, ie: a threaded one. Each time its "run" method loops the applet will read an small input file and updates "displaying score" component.
Of course you'll need to update this input file as soon as possible.
You'll use few classes and a good reference is any applet displaying scrolling text (search for open source in the web).
I hope it helps. -
Keeping track of baseball runners and score.
I am new to java and am trying to come up with a way to keep track of base runners and scores for a baseball game. again I am new so the simplest way is preferred. Any help would be appreciated, thanks alot.
dean.Hi schlueterd!
Build a small applet extending Runnable, ie: a threaded one. Each time its "run" method loops the applet will read an small input file and updates "displaying score" component.
Of course you'll need to update this input file as soon as possible.
You'll use few classes and a good reference is any applet displaying scrolling text (search for open source in the web).
I hope it helps. -
BPC : Keeping track of previous entries and nullify them
Hi,
i have a situation, assuming i have entered a value of 10 for account(sales1), entity(asia), category(budget). then i realized i have made a mistake, and that the value 10 is for account(sales2), entity(asia), category(budget).
By doing things the normal way, there are 2 data created in the database. But is there a feature within BPC that allows me to keep track of the first entry that i have done, so that i can nullify (or zerorize) the entry?
This is assuming account(sales1) and account(sales2) fall under different parents, and that my input schedule is a single row input schedule (i.e. not your typical large input schedules where you can cover a lot of different dimension members)
thanks in advance for any feedback possible.
cheersThe best tool in BPC to review the inputs is the Audit functionality. If you have this enabled and have the appropriate security, you would be able run a report to see the input value and string, who entered the data. From this information you would be able to resend a nulling amount to the DB and resend the original amount.
The only other options, which are requested frequently are for validations. The NW version allows you to build the validations into the back-up to test for conditions prior to sending. In the MS version, the validations are accounts in the application account dimension, or it could be (this is not easy) an additional application that allows for only valid combinations, defined by someone, to be available in input and report frameworks using evdre and suppression. Hopefully to limit your chances of selecting a bad account.
But unless the Audit functionality is invoked for each category, and Office functions, I am afraid you will not have any tracking mechinism.
Hope this helps. -
Any table keep track of Sales order and relevant IDOC
hi all,
Do we have any table to keep track Sales order and its relevant IDOC in the system?
A list of sales order# given by user, from the list, we would like to find a faster way to get the corresponding IDOC.
thanks.Hi Reetha,
EDIDS table would have the IDOC Number & sales order number. Parameter 2 is the field in EDIDS which would have the sales order number.
I understand that this table would have many records but i dont think any other table would have the above combination. If you get any other table, then pls. do update @ it on this thread.
Thanks,
Best regards,
Prashant -
How to create a part selection and a part list ALV in the same screen
Hello,
I will want to realize in a screen a part lists ALV and a part selection for the list.
I have created a container with a splitter , but I do not know how to carry out the selection part.
Thank you for your assistance.
RegardsHello
If you want to have the selections and the ALV list displayed on the same dynrpo then create a dynpro that contains in the upper part the selection/input fields and in the lower part place a custom container for the ALV grid.
If you want to be more flexible then you could use a subscreen for the selection/input fields.
There is no point in using a splitter container because we cannot place normal input fields into a container but only controls.
Regards
Uwe -
Keep track of user logins and time
Is there any way to track users on our xserve quad xeon...such as login date and times?
Hello, tinafromrandolph, and welcome to the AppleBoards,
What services are you interested in keeping track of? AFP, for instance, logging can be set to monitor anything from login/out times to file actions.
You would need to parse the log data in some way if you were looking to make a regular report or something like that, but that's true of about any log file you want to investigate. It largely depends on what service(s) you want to monitor and how detailed their logging is, but a lot of stuff is or can be logged.
If you are more specific there may be more detailed help people can provide.
=Tod -
JTabbedPane keeps track of last selected tab
Hi everybody,
experiencing some problems with swing...
I've got a javax.swing.JTabbedPane whose behaviour is kind of strange: I need my application to have always the same tab selected at initialisation, which is very simple in theory. In my initialisation method I just do:
MainTab.setSelectedIndex(0);
But instead of selecting the first tab (index 0), it keeps selected the one I last chose in the previous run.
Any idea?
Thanks in advance.
JON HAITZHi calvino_ind,
I am unfortunately not allowed to disclose my entire code, but I'm posting the code part where the problem may lie so that you can try to guess where the problem comes from:
public class VitalSignMonitorView extends FrameView {
public VitalSignMonitorView(SingleFrameApplication app) {
super(app);
initComponents();
init();
// status bar initialization - message timeout, idle icon and busy animation, etc
ResourceMap resourceMap = getResourceMap();
int messageTimeout = resourceMap.getInteger("StatusBar.messageTimeout");
messageTimer = new Timer(messageTimeout, new ActionListener() {
public void actionPerformed(ActionEvent e) {
statusMessageLabel.setText("");
messageTimer.setRepeats(false);
int busyAnimationRate = resourceMap.getInteger("StatusBar.busyAnimationRate");
for (int i = 0; i < busyIcons.length; i++) {
busyIcons[i] = resourceMap.getIcon("StatusBar.busyIcons[" + i + "]");
busyIconTimer = new Timer(busyAnimationRate, new ActionListener() {
public void actionPerformed(ActionEvent e) {
busyIconIndex = (busyIconIndex + 1) % busyIcons.length;
statusAnimationLabel.setIcon(busyIcons[busyIconIndex]);
idleIcon = resourceMap.getIcon("StatusBar.idleIcon");
statusAnimationLabel.setIcon(idleIcon);
progressBar.setVisible(false);
// connecting action tasks to status bar via TaskMonitor
TaskMonitor taskMonitor = new TaskMonitor(getApplication().getContext());
taskMonitor.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
public void propertyChange(java.beans.PropertyChangeEvent evt) {
String propertyName = evt.getPropertyName();
if ("started".equals(propertyName)) {
if (!busyIconTimer.isRunning()) {
statusAnimationLabel.setIcon(busyIcons[0]);
busyIconIndex = 0;
busyIconTimer.start();
progressBar.setVisible(true);
progressBar.setIndeterminate(true);
} else if ("done".equals(propertyName)) {
busyIconTimer.stop();
statusAnimationLabel.setIcon(idleIcon);
progressBar.setVisible(false);
progressBar.setValue(0);
} else if ("message".equals(propertyName)) {
String text = (String)(evt.getNewValue());
statusMessageLabel.setText((text == null) ? "" : text);
messageTimer.restart();
} else if ("progress".equals(propertyName)) {
int value = (Integer)(evt.getNewValue());
progressBar.setVisible(true);
progressBar.setIndeterminate(false);
progressBar.setValue(value);
/** 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.
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
mainPanel = new javax.swing.JPanel();
MainTab = new javax.swing.JTabbedPane();
panelWelcome = new javax.swing.JPanel();
labelPatientChoice = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
tablePatientList = new javax.swing.JTable();
buttonSelectPatient = new javax.swing.JButton();
buttonCreatePatient = new javax.swing.JButton();
jSeparator5 = new javax.swing.JSeparator();
panelPatient = new javax.swing.JPanel();
jSeparator1 = new javax.swing.JSeparator();
jSeparator2 = new javax.swing.JSeparator();
jSeparator3 = new javax.swing.JSeparator();
jSeparator4 = new javax.swing.JSeparator();
m_PanelPI = new javax.swing.JPanel();
mPI_LabelSex = new javax.swing.JLabel();
mPI_LabelName = new javax.swing.JLabel();
mPI_Name = new javax.swing.JTextField();
mPI_LabelSurname = new javax.swing.JLabel();
mPI_Surname = new javax.swing.JTextField();
mPI_LabelBirthDate = new javax.swing.JLabel();
mPI_BirthDateChooser = new com.toedter.calendar.JDateChooser();
mPI_SexComboBox = new javax.swing.JComboBox();
m_PanelAI = new javax.swing.JPanel();
mAI_LabelWeight = new javax.swing.JLabel();
mAI_Height = new javax.swing.JTextField();
mAI_LabelHeight = new javax.swing.JLabel();
mAI_Weight = new javax.swing.JTextField();
m_PanelSI = new javax.swing.JPanel();
mSI_CentreRegDate = new javax.swing.JLabel();
mSI_LabelSystemRegDate = new javax.swing.JLabel();
mSI_CentreRegDateChooser = new com.toedter.calendar.JDateChooser();
mSI_SystemRegDateFormattedTextField = new javax.swing.JFormattedTextField();
jButton1 = new javax.swing.JButton();
mG_PatientId = new javax.swing.JTextField();
mG_LabelPatientId = new javax.swing.JLabel();
jButton2 = new javax.swing.JButton();
panelContactPerson = new javax.swing.JPanel();
panelIllness = new javax.swing.JPanel();
panelDrugs = new javax.swing.JPanel();
panelDevice = new javax.swing.JPanel();
panelMeasurement = new javax.swing.JPanel();
jScrollPane2 = new javax.swing.JScrollPane();
listMeasurementType = new javax.swing.JList();
labelSelectMeasurementType = new javax.swing.JLabel();
jSeparator6 = new javax.swing.JSeparator();
jScrollPane3 = new javax.swing.JScrollPane();
tableMeasurements = new javax.swing.JTable();
labelTableMeasurements = new javax.swing.JLabel();
jSeparator7 = new javax.swing.JSeparator();
labelSelectedMeasurementType = new javax.swing.JLabel();
textFieldSelectedMeasurementType = new javax.swing.JTextField();
panelMeasurementDisplay = new javax.swing.JPanel();
jTextFieldSelectedPatient = new javax.swing.JTextField();
jLabel14 = new javax.swing.JLabel();
menuBar = new javax.swing.JMenuBar();
javax.swing.JMenu fileMenu = new javax.swing.JMenu();
javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem();
javax.swing.JMenu helpMenu = new javax.swing.JMenu();
javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem();
statusPanel = new javax.swing.JPanel();
javax.swing.JSeparator statusPanelSeparator = new javax.swing.JSeparator();
statusMessageLabel = new javax.swing.JLabel();
statusAnimationLabel = new javax.swing.JLabel();
progressBar = new javax.swing.JProgressBar();
mainPanel.setAutoscrolls(true);
mainPanel.setName("mainPanel"); // NOI18N
MainTab.setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT);
org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(vitalsignmonitor.VitalSignMonitorApp.class).getContext().getResourceMap(VitalSignMonitorView.class);
MainTab.setToolTipText(resourceMap.getString("MainTab.toolTipText")); // NOI18N
MainTab.setName("MainTab"); // NOI18N
panelWelcome.setToolTipText(resourceMap.getString("panelWelcome.toolTipText")); // NOI18N
panelWelcome.setEnabled(false);
panelWelcome.setName("panelWelcome"); // NOI18N
labelPatientChoice.setFont(resourceMap.getFont("labelPatientChoice.font")); // NOI18N
labelPatientChoice.setText(resourceMap.getString("labelPatientChoice.text")); // NOI18N
labelPatientChoice.setEnabled(false);
labelPatientChoice.setName("labelPatientChoice"); // NOI18N
jScrollPane1.setName("jScrollPane1"); // NOI18N
tablePatientList.setAutoCreateRowSorter(true);
tablePatientList.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
new String [] {
"Patient_ID", "Surname", "Name"
boolean[] canEdit = new boolean [] {
false, false, false
public boolean isCellEditable(int rowIndex, int columnIndex) {
return canEdit [columnIndex];
tablePatientList.setName("tablePatientList"); // NOI18N
tablePatientList.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
tablePatientListMouseClicked(evt);
jScrollPane1.setViewportView(tablePatientList);
buttonSelectPatient.setText(resourceMap.getString("buttonSelectPatient.text")); // NOI18N
buttonSelectPatient.setName("buttonSelectPatient"); // NOI18N
buttonSelectPatient.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
buttonSelectPatientMouseClicked(evt);
buttonCreatePatient.setText(resourceMap.getString("buttonCreatePatient.text")); // NOI18N
buttonCreatePatient.setName("buttonCreatePatient"); // NOI18N
buttonCreatePatient.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
buttonCreatePatientMouseClicked(evt);
jSeparator5.setName("jSeparator5"); // NOI18N
javax.swing.GroupLayout panelWelcomeLayout = new javax.swing.GroupLayout(panelWelcome);
panelWelcome.setLayout(panelWelcomeLayout);
panelWelcomeLayout.setHorizontalGroup(
panelWelcomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelWelcomeLayout.createSequentialGroup()
.addGap(20, 20, 20)
.addGroup(panelWelcomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE)
.addComponent(jSeparator5, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE)
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelWelcomeLayout.createSequentialGroup()
.addComponent(labelPatientChoice, javax.swing.GroupLayout.PREFERRED_SIZE, 179, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelWelcomeLayout.createSequentialGroup()
.addComponent(buttonSelectPatient)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 53, Short.MAX_VALUE)
.addComponent(buttonCreatePatient)))
.addGap(514, 514, 514))
panelWelcomeLayout.setVerticalGroup(
panelWelcomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelWelcomeLayout.createSequentialGroup()
.addGap(19, 19, 19)
.addGroup(panelWelcomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(buttonSelectPatient)
.addComponent(buttonCreatePatient))
.addGap(11, 11, 11)
.addComponent(labelPatientChoice)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jSeparator5, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(13, 13, 13)
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 539, Short.MAX_VALUE)
.addGap(29, 29, 29))
MainTab.addTab(resourceMap.getString("panelWelcome.TabConstraints.tabTitle"), panelWelcome); // NOI18N
panelPatient.setFocusable(false);
panelPatient.setName("panelPatient"); // NOI18N
panelPatient.addComponentListener(new java.awt.event.ComponentAdapter() {
public void componentShown(java.awt.event.ComponentEvent evt) {
panelPatientComponentShown(evt);
jSeparator1.setName("jSeparator1"); // NOI18N
jSeparator2.setName("jSeparator2"); // NOI18N
jSeparator3.setName("jSeparator3"); // NOI18N
jSeparator4.setName("jSeparator4"); // NOI18N
m_PanelPI.setBorder(javax.swing.BorderFactory.createTitledBorder(null, resourceMap.getString("m_PanelPI.border.title"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, resourceMap.getFont("m_PanelPI.border.titleFont"))); // NOI18N
m_PanelPI.setName("m_PanelPI"); // NOI18N
mPI_LabelSex.setText(resourceMap.getString("mPI_LabelSex.text")); // NOI18N
mPI_LabelSex.setName("mPI_LabelSex"); // NOI18N
mPI_LabelName.setText(resourceMap.getString("mPI_LabelName.text")); // NOI18N
mPI_LabelName.setName("mPI_LabelName"); // NOI18N
mPI_Name.setBackground(resourceMap.getColor("mPI_Name.background")); // NOI18N
mPI_Name.setText(resourceMap.getString("mPI_Name.text")); // NOI18N
mPI_Name.setDisabledTextColor(resourceMap.getColor("mPI_Name.disabledTextColor")); // NOI18N
mPI_Name.setName("mPI_Name"); // NOI18N
mPI_LabelSurname.setText(resourceMap.getString("mPI_LabelSurname.text")); // NOI18N
mPI_LabelSurname.setName("mPI_LabelSurname"); // NOI18N
mPI_Surname.setText(resourceMap.getString("mPI_Surname.text")); // NOI18N
mPI_Surname.setDisabledTextColor(resourceMap.getColor("mPI_Surname.disabledTextColor")); // NOI18N
mPI_Surname.setName("mPI_Surname"); // NOI18N
mPI_LabelBirthDate.setText(resourceMap.getString("mPI_LabelBirthDate.text")); // NOI18N
mPI_LabelBirthDate.setName("mPI_LabelBirthDate"); // NOI18N
mPI_BirthDateChooser.setBackground(resourceMap.getColor("mPI_BirthDateChooser.background")); // NOI18N
mPI_BirthDateChooser.setName("mPI_BirthDateChooser"); // NOI18N
mPI_SexComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Male", "Female" }));
mPI_SexComboBox.setName("mPI_SexComboBox"); // NOI18N
javax.swing.GroupLayout m_PanelPILayout = new javax.swing.GroupLayout(m_PanelPI);
m_PanelPI.setLayout(m_PanelPILayout);
m_PanelPILayout.setHorizontalGroup(
m_PanelPILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(m_PanelPILayout.createSequentialGroup()
.addContainerGap()
.addGroup(m_PanelPILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addGroup(m_PanelPILayout.createSequentialGroup()
.addComponent(mPI_LabelName, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(mPI_Name, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(m_PanelPILayout.createSequentialGroup()
.addComponent(mPI_LabelSurname, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(mPI_Surname, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(m_PanelPILayout.createSequentialGroup()
.addComponent(mPI_LabelBirthDate, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(mPI_BirthDateChooser, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(m_PanelPILayout.createSequentialGroup()
.addComponent(mPI_LabelSex, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(mPI_SexComboBox, 0, 159, Short.MAX_VALUE)))
.addContainerGap(36, Short.MAX_VALUE))
m_PanelPILayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {mPI_Name, mPI_Surname});
m_PanelPILayout.setVerticalGroup(
m_PanelPILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(m_PanelPILayout.createSequentialGroup()
.addContainerGap()
.addGroup(m_PanelPILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(mPI_LabelName, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(mPI_Name, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(m_PanelPILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(mPI_LabelSurname, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(mPI_Surname, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(m_PanelPILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(mPI_LabelBirthDate, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(mPI_BirthDateChooser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(m_PanelPILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(mPI_LabelSex, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(mPI_SexComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
m_PanelAI.setBorder(javax.swing.BorderFactory.createTitledBorder(null, resourceMap.getString("m_PanelAI.border.title"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, resourceMap.getFont("m_PanelAI.border.titleFont"))); // NOI18N
m_PanelAI.setName("m_PanelAI"); // NOI18N
mAI_LabelWeight.setText(resourceMap.getString("mAI_LabelWeight.text")); // NOI18N
mAI_LabelWeight.setName("mAI_LabelWeight"); // NOI18N
mAI_Height.setDisabledTextColor(resourceMap.getColor("mAI_Height.disabledTextColor")); // NOI18N
mAI_Height.setName("mAI_Height"); // NOI18N
mAI_LabelHeight.setText(resourceMap.getString("mAI_LabelHeight.text")); // NOI18N
mAI_LabelHeight.setName("mAI_LabelHeight"); // NOI18N
mAI_Weight.setDisabledTextColor(resourceMap.getColor("mAI_Weight.disabledTextColor")); // NOI18N
mAI_Weight.setName("mAI_Weight"); // NOI18N
javax.swing.GroupLayout m_PanelAILayout = new javax.swing.GroupLayout(m_PanelAI);
m_PanelAI.setLayout(m_PanelAILayout);
m_PanelAILayout.setHorizontalGroup(
m_PanelAILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(m_PanelAILayout.createSequentialGroup()
.addContainerGap()
.addGroup(m_PanelAILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(mAI_LabelHeight, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(mAI_LabelWeight, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(m_PanelAILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(mAI_Weight, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(mAI_Height, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(38, Short.MAX_VALUE))
m_PanelAILayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {mAI_Height, mAI_Weight});
m_PanelAILayout.setVerticalGroup(
m_PanelAILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(m_PanelAILayout.createSequentialGroup()
.addContainerGap()
.addGroup(m_PanelAILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(mAI_Weight, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(mAI_LabelWeight, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(m_PanelAILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(mAI_LabelHeight, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(mAI_Height, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
m_PanelSI.setBorder(javax.swing.BorderFactory.createTitledBorder(null, resourceMap.getString("m_PanelSI.border.title"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, resourceMap.getFont("m_PanelSI.border.titleFont"))); // NOI18N
m_PanelSI.setName("m_PanelSI"); // NOI18N
mSI_CentreRegDate.setText(resourceMap.getString("mSI_CentreRegDate.text")); // NOI18N
mSI_CentreRegDate.setName("mSI_CentreRegDate"); // NOI18N
mSI_LabelSystemRegDate.setText(resourceMap.getString("mSI_LabelSystemRegDate.text")); // NOI18N
mSI_LabelSystemRegDate.setName("mSI_LabelSystemRegDate"); // NOI18N
mSI_CentreRegDateChooser.setBackground(resourceMap.getColor("mSI_CentreRegDateChooser.background")); // NOI18N
mSI_CentreRegDateChooser.setName("mSI_CentreRegDateChooser"); // NOI18N
mSI_SystemRegDateFormattedTextField.setBackground(resourceMap.getColor("mSI_SystemRegDateFormattedTextField.background")); // NOI18N
mSI_SystemRegDateFormattedTextField.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.DateFormatter()));
mSI_SystemRegDateFormattedTextField.setText(resourceMap.getString("mSI_SystemRegDateFormattedTextField.text")); // NOI18N
mSI_SystemRegDateFormattedTextField.setDisabledTextColor(resourceMap.getColor("mSI_SystemRegDateFormattedTextField.disabledTextColor")); // NOI18N
mSI_SystemRegDateFormattedTextField.setEnabled(false);
mSI_SystemRegDateFormattedTextField.setName("mSI_SystemRegDateFormattedTextField"); // NOI18N
javax.swing.GroupLayout m_PanelSILayout = new javax.swing.GroupLayout(m_PanelSI);
m_PanelSI.setLayout(m_PanelSILayout);
m_PanelSILayout.setHorizontalGroup(
m_PanelSILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(m_PanelSILayout.createSequentialGroup()
.addContainerGap()
.addGroup(m_PanelSILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(mSI_LabelSystemRegDate, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(mSI_CentreRegDate, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(m_PanelSILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(mSI_CentreRegDateChooser, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(mSI_SystemRegDateFormattedTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 151, Short.MAX_VALUE))
.addContainerGap(44, Short.MAX_VALUE))
m_PanelSILayout.setVerticalGroup(
m_PanelSILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(m_PanelSILayout.createSequentialGroup()
.addContainerGap()
.addGroup(m_PanelSILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(mSI_LabelSystemRegDate, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(mSI_SystemRegDateFormattedTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(m_PanelSILayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(mSI_CentreRegDate, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(mSI_CentreRegDateChooser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
jButton1.setText(resourceMap.getString("jButton1.text")); // NOI18N
jButton1.setEnabled(false);
jButton1.setName("jButton1"); // NOI18N
jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
ButtonSavePatientDataMouseClicked(evt);
mG_PatientId.setText(resourceMap.getString("mG_PatientId.text")); // NOI18N
mG_PatientId.setDisabledTextColor(resourceMap.getColor("mG_PatientId.disabledTextColor")); // NOI18N
mG_PatientId.setName("mG_PatientId"); // NOI18N
mG_LabelPatientId.setText(resourceMap.getString("mG_LabelPatientId.text")); // NOI18N
mG_LabelPatientId.setName("mG_LabelPatientId"); // NOI18N
jButton2.setText(resourceMap.getString("jButton2.text")); // NOI18N
jButton2.setName("jButton2"); // NOI18N
jButton2.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
ButtonModifyPatientDataMouseClicked(evt);
javax.swing.GroupLayout panelPatientLayout = new javax.swing.GroupLayout(panelPatient);
panelPatient.setLayout(panelPatientLayout);
panelPatientLayout.setHorizontalGroup(
panelPatientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelPatientLayout.createSequentialGroup()
.addGroup(panelPatientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelPatientLayout.createSequentialGroup()
.addContainerGap()
.addGroup(panelPatientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(m_PanelSI, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(m_PanelAI, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(m_PanelPI, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(515, 515, 515)
.addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(5, 5, 5)
.addComponent(jSeparator2, javax.swing.Group -
Keeping track of user selections - button highlights
Hello, I would like to be able to make an audio setup menu (3 tracks) and when a user returns to the menu, the button for that track will already be selected.
With other authoring programs I would use a GPRM script, but Encore doesn't have scripting/GPRM tracking as far as I know. Is there another way to do this?
Example:
English 5.1
Spanish 2.0
French 2.0
User selects French 2.0, watches a few clips and wants Enlish instead. When he returns to the menu, he sees this:
English 5.1
Spanish 2.0
French 2.0
Thanks!I have not used it, but see "Indicate the active audio or subtitle track" here:
http://help.adobe.com/en_US/encore/cs/using/WSbaf9cd7d26a2eabfe8074010 38582db29-7e8ca.html -
OIM Track request - all provisioned and approved
Hi experts,
is there any way we give permissions to ALL Users to track requests in OIM.
Now only xelsysadm can see all requests means requests which are approved and completed.
I am using OIM 10g .
Thanks,
PallaviUse Below Link:
Re: OIM 10g: Requests > Track Doesn't show any requests status
Re: OIM 10g: Requests > Track Doesn't show any requests status -
How to keep transform constant ratio selected and show instantly properties
When pasting an object as layer to base image, I keep select tool Show transform Controls selected. Pasted object has rectangles as expected but select tool doesn't display it's properties ribbon next to it, until I select object corner. Only then I can set keep ratio selection. 1.When opening new image, I have to set constant ratio each time again. How to set constant ratio constantly on? 2. Even if the ribbon always visible setting would be of a great help.
Thank you!
CS5, XP ProI don't think there's any way to get that setting to stick, unfortunately. Note that whenever you start Edit - Free Transform the H & W aren't locked together either.
You could try to get in the habit of holding the shift key down when sizing, to keep H & W resizing locked together.
-Noel -
Help keeping track of originals, thumbnails, and modified photos
My free hard drive space has dwindled to about 3GB (out of a 100-ish GB drive) because I have about 1100 high-resolution photos. The challenge: copy lesser-used photos to an external drive, but keep often-viewed photos on the internal drive. Problem is
1) I can't figure out how to differentiate between originals, thumbnails, and modified versions to know what to move (or not).
2) Do I have to create two different iPhoto libraries, one for/on the external drive and one on the internal drive?
There has GOT to be an easier way. iPhoto is eating my hard drive up but I'm worried about losing photos or sacrificing accessibility for storage space. Help!revsue
See my answer to your other post.
1) I can't figure out how to differentiate between originals, thumbnails, and modified versions to know what to move (or not).
Don't differentiate. Period. Never root around in the iPhoto Library Folder - any time you do you risk damaging your library.
2) Do I have to create two different iPhoto libraries, one for/on the external drive and one on the internal drive?
Yes you do, and it's not difficult at all.
Remember: It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss
Regards
TD -
HT5312 Keep being told to select and answer 3 security questions but only given option for 1.
When trying to download a (free) song, I keep being told "to help ensure the security of your Apple ID, choose three security questions and answers." However, when I go to appleid.apple.com, I am only give the option of choosing one security question. Help!
The 'send reset info' only shows if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account. If it's not showing then that implies that you haven't got one on your account, and you won't be able to add one until you can answer 2 of your security questions - in which case see if the instructions on this user tip helps you get the questions reset : https://discussions.apple.com/docs/DOC-4551
-
Keeping track of focus gains and losses
In my application, I have a text field that a user can type in an artist/title and search a music library for the query. This application is for a touchscreen so I've included a popup keyboard for the user since no keyboard will be available to use.
The idea behind it is the user touches the text field and gives it focus. Once focus is given to the text box, ther user will then be able to touch/click a JButton that will pop up a keyboard panel. I would like to pass to the keyboard panel which text field last had focus so as they touch the on-screen keys, it will type text into the last focused text field.
I read over the tutorial for using focus listeners and I understand how that works, but how can I go about getting the object that last had focus?
I'm thinking along the lines of have a focus listener on the JButton that displays the keyboard:
// This is called when the user touches the button to display the keyboard
if (artistText.focusLost)
keyboardFocus("artist");
}Obviously the above code isn't valid, but it's how I'm trying to explain myself. keyboardFocus method will have code to setText() to the artistText text field. I can figure that one out.I was testing something before you replied and I was wondering if it would be practical.
Here is the partial code on my GUI class:
// Calls the keyboardFocus() method whenever focus is lost on the field
// and passes the component name
private void titleTextFocusLost (java.awt.event.FocusEvent evt)
keyboardFocus(titleText);
// Takes the passed component and stores it in a public variable
private void keyboardFocus (JTextField comp)
lastFocus = comp;
// Variable that stores that compoent that last had focus
public static JTextField lastFocus;Here is a snippet from my Keyboard class:
// Then the Q button is pressed, the letter Q is set as the text to the last
// JTextField of focus
private void qKeyActionPerformed (java.awt.event.ActionEvent evt)
GUI.lastFocus.setText ("Q");
} If this isn't practical, I'd definate be willing to change it, but what do you think?
Maybe you are looking for
-
Itunes won't open- unknown error -50
My itunes won't open. everytime i click on it, it says unknown error -50. I have read other post and ppl say deauthorize it and authorize it again. But how am i suppose to deauthorize it when I can't even see the screen or it wont open at all. Please
-
Missing hard drive space on Z61m with Windows XP
I have a Z61m running XP that I want to upgrade to Windows 7. Windows 7 Upgrade Advisor tells me I need at least 1 6GB of space. My machine only has 12.6 GB of available space on C. I have checked the properties of each folder and file (hidden or not
-
Hi, I am looking for the following information, if you could help it would be great 1) Details on Hardware and licensing cost for BO (approximate cost). 2) what are prerequisite for BO 4.0 i.e. BI version and support pack level details. Whether to ad
-
CS6 Windows 8 64 bit Wont install acrobat x pro
Hi, All of the other products in the suite install fine but this come up with an error log showing WARNING: DW066: OS requirements not met for {9E0AF030-AC6B-11E0-8837-00215AEA26C9} Microsoft Visual C++ 2010 Redistributable Package (x86) 10.0.40219.1
-
Hi, I am going through the documents of SAP Business suite on HANA DB and didnt found any information on the configuraiton of application servers. After migration of business suite to HANA, as still end users use SAP front end to login through applic