Basic question .... How can I set up a page for visitors to enter data?
Is it possible in iWeb 08 to set up a page that visitors enter data in specific fields and allow me to retrieve that information? Like filling out a form, then emailing the form to my .mac mail.
Thanks.
Yes Douglas you can set up a form that collects information. Use an html snippet and get the form code from such places as
Wufoo.com
Formlogix.com
Createforms.com
bravenet.com
and others you may find by googling it.
Mireille
Similar Messages
-
I am using ipad 2 and am using iwork paged. how can i set up iwork pages so that a page will scroll left to right or right to left instead of just up?
Here you are in a forum dedicated to Pages for OSX.
Most of us don't use Pages for iOS.
Better ask in the iWork for iOS forum :
https://discussions.apple.com/community/app_store/iwork_for_ios
Yvan KOENIG (VALLAURIS, France) lundi 18 juillet 2011 22:38:20
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
How can i set the alternating colors for a table rows
Dear All,
Please any one help me how can i set the Alternating colors for Table Rows.
i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.Hi,
The design property in Table properties should work for your requirement. Select "alternating" value for design.
Please see the API below:
design
Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
alternating - The table rows are displayed alternately in a different color.
standard - The table background has one color. The individual table rows are displayed with grid net lines.
transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
Regards,
Jaya.
Edited by: VJR on Jun 17, 2009 6:43 PM -
How can I set up my Mac for two users to share photos, music etc
How can I set up my Mac for two users to share photos, music etc?
On the Mac with the libraries you want to share:
iTunes Preferences click on the Sharing tab and put a tick in 'Share by library on local network'.
iPhoto Preferences click on Sharing and put a tick against 'Share my photos'.
When launching the same apps on other Macs on the network the libraries should be available, listed on the left. -
How can I set up anApple ID for my 9 years old. Every time I try it tells me he is bolew the min age. If this is the case how can he download free games and how can he redeem his birthday $30 iTunes card? I dont want him to use my ID as it has my credit card details.
I'm very fustrated with this as it seems the Apple kit is for 13 years and older only.
Cheers
BradThat's great your 9-yr-old is responsible enough to handle an iTouch!
There's no way around the age limit. I suggest a family account that you, an adult, control. -
How can I set a point size for staticTexts
Hi everyone
How can I set a point size for staticTexts?
staticTexts.add({staticLabel:"Please select a tedious job"});
thanks
TeetanThank you Vandy
Thank you pixxxel schubser
And thank you Peter Kahrel
But Ho can call function for this script?
//======================================================================
Thank you Vandy
Thank you pixxxel schubser
And thank you Peter Kahrel
But Ho can call function for this script?
//======================================================================
var stringList = [
"01. digit at end: superscript",
"02. digit at beginning: superscript",
"03. notes applied to italic (table only)",
"04. Initial Cap+ markup",
"05. Small Cap + markup",
"06. del [ ] + markup",
"07. add an EM at beginning",
var win = new Window("dialog","Tedious Jobs_(\"TDJs\")");
this.windowRef = win;
win.grp = win.add ("group", undefined);
win.grp.alignChildren = "top";
win.grp.margins = 5;
win.grp2 = win.grp.add ("group", undefined);
win.grp2.orientation = "Column";
win.grp2.alignChildren = "left";
win.grp3 = win.grp.add ("group", undefined);
win.grp3.orientation = "Column";
win.grp3.alignChildren = "fill";
win.grp2.Txt1 = win.grp2.add ("statictext", undefined, "Please select a tedious job");
win.grp2.Txt1.indent = 0;
win.grp2.Ddl1 = win.grp2.add ("dropdownlist", undefined, stringList);
win.grp2.Ddl1.selection = 0;
win.grp2.sTxt1 = win.grp2.add ("statictext", undefined, "________________________________________");
win.grp2.sTxt3 = win.grp2.add ("statictext", undefined, "Be careful and pay attention in what you selected.");
win.grp2.sTxt3.graphics.font = ScriptUI.newFont ("Arial", "Regular", 10);
win.quitBtn = win.grp3.add("button", undefined, "Ok");
win.cancelBtn = win.grp3.add("button", undefined, "Cancel");
win.defaultElement = win.quitBtn;
win.cancelElement = win.cancelBtn;
win.quitBtn.onClick = function() {
win.close();
if (w.show() == 1) {
var mRes = mStringList.selection.text;
mSelection = mStringList.selection.index;
app.insertLabel( "mDialog", mSelection.join() ); // to store dropDownList positions (as a string "," delimited)
return mRes;
} else { exit(); }
app.doScript('main()', ScriptLanguage.JAVASCRIPT, undefined, UndoModes.FAST_ENTIRE_SCRIPT, "TDJs");
function main(){
var myObject;
var myCheckSelection = false;
if(app.documents.length > 0){
if(app.selection.length > 0){
switch(app.selection[0].constructor.name){
case "InsertionPoint":
case "Character":
case "Word":
case "TextStyleRange":
case "Line":
case "Paragraph":
case "TextColumn":
case "Text":
case "Cell":
case "Column":
case "Row":
case "Table":
mySelected = app.insertLabel( "mDialog", String(mySelection.selectedIndex) ); // to remember selection’s set
if(app.selection && app.selection[0].hasOwnProperty ("tedious_works") );
tedious_works();
else{
alert("Wrong selection. Please try again.");
function tedious_works() {
app.findGrepPreferences = app.changeGrepPreferences = null;
switch (mySelection.selectedIndex){
case 1: {
app.findGrepPreferences.findWhat = "^\\d";
app.changeGrepPreferences.position = 1936749411;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
break;
case 2:{
app.findGrepPreferences.findWhat = "(?i)\\(note.+\\)$";
app.changeGrepPreferences.appliedCharacterStyle = "Italic";
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "(附[註注].+)$";
app.changeGrepPreferences.appliedCharacterStyle = "Italic";
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
break;
case 3:{
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<a";
app.changeGrepPreferences.changeTo = "A";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<b";
app.changeGrepPreferences.changeTo = "B";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<c";
app.changeGrepPreferences.changeTo = "C";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<d";
app.changeGrepPreferences.changeTo = "D";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<e";
app.changeGrepPreferences.changeTo = "E";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<f";
app.changeGrepPreferences.changeTo = "F";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<g";
app.changeGrepPreferences.changeTo = "G";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<h";
app.changeGrepPreferences.changeTo = "H";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<i";
app.changeGrepPreferences.changeTo = "I";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<j";
app.changeGrepPreferences.changeTo = "J";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<k";
app.changeGrepPreferences.changeTo = "K";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<l";
app.changeGrepPreferences.changeTo = "L";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<m";
app.changeGrepPreferences.changeTo = "M";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<n";
app.changeGrepPreferences.changeTo = "N";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<o";
app.changeGrepPreferences.changeTo = "O";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<p";
app.changeGrepPreferences.changeTo = "P";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<q";
app.changeGrepPreferences.changeTo = "Q";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<r";
app.changeGrepPreferences.changeTo = "R";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<(?<!’)s";
app.changeGrepPreferences.changeTo = "S";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<t";
app.changeGrepPreferences.changeTo = "T";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<u";
app.changeGrepPreferences.changeTo = "U";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<v";
app.changeGrepPreferences.changeTo = "V";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<w";
app.changeGrepPreferences.changeTo = "W";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<x";
app.changeGrepPreferences.changeTo = "X";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<y";
app.changeGrepPreferences.changeTo = "Y";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<z";
app.changeGrepPreferences.changeTo = "Z";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
break;
case 4:{
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<A";
app.changeGrepPreferences.changeTo = "a";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<B";
app.changeGrepPreferences.changeTo = "b";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<C";
app.changeGrepPreferences.changeTo = "c";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<D";
app.changeGrepPreferences.changeTo = "d";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<E";
app.changeGrepPreferences.changeTo = "e";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<F";
app.changeGrepPreferences.changeTo = "f";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<G";
app.changeGrepPreferences.changeTo = "g";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<H";
app.changeGrepPreferences.changeTo = "h";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<I";
app.changeGrepPreferences.changeTo = "i";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<J";
app.changeGrepPreferences.changeTo = "j";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<K";
app.changeGrepPreferences.changeTo = "k";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<L";
app.changeGrepPreferences.changeTo = "l";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<M";
app.changeGrepPreferences.changeTo = "m";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<N";
app.changeGrepPreferences.changeTo = "n";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\<O";
app.changeGrepPreferences.changeTo = "o";
app.changeGrepPreferences.underline = true;
app.selection[0].changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences = app.changeGrepPreferences = null; -
How can I set the desktop image for client computers?
How can I set the desktop image for client computers using ARD or terminal?
How can I set the desktop image for client computers using ARD or terminal?
-
How can I set up auto respond for email
How can I set up auto respond for email?
Hey there jimmac169,
It sounds like you want to have the Mail app automatically reply to emails that come in. You can do this in the app itself, but in order for the function to work, Mail needs to be open. Take a look at this info from the following article:
Mail (Yosemite): Reply to, forward, or redirect messages
Automatically reply to or forward messages
Mail must be open before it can automatically forward or reply to messages. If you want to send automatic replies when Mail isn’t open—like when you’re on vacation—check with the provider of your email account.
Choose Mail > Preferences, then click Rules.
Click Add Rule, then type a name for the rule.
Indicate whether any or all of the conditions must be true for the rule to be applied.
Set the conditions that determine which messages to automatically reply to or forward.
Choose options from the “Perform the following actions” pop-up menu.
Forward messages: Choose Forward Message from the first pop-up menu, then enter the email addresses where you want to receive the forwarded messages. Click Message, then enter any text you want to include with the forwarded message. For example, you could explain that you’re automatically forwarding messages.
Reply to messages: Choose “Reply to Message” from the first pop-up menu, click “Reply message text,” then enter your reply. Mail includes the full text of the original message in your reply.
Click OK.
Carefully consider the rules you create. If they’re too broad, messages can be sent inadvertently or create loops (replies to replies you sent). If possible, test the rules.
Thank you for using Apple Support Communities.
All the very best,
Sterling -
How can I set screen saver clock which show time and date when all screen is black. Other phones have this option but I didn't find on iphone. Pl guide.
HA! I figured the find my iphone out!!!!! You can have more than one icloud account in "Mail, Contacts and Calendars". So my husband's & kids' phone icloud account under "settings, icloud "is their individual @me.com account. Set it to everything you want EXCEPT Find My Iphone. Then under "settings, mail/contacts/calendars" you set up both accounts (your @me.com which may already be there), then add another with the main appleID and enable ONLY Find My Iphone. Now when any of us log into Find My Iphone from any device with our main apple ID for the app store, all the devices show up!!!! YIPPEE. I made my own day!
I think the message I got previously was because I hadn't disabled the find my iphone on the @me.com account first. -
Pls advise on how can i set my default page
may i know how can i set my default page if i m using Apache as my web server n tomcat as my servlet container. thank u in advance
hi....i tried but cannot.
even when i jus change the "DirectoryIndex Index.html" to "DirectoryIndex abc.html it still gives me the page which shows the file in my directory of htdocs.
i guess if someone can advise me on how to change away this page first....
thank u -
How do I set the home page for a new tab?
How do I set the web page for when I open a new tab? Whenever I open a new tab it goes to an error site which freezes my firefox browser for a while. How do I change that? I want to open new tabs with google being the home page. I need to set up the homepage for a new tab NOT a new window. Please help! !
If Google is set as your Homepage in Firefox you can middle-click ''(push down on the mouse wheel)'' to open Google in a new Tab.
Or, you can add the feature to Firefox where clicking the New Tab button on the Tab Bar opens your Homepage in a new Tab. <br />
https://addons.mozilla.org/en-US/firefox/addon/new-tab-homepage/
And if you have a different Homepage set, this extension allows for any page you set in the extension's options to open when you use the new Tab button. <br />
https://addons.mozilla.org/en-US/firefox/addon/newtaburl/ -
how can I make a intro page for my website, then after the intro has run make the page automatically change to my website's home screen
You can do this using a meta refresh but the problem is you have to add it to the html file for the page very time you publish changes.
A better way is to create a splash page and upload it to the server outside of the folder produced by iWeb. Example HERE.
The meta refresh is added to the head section of the html file...
<meta http-equiv="refresh" content="32;url=http://www.domain.about.com/Page-Name.html">
The delay time in seconds is marked in blue and the URL to the redirect page is in red. -
How can I set a default file for JFileChooser
Hi. I am developing a p2p chat application and I have to unrelated questions.
1. How can I set a default file name for JFileChooser, to save a completly new file?
2. I have a JTextArea that I append recieved messages. But when a message is appended, the whole desktop screen refreshes. How can I prevent that?
Hope I was clear. Thanks in advance.Thank you for the first answer, it solved my problem. Here is the code for 2nd question, I've trimmed it a lot, hope I didn't cut off any critical code
public class ConversationWindow extends JFrame implements KeyListener,MessageArrivedListener,ActionListener,IOnlineUsrComp{
private TextArea incomingArea;
private Conversation conversation;
private JTextField outgoingField;
private JScrollPane incomingTextScroller;
private String userName;
private JButton inviteButton;
private JButton sendFileButton;
private JFileChooser fileChooser;
private FontMetrics fontMetrics;
private HashMap<String, String> onlineUserMap;
public void MessageArrived(MessageArrivedEvent e) {
showMessage(e.getArrivedMessage());
public ConversationWindow(Conversation conversation)
this.conversation=conversation;
userName=User.getInstance().getUserName();
sendFileButton=new JButton("Dosya G�nder");
sendFileButton.addActionListener(this);
inviteButton=new JButton("Davet et");
inviteButton.addActionListener(this);
incomingArea=new TextArea();
incomingArea.setEditable(false);
incomingArea.setFont(new Font("Verdana",Font.PLAIN,12));
fontMetrics =incomingArea.getFontMetrics(incomingArea.getFont());
incomingArea.setPreferredSize(new Dimension(300,300));
outgoingField=new JTextField();
outgoingField.addKeyListener(this);
incomingTextScroller=new JScrollPane(incomingArea);
JPanel panel=new JPanel();
panel.setLayout(new BoxLayout(panel,BoxLayout.PAGE_AXIS));
panel.add(inviteButton);
panel.add(sendFileButton);
panel.add(incomingTextScroller);
panel.add(outgoingField);
add(panel);
pack();
setTitle("Kişiler:");
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
setLocationRelativeTo(null);
addWindowListener(new CloseAdapter());
//Sends the message to other end
public void keyPressed(KeyEvent e) {
if(e.getKeyCode()==KeyEvent.VK_ENTER && e.getSource()==outgoingField)
String message=outgoingField.getText();
if(message.equals("")) return;
showMessage(userName+": "+message);
conversation.sendMessages(userName+": "+message);
outgoingField.setText("");
//Displays the recieved message
public void showMessage(String message)
if(fontMetrics.stringWidth(message)>incomingArea.getWidth())
int mid=message.length()/2;
StringBuilder sbld=new StringBuilder(message);
for(;mid<message.length();mid++)
if(message.charAt(mid)==' ')
sbld.setCharAt(mid, '\n');
message=sbld.toString();
break;
incomingArea.append("\n"+message);
} -
my daughter and i share the same i tunes account but want to have our own now. how can i set up a new account just for me and still move or transfer my existing apps, contacts etc?
Yes, with the credentials of the account that the media/content was purchased with.
Content is permanently tied to the account it is purchased with and cannot be merged, moved, or transferred to another account. -
How can I set a unique macro for the function keys on my wireless keyboard?
I'd like to use the F5 key as a quick stroke key for a sentence I use commonly - how can I set that up?
<http://www.keyboardmaestro.com>
Maybe you are looking for
-
Hello, Please help as I tunes havent got back to me yet!! A couple of months ago, I lost all of my music/itunes etc as my computer needed a complete restore. When it re-installed itunes there was no songs on it at all and would only let me transfer t
-
Help needed in Apex Integration with EBS
Hi All, Currently, when trying to integrate with EBS these are the steps I followed. 1) Created apex generate hash and apex launch procedure in APPS DB. 2) Created Profile in Application Developer Responsibility. 3) Saved above profile in system admi
-
Bluetooth audio out of synch with macbook video
The bluetooth audio is out of synch with the video playing on on my macbook. Does anyone know how to synch them up?
-
Enough RG1 balance is not available to issue the Goods
Hi All I am getting this error when I run "India - Excise Invoice Generation" Request by entering the Delivery Id. The Log file of the request showing this error ORA-20199: Enough RG1 Balance is not available to issue the Goods. But when I check the
-
Is there a version of Photoshop Bulgarian language
Is there a version of Photoshop Bulgarian language