27 Posted Topics
Re: I would Prefer use Netbeans/Eclipse Designer and Use Null Layout/Group Layout They will actually place your controls at provided x,y axies :) You will be able to drag drop etc https://netbeans.org/kb/docs/java/quickstart-gui.html https://netbeans.org/kb/docs/java/gui-functionality.html | |
Hello, I have made android application which provides remote desktop administration, I used port 5556 and socket programming TCP. I have to forward this port from router on every computer is there any other way so I can use some open port to communication with android device?? Like TeamViewer doesn't … | |
I am using Robot's screenCapture method which returns BufferedImage, and then send using Socket to client on Android. If I don't reduce Quality then It works fine but it is very slow as Image is large and takes much time to send. I am trying to Reduce quality of BufferedImage(using … | |
Hi everyone I am trying to make a project "Remote Administration" in which i have to connect with computer using RDP I am beginner of android and I must submit this project soon so, anything you can help with?? i don't want source codes please tell me what to look … | |
Heyy I have been creating Macros and then adding them to the customized ribbons on excel (2010). The problem I have is that each time I rename the original file (save as) that i created the macros and ribbon in and then click on the ribbon/macro it automatically opens up … | |
Re: database??? u want to connect database with c# or create simple database ?? you should breifly explain | |
I am BSCS student, i have selected Cyber Spy as my Semester project.(C# nd ASP) it will basically get keylogs and screenshots from host computer and save that information in online portal for administrator to check what employees are doing. I have learnt about keylogging and have basic idea about … | |
Hi I am facing problem using float in loop its value stuck at 8388608.00 int count=0; long X=10; cout.precision(flt::digits10); cout<<"Iterration #"<<setw(15)<<"Add"<<setw(21)<<"Mult"<<endl; float Start=0.0; float Multiplication = Addition * N; long i = 1; for (i; i <= N; i++){ float temp = Start + Addition; Start=temp; count++; if(count%X==0 && count!=0) … | |
The assignment is to write a computer program that will add 1/3 to itself a large number of times and to compare the result to multiplying 1/3 by the number of times 1/3 was added to itself. It is also to do the same thing with ½.The program is to … | |
OpenGL GLUT **My question is at the end of this topic** 1) a) Use your logo you drew within a world coordinate space that has 0,0 at the center. You may choose any width and height for your world coordinate space, glut window and viewport. Be sure that you separate … | |
Hello I am trying to make a bot which will download files and upload on server. I have no idea how to do that (yet) can someone guide me which methods will be used in downloading file and uploading (ftp server) and one more thing is there any size limitation … | |
[IMG]http://i25.lulzimg.com/29b7c6.png[/IMG] I used transparent panel and labels... used paint method to round corners... b4 using paint method panels were transparent but now one panel is transparent others are white... in properties it still transparent [url]http://www.mediafire.com/?l7tbtsh00w97pyn[/url] if i select wordpress category panel become transparent.. how i can solve this problem and … | |
Re: you can use registery to add new path in windows ... by using java | |
Re: use Scanner Reader.... as String and Get char at index 0 [CODE]import java.util.Scanner; public class TestMySource { public static void main(String args[]) throws java.io.IOException{ Scanner sc = new Scanner(System.in); String s; char ch; for(;;) { System.out.print("Please insert a char: "); s = sc.next(); ch= s.charAt(0); if(ch=='.'){ break; } } } … | |
Re: No need for such looops args.length use this to display how many arguments were entered... | |
Re: Get Data from TextField into Vector.. add that vector as row in Table... [CODE]Vector rowList = new Vector<Object>(5);// no of columns... rowList.add(day.getText()); rowList.add(user1.getText()); rowList.add(user2.getText()); rowList.add(free.getText()); rowList.add(duration.getText()); tableModel.addRow(rowList);[/CODE] | |
Re: code it urself (try).... if you face any problem then post your code here... no one will make code for you.... Read this tutorial.. [URL="http://download.oracle.com/javase/tutorial/uiswing/components/dialog.html"]How to use Dialog Boxes[/URL] | |
Re: You can do this using do while loop... [CODE]int Answer; do{ // do you task here... System.out.print("Tray again? (1=Yes/0=No)? "); Answer = scnr.nextInt(); }while(Answer==1);[/CODE] | |
Re: [CODE]JTextField _user; JPasswordField _pass; Connection con = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:/Database.mdb","",""); Statement stmt = con.createStatement(); String user = _user.getText(); char pass[] = _pass.getPassword(); boolean status = false; String sql = "SELECT * FROM Users Where User ='"+user + "'"; ResultSet rs = stmt.executeQuery(sql); while(rs.next()){ if (rs.getString(1).equals(user) && rs.getString(2).equals(pass.toString())) { status=true; … | |
Re: if you use individual event handler for label then it will be easier for you .... like... [CODE]Label1.addMouseListener(new MouseListener(){ @Override public void mouseClicked(MouseEvent e) { } @Override public void mousePressed(MouseEvent e) { } @Override public void mouseReleased(MouseEvent e) { } @Override public void mouseEntered(MouseEvent e) { } @Override public void … | |
Re: You can forward your Port used in Chat Softwar from your router... then you will be able to use that software over the internet :) | |
Please Download This [url]http://www.mediafire.com/file/xikt4zotccrkrv4/GPA_Arid.jar[/url] I am facing Reset Problem. It Reset but when I Change Credit Hours it restore previous entered Value. Reset Button [CODE]private void Reset(java.awt.event.ActionEvent evt) { _M1.setEditable(false); _M2.setEditable(false); _M3.setEditable(false); _M4.setEditable(false); _M5.setEditable(false); _M6.setEditable(false); _M1.setText(""); _M2.setText(""); _M3.setText(""); _M4.setText(""); _M5.setText(""); _M6.setText(""); _C1.setSelectedIndex(0); _C2.setSelectedIndex(0); _C3.setSelectedIndex(0); _C4.setSelectedIndex(0); _C5.setSelectedIndex(0); _C6.setSelectedIndex(0); Master.setSelectedIndex(0); _C1.requestFocus(); } … | |
Re: Declare Button's Objects as Global. In actionPeformed Method do what you want as reaction of buttons 1st get source of event Object src = ae.getSource(); now check which button is clicked... by using if conditions... if(src==btn1) { thn do what you want... like clear all textfields etc... } else if(src==btn2) … ![]() | |
Re: [CODE]http://download.oracle.com/javase/tutorial/uiswing/components/text.html[/CODE] Use JEditorPane which provide html support.. you can easily change color of wrong character. | |
Hi Guyz I am making a Software for my friend Gold Shop ... Which Convert Units and Calculate Prices.. I want to make Jar file.. I made it by searching it on google but it doesn't include images i used in project [quote]BufferedImage image; image = ImageIO.read(new File("C:/img/gold.png")); .setIcon(new ImageIcon("C:/img/con1.png")); … |
The End.