> I can only assume so, I use this feature in Rational XDE and it picks up
any
> deprecation in code straight away.  I always have 1.4 and 1.3 installed
and
> switch between the two.
>
I'm sorry but are there any extra settings that need to be done for making
it
1.4 compliant. I set the correct path in Windows/ Preferences/InstalledJRE.
Then I wrote a simple program with a Jbutton in JFrame and tried to invoke
the 'setFocusable(false)' on that button. But it still gave a compile time
error. Please correct me if i'm wrong. I wrote the following code


import java.awt.GraphicsConfiguration;
import javax.swing.JFrame;
/**
* @author Administrator
*
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
*/
public class TestFrame extends JFrame {

 /**
 * Constructor for TestFrame.
 */

 public TestFrame() {
  super();
  setDefaultCloseOperation(EXIT_ON_CLOSE);
  setSize(300,300);
  setFocusable(false);
 }

 /**
 * Constructor for TestFrame.
 * @param gc
 */

 public TestFrame(GraphicsConfiguration gc) {
  super(gc);
 }

 /**
 * Constructor for TestFrame.
 * @param title
 */

 public TestFrame(String title) {
  super(title);
 }

 /**
 * Constructor for TestFrame.
 * @param title
 * @param gc
 */

 public TestFrame(String title, GraphicsConfiguration gc) {
  super(title, gc);
 }

 public static void main(String[] args) {
  new TestFrame().show();
 }

}





____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to