每个人,
以下是我的代码,显示4个面板
一个在北方,......西,南
我想在EAST的容器上显示我的图像
这怎么可能?
public class ImageProcessor extends JApplet {
JPanel panel1,panel2,panel3,panel4,panel5;
JTextField nameTxt,addTxt,phoneTxt,emailTxt;
JButton capture,download,cancle,sendEmail;
JLabel head,name,add,phone,email;
//function to align components using gridBagLayOut..
private GridBagConstraints getConstraints(int gridx, int gridy,int gridwidth, int gridheight, int anchor)
{
GridBagConstraints c =new GridBagConstraints();
c.insets = new Insets(10,10,10,10);
c.ipadx = 0;
c.ipady = 0;
c.gridx = gridx;
c.gridy = gridy;
c.gridwidth = gridwidth;
c.gridheight = gridheight;
c.anchor = anchor;
return c;
}
//ends here...
public void init() {
panel1 = new JPanel();
panel2 …Run Code Online (Sandbox Code Playgroud) hii每一个,我创建一个项目,其中Admin是一个用户,我想要代码或任何想法管理员如何通过电子邮件ID发送给他的客户的任何类型的产品的报价
并且这个报价必须是打印选项按钮.点击打印按钮报价后应打印
我该怎么做?