why 看照片

Win10照片应用打开慢/不工作?教你两招轻松解决问题 - Win10,照片,Windows照片查看器 - IT之家极客微软苹果资源内容字号:段落设置:字体设置:搜索精准搜索请尝试:Win10照片应用打开慢/不工作?教你两招轻松解决问题来源:作者:文轩责编:文轩如果你的Win10里的照片应用程序打开缓慢并且需要很长时间才能加载,或者根本不工作,请按照以下的建议解决问题。一、重置照片应用程序要重置Windows10当中的照片应用程序,你只需来到系统设置-应用,在程序和功能中找到“照片”应用,然后点击“高级选项”。在高级选项中,你将看到一个“重置”按钮,点击此按钮,然后再在接下来弹出的对话框中点击“重置”。稍等一段时间,当“重置”按钮旁边显示一个对号时,照片应用既已重置完成,重置过后,照片应用的所有设置都将恢复为默认。二、重新安装照片应用程序如果重置照片应用程序的设置没有解决问题,你可以卸载并重新安装照片应用程序。要卸载照片应用程序,请以管理员身份打开PowerShell,输入并执行以下命令:Get-AppxPackage *Microsoft.Windows.Photos* | Remove-AppxPackage然后,再在应用商店搜索Microsoft Photos并重新下载安装。以上两个方案应该可以帮助你解决Win10自带的照片应用程序打开慢或者无法工作的问题。若以上两个方案均无法解决问题,请导入以启用传统的Windows照片查看器。分享:相关文章:|||||||软媒旗下软件:|||||||||||||||IT之家,软媒旗下科技门户网站 - 爱科技,爱这里。Copyright (C), All Rights Reserved.版权所有根据图片提示.将下列对话补充完整. 1. clothes shop A: Jenny wants to go to the . B: Why?A: She wants to . 2. park A: Jenny wants to go to the . B: Why?A: She wants to . 3. restaurant A: Jenny wants to go to the . 题目和参考答案——精英家教网——
暑假天气热?在家里学北京名师课程,
& 题目详情
根据图片提示,将下列对话补充完整。
1. clothes&shop
A:&Jenny&wants&to&go&to&the&&&&&&&&&&&&&&&&&&&&&&&&&&& .&&B:&Why?A:&She&wants&to&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& .
2. &&&&&&&park
A:&Jenny&wants&to&go&to&the&&&&&&&&&&&&& .&&&&&&&&&B:&Why?A:&She&wants&to&&&&& &&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&& .&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
3. &&&&&& restaurant
A:&Jenny&wants&to&go&to&the&&&&&&&&&&&&& .&&&&&&&&&B:&Why?A:&She&wants&to&have&&&&&&&&&&&&& .
4. &&&&&&& library
A: Where&do&you&want&to&go?B:&&&&&&&&&&&&&& .&&&&&A:&Why?&B:&I&want&to&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& .&
1.&clothes&shop,&buy a&dress (答案不唯一)& 2. park,&fly&a&kite& 3. restaurant,&supper& 4. Library,&read&a&book
练习册系列答案
科目:小学英语
来源:北京同步题
题型:补全对话,情景问答
根据图片提示,将下列对话补充完整。
A:&Bob&wants&to&go&to&the&&&&&&&&&&&&&&& .&&&B:&Why?&&A:&He&wants&to&&&&&&&&&& &&&&&&&&&&&& &&&&&&&&&&&&&&&& &&& .
A: Danny&wants&to&go&to&the&&&&&&&&&&&&&&&&& .&B: Why?A: He&wants&to&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& .
A:&Jenny&wants&to&go&to&the&&&&&&&&&&&&&&&& .&&&&&&&&&&B:&Why?&A:&She&wants&to&have&&&&&&&&&&&&&&&.
A:&Where&do&you&want&to&go?&&&B:&&&&&&&&&&&&&&&&&&&&&&&&&&& .&&&A:&Why?&&&&&B:&I&want&to&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& .&&&&&&&&&&&&&&&&&&&&&&&
科目:小学英语
来源:陕西省同步题
题型:填空题
根据图片提示,将下列句子补充完整。
1.&It's&a&&&&&&&&&&&&&&&&of&&&&&&&&&&&&&& .&&&&&&&&&&2.&Canberra&is&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&of&&&&&&&&&&&&&& .3. They&speak&&&&&&&&&&&&&&&&&in&&&&&&&&&&&&&&& .&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
the&capital&city&&&& &Australia&&&&& flag&&&& &English
科目:小学英语
来源:同步题
题型:排序题
根据汉语提示给下列图片标出正确的顺序,将序号填在图片下的括号里。
1. 画出你自己。&& 2. 写上你的名字。&& 3. 打洞。4. 穿上带子。& 5. 戴上姓名卡片。& 6. 说出你的姓名。     (&&&& )         (&&&& )          (&&&& )    (&&&& )         (&&&& )          (&&&& )
精英家教网新版app上线啦!用app只需扫描书本条形码就能找到作业,家长给孩子检查作业更省心,同学们作业对答案更方便,扫描上方二维码立刻安装!
请输入姓名
请输入手机号贴吧有的人发图硕回复什么图片就会有变化,但我回复了啥都没啊?why,骗人?_百度知道
贴吧有的人发图硕回复什么图片就会有变化,但我回复了啥都没啊?why,骗人?
答题抽奖
首次认真答题后
即可获得3次抽奖机会,100%中奖。
想不到人做什么
想不到人做什么
采纳数:31
获赞数:166
擅长:暂未定制
美女你好美啊,我看你都心懂了
为你推荐:
其他类似问题
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。13 Reasons Why season 2 details revealed | EW.com
The first season of
told the story of Hannah Baker, a high school junior who dies of suicide and leaves behind 13 tapes explaining why she decided to end her life. But now that the Netflix show — the
— has been , the question becomes: Is Hannah’s story over?
Spoiler: No, it’s not.
EW has the exclusive first details on what to expect in season 2 from showrunner Brian Yorkey. (And for 13 Reasons Why fans interested in this story, be sure to stay tuned to EW later this week!)
ENTERTAINMENT WEEKLY: Did you always want a season 2?
BRIAN YORKEY: I knew by the time we finished season 1 that I wanted to continue. We really have characters who, after 13 episodes, are just beginning the process of recovery and the process of coming to terms with what part they might’ve played in Hannah’s death and how Hannah’s death will change their lives going forward. I think that there is so much that’s fascinating about the way we grieve, the way we recover, the way we learn to take better care of each other. I have heard from a number of people, “Well we heard all her tapes so her story is done.” That’s leaving aside the fact that for every tape there’s another person who has a story, which is the person Hannah mentions on her tape. We saw Hannah’s version of events unfold, but there’s a lot more to be told also about those characters. To me, there’s a tremendous amount that I still want to know. I’ve said a few times that this show is about the way we raise boys up into men and the way we treat girls and women in our culture — and what we could do better in both cases. And I realized we were just beginning the process of seeing these boys and girls grow up into men and women. It was something that we didn’t get to watch with Hannah and I would really love to watch it with these other characters I’ve come to love.
So Hannah will definitely be in season 2?
Oh absolutely. I think one of the things that is still hanging out there is this question of is someone responsible for Hannah’s death? Is the school responsible? Who is responsible, if anyone is? One way we’ll explore that question is through the trial and also through all of these kids reflecting on where they are a few months down the road and what other secrets are being uncovered. That’s going to take us into the past, into Hannah’s story. We’re going to get some new context for events we already know about and we’re going to see a lot of things we hadn’t even heard about yet that fill in some really interesting gaps in our understanding of who Hannah Baker was and what her life was.
I know you’ve talked about your interest in consequences for Bryce.
When people intimate that Jessica’s story is done, I find that a horrific thought because Jessica is just beginning the process of recovering from her rape, and we have a rapist who has not in any way been brought to justice. To leave those two things hanging out there in the world would be upsetting. I want to see how that at least starts to play out and I want to do Jessica’s story the deserved justice of following her as she goes back to school, as she tries to begin to recover from what happened to her, because it’s something that millions of young women go through. And also [I want to] see somebody punch Bryce in the face.
Can we expect answers when it comes to the ?
All the cliffhangers that we saw at the end of season 1 go back to the initial set of traumas that we’re talking about — go back to bullying, go back to Jessica’s rape, to Hannah’s rape. They’re all related, so I would very much like to explore where they all go and to see if there is, as I think there will be, some light for these kids. We’re going to continue to tell their stories really honestly. We’re going to answer all of the burning questions that people have about [the show]. Is Tyler going to do something? What’s going to happen to Alex? Will Bryce be brought to justice? We’re going to answer those questions but I think, even more, we’re going to continue to look very truthfully and very honestly at what they go through, even when it’s painful at times. But I think what we’re going to discover is, as they begin to emerge from this very dark time, there’s hope and there is some light to be found. That’s my hope anyway, and I think that that’s also truthful. I think false hope is a danger, but I think that there is always some light, even in really dark times.
Will there still be multiple timelines?
Yeah, we’re definitely still weaving past and present. And there’s voiceover in every episode, but the voiceover is no longer Hannah. The voiceover and the stories that are being told bring us into the past and back to the present much in the way that Hannah’s voiceover did in season 1. So there will still be that weaving of time frames and seeing them unfold and how they impact each other as they go.
It sounds like season 2 will pick up relatively soon after season 1.
I would say it’s safe to say we pick up a number of months after the first season ended.
Are you all done with cassette tapes?
The tapes are still obviously on people’s minds, but there is a different sort of analog technology that plays a hugely important role in season 2. So the cassette tapes aren’t at the center of it — those two boxes of tapes are still hanging around and matter to people — but there will be a new piece of technology for 13-year-olds to Google and try to understand what it was.
13 Reasons Why season 2 is set to hit Netflix in 2018.
Get your EW TV news
Subscribe to EW TV for the latest TV news.
Subscribe & Save
Subscribe to EW for just $0.32 an issue!
Get your EW TV news
Subscribe to EW TV for the latest TV news.博客分类:
仿XP画板今天终于将一些基本功能实现了包括画笔,画刷,矩形,圆角矩形,圆形,直线,任意多边形,喷枪,橡皮,以及矩形选择工具的中画出一个虚边框的矩形等这些的基本功能,还有油漆桶工具,以及在一些图形中可以选择不同类型这个功能没有实现,希望指教一下,我附上我的代码吧。
颜色选择工具栏:
package com.why.
import java.awt.C
import java.awt.D
import java.awt.FlowL
import java.awt.GridL
import java.awt.event.MouseA
import java.awt.event.MouseE
import javax.swing.JB
import javax.swing.JP
* 颜色选择工具栏放在窗体的南边区域
* @author why
public class ColorPanel extends JPanel {
private static final long serialVersionUID = 1L;
private Color colorL;
private Color colorR;
public ColorPanel() {
colorL = Color.BLACK;
colorR = Color.WHITE;
private void initUI() {
this.setPreferredSize(new Dimension(0, 45));
this.setLayout(new FlowLayout(FlowLayout.LEFT));
// 实例化一个JPanel对象
JPanel panel1 = new JPanel();
// 设置Panel1的大小
panel1.setPreferredSize(new Dimension(40, 40));
// 设置JPanel的布局为绝对布局
panel1.setLayout(null);
// 实例化一个按钮颜色
final JButton jbuL = new JButton();
// 给按钮设置背景色
jbuL.setBackground(Color.BLACK);
// 实例化一个按钮对象
final JButton jbuR = new JButton();
// 给按钮设置背景色
jbuR.setBackground(Color.WHITE);
panel1.setBackground(Color.DARK_GRAY);
jbuL.setBounds(10, 10, 15, 15);
jbuR.setBounds(17, 17, 15, 15);
panel1.add(jbuL);
panel1.add(jbuR);
this.add(panel1);
JPanel panel2 = new JPanel(new GridLayout(2, 5, 1, 1));
MouseAdapter ma = new MouseAdapter() {
public void mousePressed(MouseEvent e) {
JButton button = (JButton) e.getSource();
if (e.getButton() == 1) {// 当按下鼠标左键的时候将鼠标左键对应的颜色设置为当前值
colorL = button.getBackground();
jbuL.setBackground(colorL);
} else if (e.getButton() == 3) {// 当按下鼠标右键的时候将鼠标右键对应的颜色设置为当前值
colorR = button.getBackground();
jbuR.setBackground(colorR);
// 定义一个数组,用来存储按钮的颜色
Color[] array = { Color.BLACK, Color.WHITE, Color.RED, Color.GREEN,
Color.BLUE, Color.GRAY, Color.ORANGE, Color.PINK, Color.CYAN, Color.MAGENTA };
for (Color color : array) {
JButton button = new JButton();
button.setBackground(color);
button.setPreferredSize(new Dimension(15, 15));
button.addMouseListener(ma);
panel2.add(button);
this.add(panel2);
public Color getColorL() {
return colorL;
public Color getColorR() {
return colorR;
图形选择工具栏:
package com.why.
import java.awt.C
import java.awt.D
import java.awt.FlowL
import java.awt.event.ActionE
import java.awt.event.ActionL
import java.io.F
import javax.swing.ImageI
import javax.swing.JB
import javax.swing.JP
* 定义图形工具栏放在窗体的西边,继承了JPanel
* @author why
public class ToolsPanel extends JPanel {
private static final long serialVersionUID = 1L;
private S// 表示用户选择的图形
private JP
public ToolsPanel() {
this.str = "7";
private void initUI() {
this.setPreferredSize(new Dimension(60, 0));
// 用匿名内部类来创建一个按钮的监听器对象
ActionListener l = new ActionListener() {
public void actionPerformed(ActionEvent e) {
str = e.getActionCommand();
// 添加工具栏的按钮
for (int i = 1; i & 17; i++) {
// 生成一个图片资源的URL方便在将工程打包成jar文件的时候依然能够访问到资源图片
URL url = ToolsPanel.class.getResource("/res/" + i + ".png");
// 根据得到的URL来加载按钮的背景图片
ImageIcon icon = new ImageIcon(url);;
// 实例化一个按钮对象
JButton button = new JButton(icon);
// 设置按钮的大小
button.setPreferredSize(new Dimension(25, 25));
// 设置按钮的动作命令
button.setActionCommand(i + "");
// 给按钮绑定监听器
button.addActionListener(l);
// 将按钮添加到工具栏的容器中
this.add(button);
panel = new JPanel(new FlowLayout(FlowLayout.CENTER, 3, 3));
panel.setPreferredSize(new Dimension(42, 66));
panel.setBackground(Color.WHITE);
this.add(panel);
public String getStr() {
public JPanel getPanel() {
主窗体类:
package com.why.
import java.awt.BorderL
import java.awt.C
import java.awt.D
import java.awt.FlowL
import java.awt.Graphics2D;
import java.io.F
import java.util.ArrayL
import java.util.L
import javax.swing.ImageI
import javax.swing.JF
import javax.swing.JM
import javax.swing.JMenuB
import javax.swing.JMenuI
import javax.swing.JP
import com.why.listener.DrawL
import com.why.listener.MenuL
* XP画板的窗体类,继承JFrame
* @author why
public class DrawerFrame extends JFrame {
private static final long serialVersionUID = 1L;
private List&JMenuItem&// list用于存放菜单选项方便给每个菜单选项添加监听器
* 程序的入口主函数
public static void main(String[] args) {
DrawerFrame frame = new DrawerFrame();
frame.initUI();
* 窗体类的构造方法
public DrawerFrame() {
this.list = new ArrayList&JMenuItem&();
* 初始化画板主界面的方法
public void initUI() {
// 设置窗体的属性
this.setTitle("画板");
this.setSize(new Dimension());
this.setLocationRelativeTo(null);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setIconImage(new ImageIcon("res" + File.separator + "icon.png").getImage());
// 调用创建菜单选项的方法在窗体上创建菜单选项
createMenuBar();
// 实例化一个JPanel对象用于放置画板绘图区域
JPanel centerPanel = new JPanel(new FlowLayout(FlowLayout.LEFT, 4, 4));
// 设置背景色为灰色
centerPanel.setBackground(Color.GRAY);
// 实例化一个画图区域对象,实际上就是JPanel的实例
JPanel drawPanel = new JPanel();
// 设置绘图区域的背景色为白色
drawPanel.setBackground(Color.WHITE);
// 设置绘图区域的大小为500*400像素
drawPanel.setPreferredSize(new Dimension(880, 500));
// 将绘图区域添加到centerPanel中
centerPanel.add(drawPanel);
// 将centerPanel添加到窗体中
this.add(centerPanel, BorderLayout.CENTER);
// 实例化一个颜色工具条
ColorPanel colorPanel = new ColorPanel();
// 实例化一个图形选择工具条
ToolsPanel toolsPanel = new ToolsPanel();
// 将颜色工具条添加到窗体上
this.add(colorPanel, BorderLayout.SOUTH);
// 将图形选择工具条添加到窗体上
this.add(toolsPanel, BorderLayout.WEST);
this.setVisible(true);
// 给DrawPanel添加监听器
Graphics2D graphics2d = (Graphics2D) drawPanel.getGraphics();
// 实例化一个绘图区域的监听器
DrawListener dl = new DrawListener(graphics2d, toolsPanel, colorPanel);
drawPanel.addMouseListener(dl);
drawPanel.addMouseMotionListener(dl);
// 实例化一个菜单选项监听器对象
MenuListener ml = new MenuListener(graphics2d);
for (JMenuItem item : list) {
item.addActionListener(ml);
* 创建菜单选项的方法
private void createMenuBar() {
JMenuBar menuBar = new JMenuBar();
String[] arrayMenu = { "文件(F)", "编辑(E)", "查看(V)", "图像(I)", "颜色(C)", "帮助(H)" };
String[][] arrayMenuItem = { { "新建(N)", "打开(O)", "保存(S)", "退出(E)" }, { "复制(C)", "粘贴(P)" },
{ "工具箱(T)", "颜料盒" }, { "清除图像", "反色", "属性" }, { "编辑颜色" },
{ "帮助主题", "关于画图" } };
for (int i = 0; i & arrayMenu. i++) {
// 实例化一个JMenu对象
JMenu menu = new JMenu(arrayMenu[i]);
for (int j = 0; j & arrayMenuItem[i]. j++) {
// 实例化一个JMenuItem对象
JMenuItem item = new JMenuItem(arrayMenuItem[i][j]);
list.add(item);
// 将JMenuItem对象添加到JMenu中
menu.add(item);
// 将JMenu添加到JMenuBar中
menuBar.add(menu);
// 给menuBar设置大小
menuBar.setPreferredSize(new Dimension(800, 30));
// 给窗体设置菜单栏
this.setJMenuBar(menuBar);
绘图区域的监听器:
package com.why.
import java.awt.BasicS
import java.awt.C
import java.awt.Graphics2D;
import java.awt.event.MouseA
import java.awt.event.MouseE
import java.util.R
import com.why.ui.ColorP
import com.why.ui.ToolsP
* 绘图区域的事件监听器类继承了MouseAdapter类,该类已经实现了MouseListener和MouseMotionListener接口
* @author why
public class DrawListener extends MouseAdapter {
private Graphics2D graphics2d;// 绘图区域的Graphic2D对象,用于绘制给定的图形
private ToolsPanel toolsP// 图形选择工具条
private ColorPanel colorP// 颜色选择工具条
private int x1, x2, y1, y2, startx,
// 用于标记当前绘制的任意多边形是否绘制完成
* 构造方法
* @param graphics2d 画图的画笔对象
* @param toolsPanel 工具栏对象
* @param colorPanel 颜色栏对象
public DrawListener(Graphics2D graphics2d, ToolsPanel toolsPanel,
ColorPanel colorPanel) {
this.graphics2d = graphics2d;
this.toolsPanel = toolsP
this.colorPanel = colorP
this.flag =
public void mouseDragged(MouseEvent e) {
String action = toolsPanel.getStr();
if (action.equals("8")) {// 当用户选择画刷工具执行的动作
// 设置画笔的粗细
graphics2d.setStroke(new BasicStroke(7));
// 获取拖动过程中的坐标值
x2 = e.getX();
y2 = e.getY();
// 绘制直线
graphics2d.drawLine(x1, y1, x2, y2);
// 交换坐标
} else if (action.equals("7")) {// 当用户选择的是铅笔工具执行的动作
// 获取拖动过程中的坐标值
x2 = e.getX();
y2 = e.getY();
// 绘制直线
graphics2d.drawLine(x1, y1, x2, y2);
// 交换坐标
} else if (action.equals("3")) {// 当用户选择的是橡皮工具执行的动作
graphics2d.setStroke(new BasicStroke(8));
// 获取拖动过程中的坐标值
x2 = e.getX();
y2 = e.getY();
// 绘制直线
graphics2d.drawLine(x1, y1, x2, y2);
// 交换坐标
public void mousePressed(MouseEvent e) {
String action = toolsPanel.getStr();
if (!action.equals("14")) {// 判断当前绘制的不是任意多边形
x1 = e.getX();
y1 = e.getY();
} else {// 如果当前绘制是任意多边形
if (!flag) {// 判断当前的鼠标按下的位置是多边形的起点
startx = x1 = e.getX();
starty = y1 = e.getY();
if (e.getButton() == 1) {// 如果按下的是鼠标的左键那么将graphics2d颜色设置为选择的颜色
graphics2d.setColor(colorPanel.getColorL());
if (toolsPanel.getStr().equals("3")) {
graphics2d.setColor(Color.WHITE);
System.out.println("left");
} else if (e.getButton() == 3) {// 如果按下的是鼠标的右键那么将graphics2d颜色设置为选择的颜色
graphics2d.setColor(colorPanel.getColorR());
System.out.println("right");
graphics2d.setStroke(new BasicStroke(1));
public void mouseReleased(MouseEvent e) {
String action = toolsPanel.getStr();
if (action.equals("11")) {// 当用户选择的是直线执行绘制直线的步骤
x2 = e.getX();
y2 = e.getY();
graphics2d.drawLine(x1, y1, x2, y2);
} else if (action.equals("2")) {// 当用户选择的是选框工具按钮执行的动作
x2 = e.getX();
y2 = e.getY();
drawDash();
} else if (action.equals("13")) {// 当用户选择的是矩形工具按钮的动作
x2 = e.getX();
y2 = e.getY();
graphics2d.drawRect(x1, y1, x2 - x1, y2 - y1);
} else if (action.equals("16")) {// 当用户选择的是圆角矩形工具执行的动作
x2 = e.getX();
y2 = e.getY();
graphics2d.drawRoundRect(x1, y1, x2 - x1, y2 - y1, 12, 12);
} else if (action.equals("15")) {// 当用户选择的是圆形工具执行的动作
x2 = e.getX();
y2 = e.getY();
graphics2d.drawOval(x1, y1, x2 - x1, y2 - y1);
} else if (action.equals("14")) {// 当用户学选择的是任意多边形工具执行的动作
x2 = e.getX();
y2 = e.getY();
if ((x2 - startx) * (x2 - startx) + (y2 - starty) * (y2 - starty) &= 64) {// 判断当前的点是不是多边形的终点
graphics2d.drawLine(x1, y1, x2, y2);
} else if (action.equals("9")) {// 当用户选择的是喷枪工具执行的动作
// 实例化一个随机数生成的对象
x1 = e.getX();
y1 = e.getY();
Random random = new Random();
for (int i = 0; i & 200; i++) {
x2 = random.nextInt(25) - 12;
y2 = random.nextInt(25) - 12;
if (x2 * x2 + y2 * y2 & 121)
// 如果生成的点不在以点击的位置为圆心以11为半径的圆内那么直接跳过这个点
graphics2d.drawLine(x1 + x2, y1 + y2, x1 + x2, y1 + y2);
* 绘制虚线边框的矩形函数
private void drawDash() {
// 取得graphics2d原本的颜色
Color c = graphics2d.getColor();
Color color = new Color(51, 153, 255);
// 绘制两条水平线
for (int i = x1; i &= x2; i += 4) {
// 设置虚线可见部分的颜色
graphics2d.setColor(color);
graphics2d.drawLine(i, y1, i + 2, y1);
graphics2d.drawLine(i, y2, i + 2, y2);
// 设置虚线不可见部分为白色
graphics2d.setColor(Color.WHITE);
graphics2d.drawLine(i + 2, y1, i + 4, y1);
graphics2d.drawLine(i + 2, y2, i + 4, y2);
for (int i = y1; i &= y2; i += 4) {
// 设置虚线可见部分的颜色
graphics2d.setColor(color);
graphics2d.drawLine(x1, i, x1, i + 2);
graphics2d.drawLine(x2, i, x2, i + 2);
// 设置虚线不可见部分为白色
graphics2d.setColor(Color.WHITE);
graphics2d.drawLine(x1, i + 2, x1, i + 4);
graphics2d.drawLine(x2, i + 2, x2, i + 4);
// 绘制虚线框的四个定点以及四条边的中点使其变得更明显
graphics2d.setColor(color);
// 设置画笔的粗细
graphics2d.setStroke(new BasicStroke(3));
graphics2d.drawLine(x1, y1, x1, y1);
graphics2d.drawLine(x1, y2, x1, y2);
graphics2d.drawLine(x2, y1, x2, y1);
graphics2d.drawLine(x2, y2, x2, y2);
graphics2d.drawLine((x1 + x2) && 1, y1, (x1 + x2) && 1, y1);
graphics2d.drawLine(x1, (y1 + y2) && 1, x1, (y1 + y2) && 1);
graphics2d.drawLine(x2, (y1 + y2) && 1, x2, (y1 + y2) && 1);
graphics2d.drawLine((x1 + x2) && 1, y2, (x1 + x2) && 1, y2);
// 恢复graphics2d原本的颜色
graphics2d.setColor(c);
本来以为将工程打包成一个jar文件不会出什么问题,结果悲剧的出现了在eclipse中运行的时候可以找到资源文件,而打包之后就找不到了竟然,不得不在网上搜了一下解决的办法,确实要学东西有的时候必须得很好的利用网络资源
下载次数: 130
樓主好啊!你那個ToolPanel中獲取通過getResource獲取圖片的那個,存放圖片的文件夾存放在哪裡啊?坐等!謝謝啊放在src下既可以了
,出入java的我表示膜拜啊!好好学,都能成为大神的,
alvin198761 写道不错不错,我记得我很久以前也搞过,呵呵呵,你这个比我的好什么版本打包的,运行不起来,1.6的人飘过我用的是1.7.0_51打包的
不错不错,我记得我很久以前也搞过,呵呵呵,你这个比我的好什么版本打包的,运行不起来,1.6的人飘过
UI多线程没处理好啊线程问题后续再来处理,因为现在还没学到线程这里
空城旧梦why
浏览: 15858 次
来自: 长沙
Class.forName是加载类,newInstence才是 ...
可以研究一下Java的反射机制
标准可以变化
怎么把图片放上去的?不能完全做到也不代表可以没有进展
实现了功能,还有特殊情况扩展性,知道很多事情
(window.slotbydup=window.slotbydup || []).push({
id: '4773203',
container: s,
size: '200,200',
display: 'inlay-fix'

我要回帖

更多关于 why的照片 的文章

 

随机推荐