How can I set iTunes to check for new podcasts at a specific time of day?
Hi guys,
Anybody know a work around for this? I thought it was just a matter of clicking the refresh button at the time I want iTunes to look for new podcasts, but it doesn't seem to be the case...
I want iTunes to look for new podcasts at 2 am every day. So, at 2 am, I clicked the refresh button in the Podcasts section in iTunes. It would then say, in the settings, that iTunes last checked for podcasts at 2 am and will look again at 2 am the next day. Awesome, not. Every single time I try this, iTunes always resets itself and decides to look for podcasts at 2:49 pm. I can't work it out.
So, if anyone has a solution, I would love to hear it! I'm on the latest version. 9.0.2. Thanks for reading.
Regards,
Daniel
I'm looking for the solution to this issue too. Once or twice, a full system restart has seemed to solve the problem temporarily but it slips back to an afternoon refresh after a few days.
Seems like it would be simple for Apple to allow us to specify a time of day for refreshes in the preferences section.
Similar Messages
-
ITunes 9 checks for new podcasts how often?
I can't seem to find this info. What is the interval between checks?
I've been looking around for a PDF manual for iTunes 9 for Windows. Is there one?
No manual.
But iTunes doesn't seems to work like a program written for Windows --
Right. It is written to work correctly and be used with common sense.
Generally you don't have to have "Windows think" to get something done.
the book isn't helping me at all with configuring iTunes for podcasts
There's not much to configure since there are only like three buttons dealing with podcasts.
Go to the iTunes stores, find the podcasts you want then subscribe (or download individual episodes).
Then select the iPod in iTunes, click the Podcasts tab and set up what you want to sync.
Also see this -> iTunes video tutorial: Podcasts -
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 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 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 -
I have been charged by iTunes through my credit card but I didn't buy any application, how can i know iTunes charge me for?
You can check the purchase history on your account via the Store > View Account menu option on your computer's iTunes, though I'm not sure if that shows auto-renewing subscriptions. Have you added or changed your credit card details on your account (when you do then a small temporary store holding charge may be applied to check that the details are correct and valid, which should disappear within a few days) ? If you haven't changed your card details or can't find or don't recognise what the charge is for then you can contact iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
-
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 find iTunes 10.1 for windows. I don't want the cloud, and my iPod touch won't go back to prior versions.
Had the same problem. Also worked fine on my MacBook, but not on my new iMac. Here's what I did to fix it:
Archive and Reinstall Mac OS (takes about 40 minutes). This reverted my system back to 10.6.2. Just pop in your Mac OS disc that came with your computer. Mine had 10.6.2 on it, and "Archive and Install" is the default option. When it's done, run software update and update everything. Now it all works fine.
Somewhere along the way, some file got corrupted somehow. But doing an "archive and install" of your OS undoes whatever file damage was incurred, and allows everything to update normally via Software Update as it should. -
Changing the time iTunes checks for new podcast episodes
My broadband supplier allows me unlimited downloads from 00:00 to 08:00 and I want to use this time to download podcasts. I have set up iTunes to check for new episodes every day and download nay it finds but I can't set the start or end time.
I am running Windows XP, do I need to edit the registry ?
Thanks,
colinHi colin, welcome to discussions.
No need to edit the registry.
If you check the "Podcasts" tab in the Preferences, underneath the option "check for new episodes". There is written in tiny letters, when iTunes is going to check the next time. In your case, that would be the same hour you checked last time but on the next day.
So, I suggest you actualize the Podcast folder manually at 00:01, f.e. The next day, iTunes will do so on it's own. As long as it is running at midnight, iTunes doesn't change this setting, and, as you have broadband, the downloading shouldn't take 8 hours per day. -
How can I force iTunes to make a new time-stamped bacukp?
How can I force iTunes to make a new time-stamped bacukp which it won`t replace with a next one? I would like to backup my iPhone as it is and erase some stuff from it now but also I want to be able to get it back in the future.
ThanksDon't think you can. Your best bet is to copy the backup you want to keep to a different location to prevent it from being overwritten. You can later return it to it's original location and iTunes will recognize it and make it available to restore from. Your backup(s) will be located at one of the following locations:
Mac OS: ~/Library/Application Support/MobileSync/Backup
Windows XP: %AppData%\Apple Computer\MobileSync\Backup
Windows Vista: %AppData%\Roaming\Apple Computer\MobileSync\Backup
Windows 7: %AppData%\Roaming\Apple Computer\MobileSync\Backup -
How can i set my own favicon for my bookmarks
Some website doesnt have favicons and i want no text in my bookmarks. So how can i set a favicon for a website without favicon?
Hi
you can buy lots of ringtones on itunes on you iPhone then go to settings > sounds > ringtones and you can choose from the ringtones available -
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>
-
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);
}
Maybe you are looking for
-
Push Notifications to end users and Conditional Success Screen Name ?
Hi, Scenario: PO Approval Description: I am developing a PO approval application with 3 levels of approval. The HWC application is based on the push notification ( DCN with payload ). When a PO ( Purchase Order ) is created/modified the end user will
-
Error message when I open Dreamweaver files
Hi, I have troubled of Dreamweaver CS3 and hope some one can help me. When I open a file from one of my site which is connecting to database, I got error message that I have to close the Dreamweaver. It doesn't tell much what exactly wrong at the err
-
HT201485 Ihave an apple id . I am unable to access itunes stores with this id
I have an apple id but unable to access i tunes store with this & password for purchases
-
Locked account in APEX 4.0
Hi I'm trying APEX 4.0 and my main account is locked so I can't log in even after I did "Request Password". How/Who do I need to contact to unlock it? Many thanks
-
My Nokia N96-16GB Camera Not Working due to Strip...
Hi To all... i have nokia n96-16GB, some days ago my strip gone damage, all functions working good but due to strip error LCD does not appears correctly, some time half disply some time buttons not working. Therefore i changed it's strip. This Strip