ItemListener not working
hi i am constructing an interface and i need to use the ItemListener for my radio buttons. when i add this to the code and do a test compile it gives me the following error:
F:\My Documents\Work\Uni\CNE1\Java\Semester 2\Remidial Assignment\Buttons>javac
ass.java
ass.java:13: cannot resolve symbol
symbol : class ItemListener
location: class ass
public class ass extends JApplet implements ChangeListener, ItemListener {
^
1 error
Thanks for any help
here is the source code:
/* CNE Level 1 */
/* Remedial Assignment */
/* Date: 4/08/03 */
/* Author: Patrick Louis-Jean */
import java.awt.*;
import javax.swing.*;
import javax.swing.event.*;
public class ass extends JApplet implements ChangeListener, ItemListener {
JRadioButton Circle, Rect, Triangle;
JLabel Radius, Width, Height, Base;
JSlider RADIUS, WIDTH, HEIGHT;
JButton button;
Container contentArea;
public void init(){
contentArea = this.getContentPane();
FlowLayout layout=new FlowLayout();
contentArea.setLayout(layout);
Circle = new JRadioButton("Circle");
Rect = new JRadioButton("Rectangle ");
Triangle = new JRadioButton("Triangle");
Radius = new JLabel("Radius");
Width = new JLabel("Width");
Height = new JLabel("Height");
Base = new JLabel("Base");
RADIUS = new JSlider(0,100);
RADIUS.setMajorTickSpacing(10);
RADIUS.setMinorTickSpacing(5);
RADIUS.setPaintTicks(true);
RADIUS.setPaintLabels(true);
RADIUS.addChangeListener(this);
WIDTH = new JSlider(0,100);
WIDTH.setMajorTickSpacing(10);
WIDTH.setMinorTickSpacing(5);
WIDTH.setPaintTicks(true);
WIDTH.setPaintLabels(true);
WIDTH.addChangeListener(this);
HEIGHT = new JSlider(0,100);
HEIGHT.setMajorTickSpacing(10);
HEIGHT.setMinorTickSpacing(5);
HEIGHT.setPaintTicks(true);
HEIGHT.setPaintLabels(true);
HEIGHT.addChangeListener(this);
contentArea.add(Circle);
contentArea.add(Rect);
contentArea.add(Triangle);
contentArea.add(Radius);
contentArea.add(RADIUS);
contentArea.add(Width);
contentArea.add(WIDTH);
contentArea.add(Height);
contentArea.add(HEIGHT);
//contentArea.add(HEIGHT);
setContentPane(contentArea);
public void stateChanged(ChangeEvent event){
if(event.getSource()==RADIUS){
Radius.setText("Radius: "+RADIUS.getValue());
if(event.getSource()==WIDTH){
Width.setText("Width: "+WIDTH.getValue());
if(event.getSource()==HEIGHT){
Height.setText("Height: "+HEIGHT.getValue());
Just worked that out after an hour of stressing. i needed java.awt.event.*
Thanks anyway good to know that there are people who reply so fast. this forum is great.
Similar Messages
-
Applet is not working and I do not know why it is not working
I cannot figure out why my applet is not working. Can someone assist me with this problem?
Here is the code:
As you will soon find out some of those imports can be ignored.
import java.lang.Integer;
import java.awt.*;
import java.awt.event.*;
import java.awt.font.*;
import java.awt.geom.*;
import java.awt.image.*;
import java.awt.event.ItemListener;
import java.awt.event.ItemEvent;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.*;
import java.awt.Graphics.*;
import javax.swing.*;
import java.awt.*;
import javax.swing.text.*;
import javax.swing.event.*;
import java.awt.event.*;
import javax.swing.JApplet.*;
import javax.swing.JFrame.*;
import java.applet.Applet;
import javax.swing.border.*;
import javax.swing.Spring.*;
import java.awt.geom.AffineTransform;
import java.awt.Graphics2D;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeEvent;
import java.math.*;
public class Test extends JApplet{
JFormattedTextField Relfield;
JFormattedTextField Relfield2;
JFormattedTextField Relfield3;
GridLayout layout = new GridLayout();
public void init() {
Double d = 0.0;
Double e = 0.0;
Relfield2 = new JFormattedTextField();
Relfield3 = new JFormattedTextField();
Relfield = new JFormattedTextField();
Relfield.setText(d + "");
Relfield2.setText(e + "");
TextFieldHandler handlers = new TextFieldHandler();
Relfield.addPropertyChangeListener(handlers);
JButton button1 = new JButton("1");
JButton button2 = new JButton("2");
button1.addActionListener(new T5C());
button2.addActionListener(new T6C());
Container c = getContentPane();
c.setLayout(layout);
c.add(Relfield);
c.add(Relfield2);
c.add(button1);
c.add(button2);
class T5C implements ActionListener
public void actionPerformed(ActionEvent e) {
Double b = (Double)(Double.parseDouble(Relfield.getText())) + 1;
Relfield.setValue(b + "");
Relfield2.setValue(b + "");
class T6C implements ActionListener
public void actionPerformed(ActionEvent e) {
Double b = (Double)(Double.parseDouble(Relfield.getText())) - 1;
Relfield.setValue(b + "");
Relfield2.setValue(b + "");
public class TextFieldHandler implements PropertyChangeListener {
public void propertyChange(PropertyChangeEvent e) {
Object source = e.getSource();
if (source == Relfield) {
Double Rel = ((Double)Relfield.getValue()).doubleValue();
Relfield.setValue(Rel);
Relfield2.setValue(Rel);
//BigDecimal myu = new BigDecimal("Relfield.getValue()");
public static void main( String[] argv ) {
JFrame frame = new JFrame( "General Shear Mode Damper Design" );
frame.addWindowListener( new WindowAdapter(){
public void windowClosing( WindowEvent e ){
System.exit( 0 );
JApplet applet = new Test();
frame.getContentPane().add(applet);
applet.init();
frame.setSize( 1020, 720);
frame.setVisible(true);
}The applet is not running at all and I can't figure out the error messages.
The error messages are below:
C:\Users\zite.1\Desktop>javac Test.java
C:\Users\zite.1\Desktop>java Test
Exception in thread "main" java.lang.NullPointerException
at Test$TextFieldHandler.propertyChange(Test.java:89)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.awt.Component.firePropertyChange(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at javax.swing.JRootPane.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at java.awt.Panel.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at javax.swing.JRootPane.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at java.awt.Window.addNotify(Unknown Source)
at java.awt.Frame.addNotify(Unknown Source)
at java.awt.Window.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at Test.main(Test.java:112) -
Chechbox header : deselect all not working
folks,
I have a jtable generated from my database. IT has 3 columns . The 3rd column has checkboxes in it. I am implementing a "CHECK ALL"
checkbox on the header for selection and deselection of checkboxes. the below code works for selection of all boxes.. IT DOES NOT
WORK WHEN IT IS DESELECTED ? i want to make it work for deselection also
I call the custom table renderer from main program as follows :
tc = table.getColumnModel().getColumn(3);
tc.setHeaderRenderer(new CustomTableCellRenderer1(new MyItemListener(),Name));
this is item listner in main program for checkbox "check all" present in the table header :
class MyItemListener implements ItemListener
public void itemStateChanged(ItemEvent e) {
Object source = e.getSource();
if (source instanceof AbstractButton == false) return;
boolean checked=e.getStateChange() == ItemEvent.SELECTED;
for(int x = 0, y = table.getRowCount(); x < y; x++)
table.setValueAt(new Boolean(checked),x,3);
if (e.getStateChange() == ItemEvent.DESELECTED) // dosent work
System.out.println("deselect all"); // may b code for deselection
this is CustomTableCellRenderer1 class below:
package moxaclient;
import java.awt.*;
import javax.swing.*;
import javax.swing.table.*;
import java.awt.event.*;
class CustomTableCellRenderer1 extends JCheckBox
implements TableCellRenderer, MouseListener {
private static final long serialVersionUID = 1L;
protected CustomTableCellRenderer1 rendererComponent;
protected int column;
String Name;
private JTable table1;
Object abc=null;
protected boolean mousePressed = false;
public CustomTableCellRenderer1(ItemListener itemListener,String name) {
rendererComponent = this;
rendererComponent.addItemListener(itemListener);
this.Name=name;
public Component getTableCellRendererComponent(
JTable table, Object value,
boolean isSelected, boolean hasFocus, int row, int column) {
if (table != null) {
JTableHeader header = table.getTableHeader();
this.table1=table;
if (header != null) {
rendererComponent.setForeground(header.getForegrou nd());
rendererComponent.setBackground(header.getBackgrou nd());
rendererComponent.setFont(header.getFont());
header.addMouseListener(rendererComponent);
setColumn(column);
rendererComponent.setText("Check All");
setBorder(UIManager.getBorder("TableHeader.cellBor der"));
return rendererComponent;
protected void setColumn(int column) {
this.column = column;
public int getColumn() {
return column;
protected void handleClickEvent(MouseEvent e) {
if (mousePressed) {
mousePressed=false;
JTableHeader header = (JTableHeader)(e.getSource());
JTable tableView = header.getTable();
TableColumnModel columnModel = tableView.getColumnModel();
int viewColumn = columnModel.getColumnIndexAtX(e.getX());
int column = tableView.convertColumnIndexToModel(viewColumn);
if (viewColumn == this.column && e.getClickCount() == 1 && column != -1) {
doClick();
int row=table1.getRowCount();
if(row!=0)
for(int i=0;i<=row-1;i++)
String Sensor =(String) table1.getValueAt(i, column-3); // // when checkbox selectedthis code gets all value present in table and stores in string abc
Double Value =(Double) table1.getValueAt(i, column-2);
String Date =(String) table1.getValueAt(i, column-1);
abc += Sensor+"\t"+Value+"\t"+Name+"\t"+Date+"\t";
public void mouseClicked(MouseEvent e) {
handleClickEvent(e);
((JTableHeader)e.getSource()).repaint();
public void mousePressed(MouseEvent e) {
mousePressed = true;
public void mouseReleased(MouseEvent e) {
public void mouseEntered(MouseEvent e) {
public void mouseExited(MouseEvent e) {
plzz help.please add tags around the code in your posts.
Dinud123 wrote:
IT DOES NOT
WORK WHEN IT IS DESELECTED ? i want to make it work for deselection alsoI don't know any user interface where I would toggle "select all" and "deselect all" via the same control. That may be for a reason.
So my suggestion is: provide a second button for "deselect all".
bye
TPD -
JOptionPane not working outside contractor.
Hello
I have a problem with my JOptionPane�s. If I use them within the constructor, it works fine with the correct decoration, format and graphic. I have a couple in methods within the same class and when I try and use a JOptionPane with these they do not display correctly. (no �ok� button, detonation or body text�only the title)
Does anyone have any idea why this is and any ways around it?
Thanks,
HaroldSorry about that guys, I wrote this post after a very late night of programming:
Here is the code:
import javax.swing.JOptionPane;
import ...
public class GeneticAlgorithm extends JFrame implements ActionListener, WindowListener, ItemListener
public GeneticAlgorithm()
super("GeneticAlgorithm v3");
//Sort screen size and position
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
if (screenSize.width < 1024 && screenSize.height < 768)
String resError = "Please note that this applecation is desgined to run\n with the resolution of 1024x768";
//WORKS FINE
JOptionPane.showMessageDialog(null, resError, "Screen Resolution Error", JOptionPane.ERROR_MESSAGE);
setSize(1024, 768);
...other Methods
private boolean verifyStartParameters()
boolean startSim = true;
if (populationSize == 0)
//DOES NOT WORK
JOptionPane.showMessageDialog(null, "ERROR: Population Size = 0", "Population Size Error", JOptionPane.ERROR_MESSAGE);
startSim = false;
if (generationSize == 0)
//DOES NOT WORK
JOptionPane.showMessageDialog(null, "ERROR: Generation Size = 0", "Generation Size Error", JOptionPane.ERROR_MESSAGE);
startSim = false;
//DOES NOT WORK
if (mutationRate == 0) {JOptionPane.showMessageDialog(null, "WARNING: Mutation Rate = 0", "Mutation Rate Warning", JOptionPane.WARNING_MESSAGE);}
return startSim;
} -
Not work tablet UI on Prestigio 5080 PRO tablet
I read that browser.ui.layout.tablet = "1" can fix this problem. But it not works. I can work only in pnone interface that is not good for my 8'' tablet.
Would it be possible for you to share the problematic pdf and OS information with us at [email protected] so that we may investigate?
Thanks,
Adobe Reader Team -
Why self-defined access sequences of free goods can not work?
Hi gurus,
I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
when i used the standard access sequences ,it is OK .
Can anybody tell me why?
thanks in advanceDear Sandy,
Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
Make sure that these fields are flowing in your sales order.
I hope this will help you,
Regards,
Murali. -
Adobe bridge raw not working with windows vista in photoshop cc, why?
adobe bridge raw not working in photoshop cc, is there a fix?
Your sure your using photoshop cc on windows vista?
I was under the impression that photoshop cc would not even install on windows vista.
What version of camera raw do you have?
In photoshop under Help>About Plugin does it list Camera Raw and if so which version is it?
(click on the words Camera Raw to see the version)
Camera raw doesn't work if it's a camera raw file or some other file type such as jpeg or tif?
What camera are the camera raw files from?
Officially camera raw 8.3 is the latest version of camera raw that will work on windows vista. -
Adobe Bridge CS5 in windows 7 not working?
Adobe Bridge CS5 in windows 7 not working. I was using bridge perfectly for last 2 years. It stops working since 3 days. I tried to install updates. Showing some error to install.
Tried to install creative cloud..again some error. Error code : 82
Could you please advice how I can fix my adobe bridge.https://www.youtube.com/watch?v=xDYpTOoV81Q&feature=youtu.be
please check this video I uploaded..this is what happens when I click adobe bridge.. just blinks and go off. bridge not working on task manager -
ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW
ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW
BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
-and step by step http://forums.adobe.com/thread/1440508?tstart=0
-and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html -
Partner application logoff not working
We have a partner application registered with sso with custom login screen. The login works fine. We use the following code to logoff the partner application in logoff.jsp
response.setHeader("Osso-Return-Url", "http://my.oracle.com" );
response.sendError(470, "Oracle SSO");
session.invalidate();
but the logoff is not working properly. It is not invalidating the session and the logout http request is not going from the application server to the sso server.
Are there any additional configurations for SSO logoff.Any help is appreciated.
ThanksHi
The WF should also trigger if i add the Partner function in UI.If i change any Attribute the WF triggers but i dont want to change the attribute when i add the partner function.
If i have only one event for WF that is Partner Change the WF will not trigger it for the 1st time when i save the UI. But next i come to the same saved doc and add a partner function then the Wf triggers.
So this means that Partner change is active.
the issue here is i need to trigger the WF on , the 1st time i save the UI, for which i wil be using Attribute Change and next time when i come back to saved doc the and add only the partner function and no changes are made to attributes the WF should again trigger.
Thanks
Tarmeem -
IPhone 4 Voice Memos not working/saving
Hi there,
I'm having trouble with my voice memos too. Up until yesterday they were working fine and now, even though the record button works, the stop button does not and I can only pause them. Worse again is that the button to go into the menu to view all voice memos is not working so I can't play them from my iPhone and nothing new is saving to my iTunes. Please help!I've always had the "Include Voice Memos" option selected. I think that only pertains to syncing voice memos from iTunes to the iPhone after it has been copied to iTunes. It has to be the new OS/iTunes not communicating that new memos have been recorded. For some reason they won't sync when I want them to, and then a few syncs later they magically appear.
By the way, I'm VERY comfortable with the iTunes and iPhone systems. I've been using iTunes for 5 years, and I've been recording class lectures with the iPhone voice memo app (and another app) for a couple years. It's not an error of not seeing that the memos were added; they don't exist in my library or music folders.
JUST OUT OF CURIOSITY, POST WHICH FIRMWARE YOU ARE RUNNING EXACTLY!!!
I'm on an iPhone 4, running firmware 4.0.1 -
Installed Premiere Pro CS4 but video display does not work?
I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
2) the UI is way too slow for my big beefy system.
My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
Any ideas how to solve this CS4 install issue?
RonI would like to thank Dan, Hunt, and Haram:
The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
My PC is brand new with the following "beefy" components:
Motherboard
nForce 790i SLI FTW
Features:
3x PCI Express x16 graphics support
PCI Express 2.0
NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
Overclocking tools
NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
ESA Certified
NVIDIA DualNet and FirstPacket Ethernet technology
Registered
CPU: Intel Core 2 Quad Q9550
S-Spec: SLAWQ
Ver: E36105-001
Product Code: BX80569Q9550
Made in Malaysia
Pack Date: 09/04/08
Features:
Freq.: 2.83 GHz
L2 Cache: 12 MHz Cache
FSB: 1333 MHz (MT/s)
Core: 45nm
Code named: Yorkfield
Power:95W
Socket: LGA775
Cooling: Liquid Cooled
NVIDIAGeForce GTX 280 SC graphics card
Features:
1 GB of onboard memory
Full Microsoft DirectX 10
NVIDIA 2-way and 3-way SLI Ready
NVIDIA PureVideo HD technology
NVIDIA PhysX Ready
NVIDI CUDA technology
PCI Express 2.0 support
Dual-link HDCP
OpenGL 2.1 Capaple
Output: DVI (2 dual-link), HDTV
Western Digital
2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
Features:
10,000 RPM, 3 Gb/sec transfer rate
RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
p/n: TW3X4G1333C9DHX G
product: CM3X2048-1333C9DHX
Features:
XMS3 DHX Dual-Path 'heat xchange'
2048 x 2 MB
1333 MHz
Latency 9-9-9-24-2T
1.6V ver3.2 -
Ideapad A1-07 tablet wifi-bluet​ooth does not work!
Hello everyone. As you can see from the title on my tablet is not working wifi and bluetooth. When turning wifi tablet is reset and continues to be off and on until it forcibly turns off, and when you turn it on again, and do not touch wifi everything is normal and there are no problems with resetting. Can someone help me and give suggestion to solve this stupid problem. I'm from Croatia and I'm bad with the English writing.
Hi
Welcome To Lenovo Community
Please perform a factory reset
Please ensure you have backed any important data before doing factory reset
Hold the volume down and the power till Lenovo logo appears .
System will boot into recover mode. Follow the instructions
Hope This Helps
Cheers!!!
Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
Did someone help you today? Press the star on the left to thank them with Kudos!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
Polygonal lasso tool not working with stylus on Surface Pro 2
Hi guys,
I'm new here so please bare with me if I'm posting in the wrong place or don't make immediate sense.
Hardeware / software used: surface pro 2 and I'm running photoshop CS5.
Problem is a fairly basic one: I am trying to make basic selections using the polygonal lasso tool (using the stylus that comes with the tablet) but it simply will not work. All I get when I touch the stylus to the screen is the circle that appears then fades. If I attach the keypad and try using that then it works no problem at all.
Does anyone have any ideas as to whether there is a particular setting that I need to switch on or off e.g. something relating to pressure sensitivity (although not sure why this would affect this particular selection tool)?
I've searched the web and come up with nothing so far so any help is greatly appreciated!
Thanks for your time
Scottsame problem on surface pro 3 !!!!
and i think quite significant, for lot of artists using polygonal lasso a lot (including me). How come that the stupid surface cannot work properly -
Excite PRO 3G connection not work after Android v4.3 update
Hello,
I live in Italy and on last Sunday (january 26th) my Excite PRO tablet (model AT10LE-A-10H) got the Android version 4.3.201121220.35.
After restart my wifi works fine, all other app work fine, but my 3g connection doesn't work, mobile network bar is empty and it says "no service".
My sim card is ok. I used this sim card before the system update and I didn't get any problem with Android 4.2.2.
Please help me.
Thank you>After restart my wifi works fine, all other app work fine, but my 3g connection doesn't work, mobile network bar is empty and it says "no service".
Go to the mobile network settings and search again for the 3G network.
I had similar problem with my Android Smartphone and my o2 provider
I started new search, then I chosen the O2 again and then I could solve the problem.
In case this does not work for you, recommend you to reset the tablet back to default (factory settings)
Maybe you are looking for
-
HT4314 Can you delete game date on a Game Center account?
I'm new to this but basically I want to restart a game I'm playing (Animal Voyage - Adventure Island), I have tryed resetting my Ipad and uninstalling the game but it keeps taking me back to the same point of the game, so I'm assuming its because the
-
Music interrupts while listening to wireless speakers via Airport Express
I live in an apartment building with many wi-fi connections all around me. When I listen to music via iTunes, I am regularly prompted with the following message: An error occurred while connecting to the remote speaker "Home", that's the name of my A
-
Exchange 2010 SP3 - How many Calendar Items/Folders can you create under "all public folder"
Hi, Is there a limitation on how many calendar items/folders you can create under "all public folder" in Exchange 2010 SP3? Thank you
-
Remote Registry enabled through Group Policy
I am working in a Win2011 SBS environment and trying to enable services (Automatic) through Group Policy on all workstations in the domain. I need the following settings enabled but not sure how to do it in SBS. Any help is greatly appreciated. Poli
-
Apple mail and automatically downloads attachments
Ho to all A friend of mine started to work with Apple Mail but he has found an option he wishes to remove: the "automatic downloads attachments size". He wants that ALL email's attachment are downloaded without click on it ( if they are big...) Any s