/**
* Description of the Method
*
* @param c Description of the Parameter
* @param t Description of the Parameter
* @return Description of the Return Value
*/
public boolean importData(JComponent c, Transferable t) {
if (canImport(c, t.getTransferDataFlavors())) {
try {
String str = (String) t.getTransferData(DataFlavor.stringFlavor);
importString(c, str);
return true;
} catch (UnsupportedFlavorException | IOException ignored) {
}
}
return false;
}
YassStringTransferHandler.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:Yass
作者:
评论列表
文章目录