这个时候,点击关闭按钮,窗体会消失,不像以前那样点没反应了。不要小看了AWT。可以用它做很多东西。尤其是客户端C/S架构的。虽然在B/S架构上AWT,Swing毫无用武之地,但是开发客户端软件,Java的AWT、Swing还是用得到的! implement重写时,可以右击generate来。 还有对 ...
分类:
编程语言 时间:
2018-11-29 01:33:41
阅读次数:
164
Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. Example 1: Input: "Hello" Output: "hello" ...
分类:
其他好文 时间:
2018-11-26 02:31:13
阅读次数:
144
Given a nested list of integers, implement an iterator to flatten it. Each element is either an integer, or a list -- whose elements may also be integ ...
分类:
其他好文 时间:
2018-11-25 12:02:36
阅读次数:
128
自我总结: 1.编程的思维不够,虽然分析有哪些需要的函数,但是不能比较好的汇总整合 2.写代码能力,容易挫败感,经常有bug,很烦心,耐心不够好 题目: In this programming assignment you will implement one or more of the inte ...
分类:
其他好文 时间:
2018-11-25 00:03:34
阅读次数:
426
Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Calling next() will return the n ...
分类:
其他好文 时间:
2018-11-24 14:15:58
阅读次数:
139
soundtouch implement of changing rate in a way same with resample(SRC). %calc low pass filter coefficient. The low pass filter based on sinc function ...
分类:
其他好文 时间:
2018-11-22 23:54:32
阅读次数:
238
实现 strStr() 函数。 给定一个 haystack 字符串和一个 needle 字符串,在 haystack 字符串中找出 needle 字符串出现的第一个位置 (从0开始)。如果不存在,则返回 -1。 当 needle 是空字符串时,我们应当返回什么值呢?这是一个在面试中很好的问题。 对于 ...
分类:
其他好文 时间:
2018-11-22 00:02:46
阅读次数:
194
https://leetcode.com/problems/sqrtx/ Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative in ...
分类:
其他好文 时间:
2018-11-19 14:37:50
阅读次数:
158
JavaScript — A high-level scripting language built into browsers that allows you to implement functionality on web pages/apps. Note that JavaScript is ...
加密术 Time Limit: 1000 ms Memory Limit: 65536 KiB Problem Description 加密技术是一种常用的安全保密手段,利用加密技术可以把重要的数据变成经过加密变成乱码传送,到达目的地后再利用解密手段还原。现在我们发明了一种新的加密技术,即通过在一个 ...
分类:
编程语言 时间:
2018-11-17 13:12:08
阅读次数:
152