Google Answers Logo
View Question
 
Q: Swing ( No Answer,   1 Comment )
Question  
Subject: Swing
Category: Miscellaneous
Asked by: liveit-ga
List Price: $20.00
Posted: 06 Nov 2006 09:01 PST
Expires: 14 Nov 2006 19:17 PST
Question ID: 780524
Need swing items incorporate into program.

Request for Question Clarification by aceresearcher-ga on 06 Nov 2006 16:27 PST
Greetings, liveit!

If you can provide additional specifics about your needs, it would
assist in finding exactly the information you want.

What is the type of program for which you need Swing items?

Do you need a specific type of Swing widget, or just a list of
websites where you can choose and download from an assortment of
widgets?

Regards,
aceresearcher

Clarification of Question by liveit-ga on 07 Nov 2006 09:42 PST
The swing is using java swing.  I need certain function added like
edit menu with edit function, split screen .....

Clarification of Question by liveit-ga on 07 Nov 2006 21:20 PST
I have a program that I need to add an edit menu and split the screen
to view many frames.

Clarification of Question by liveit-ga on 11 Nov 2006 07:40 PST
/*ActionListener menuListener = new ActionListener() {
			public void actionPerformed(ActionEvent actionEvent) {
				if (clear".equals(actionEvent.getActionCommand()) ) {				try {
String selectedtext = viewAccess.getText();					if (selectedtext !=
null){							clipboardStr = new StringSelection(selectedtext);
							clipboard.setContents(clipboardStr,clipboardStr);
											viewAccess.setText("");	
					} catch (Exception e) {
					}
				} else if ( "copy".equals(actionEvent.getActionCommand()) ) {
					
					try {
	String selectedtext = viewAccess.getSelectedText();						if
(selectedtext != null){							clipboardStr = new
StringSelection(selectedtext);
							clipboard.setContents(clipboardStr,clipboardStr);
							pasteMenuItem.setEnabled(true);
						}	
					} catch (Exception e) {
					}
				} else if ( "cut".equals(actionEvent.getActionCommand()) ) {
										try {											String selectedtext = viewAccess.getSelectedText();
	if (selectedtext != null){						clipboardStr = new StringSelection(selectedtext);
							clipboard.setContents(clipboardStr,clipboardStr);

							int startmark = viewAccess.getSelectionStart();		
							int endmark = viewAccess.getSelectionEnd();
							viewAccess.replaceRange("",startmark,endmark);
							
							pasteMenuItem.setEnabled(true);
						}	
					} catch (Exception e) {
					}
				} else if ( "paste".equals(actionEvent.getActionCommand()) ) {
					Transferable clipboarddata = clipboard.getContents(clipboardStr);
					try{
						String text =  (String) clipboarddata
.getTransferData(DataFlavor.stringFlavor);
						view.insert(text,view.getCaretPosition());
					}catch(Exception e){
					}
				}
			}
		};*/
I am trying to cut and paste from a Jtable to Jtextarea, also I trying
to split pane for program ....
Answer  
There is no answer at this time.

Comments  
Subject: Re: Swing
From: barneca-ga on 06 Nov 2006 09:25 PST
 
unless this is jargon for some group with which i am not familiar, and
there is a researcher in the same group, i think you'll want to
clarify what in the world you're talking about...

-cab

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy