Community
Participate
Working Groups
Hi, Nice if able to switch to SWT style generated code for Swing which are more clean and simple, less private method created. Thanks
(In reply to comment #0) > Nice if able to switch to SWT style generated code for Swing which are more > clean and simple, less private method created. > I'm not sure I understand your request. Could you be more specific as to what you mean by "SWT style generated for Swing"? Some simple example might be helpful. Thanks... Peter Walker FYI... as a side note about Bugzilla... you don't have to add your email@ to the CC list since you are the reporter of the bug. Bugzilla will keep you informed of all updates because you opened the bug.
Hi, Sorry for my late repply. Currently Swing are using Getter/Setter styles... so, nice if it able to generate something like SWT style, There's no private method created for Button creation process. for an example :- sShell = new Shell(); sShell.setText("Shell"); sShell.setSize(new Point(511, 280)); sShell.setLayout(null); button = new Button(sShell, SWT.NONE); button.setBounds(new Rectangle(24, 9, 99, 21)); // Generated checkBox = new Button(sShell, SWT.CHECK); checkBox.setBounds(new Rectangle(169, 23, 136, 16)); // Generated Thanks