| |

VerySource

 Forgot password?
 Register
Search
View: 738|Reply: 1

How the Swt Shell maximizes the code I requested!

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-7 23:00:01
| Show all posts |Read mode
Adding Listener will execute the system default code before executing my code

My requirement is: the system code does not execute, execute my code directly,
Discard the original event after similar event interception
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 United States

Post time: 2020-8-18 14:30:01
| Show all posts
That's only hard work you are there
while(!shell.dispose()) {
}
In this loop, monitor each object to determine if any event has occurred.
At the same time handle the corresponding event.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list