-
- CutAndPasteTransfer cap = new CutAndPasteTransfer(true, null);
- cap.accept.setLabel("Accept");
- Dialog dialog = new Dialog(ap.alignFrame, "Enter New Feature Name", true);
- dialog.add(cap);
-
- cap.setText(textfield.getText());
-
- dialog.setBounds(frame.getLocation().x + frame.getSize().width + 5,
- frame.getLocation().y + 20, 300, 100);
- dialog.show();
-
- String featureName = cap.getText().trim();
- if (featureName.length() < 1)
- {
- return;
- }
+ SequenceI[] seqs = new SequenceI[searchResults.getSize()];
+ SequenceFeature[] features = new SequenceFeature[searchResults
+ .getSize()];