473,543 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
1
2,184
thread by: harithapriya | last post Nov 22 '13 by: Nepomuk
I am using Jquery Datatable Editable. I wanted to know if it is possible to make a cell editable based on a condition. For example if my data is rendered this way, Key text 1 Help 2 Choice
0
1,972
thread by: CodeNoob117 | last post Nov 22 '13 by: CodeNoob117
How would I rotate an image, in place, on canvas? I have an image at location (x, y) facing North (represented by: static double NORTH = 0.0) and want to turn the image to face the new location when a motion press occurs at (x2, y2). Given the starting direction, x and y coordinates, how could I achieve this? I have seen algorithms using...
2
1,319
thread by: lovetopravin | last post Nov 21 '13 by: lovetopravin
I want to call C program from java. Pravin Mangalam
2
1,578
thread by: lovetopravin | last post Nov 21 '13 by: lovetopravin
Please Suggest Me from Where i can Start writing code for interrupt handling in c/c++ pravin mangalam
1
1,430
gautamz07
thread by: gautamz07 | last post Nov 18 '13 by: r035198x
import java.awt.*; import javax.swing.*; import java.swing.JFrame; public class DisplayMouseCoordinates extends JFrame implements MouseMotionListener { JLabel displayCoords; public DisplayMouseCoordinates() {
1
1,180
thread by: sakinah1 | last post Nov 18 '13 by: r035198x
public class Test { private double test1 = 0; private double test2 = 0; private double test3 = 0; private double average; // private double TestScore; {
0
1,008
oll3i
thread by: oll3i | last post Nov 17 '13 by: oll3i
How do i download attachments? via imap
4
3,092
thread by: Madmax40ao | last post Nov 15 '13 by: itsraghz
First part having no trouble with this public class CarRental { private String name = ""; private int zipCode = 00000; private String carSize = ""; private int daysRented = 0; private double totalFee = 0.00; private String chauffer = ""; double chaufferFee = 0000.00;
1
4,356
thread by: cruesit | last post Nov 14 '13 by: r035198x
I'm Developing a Hospital Management System Application using: Java,MySQL,Crystal Reports. Since this application will run on network environment, then there will be multiple users who connected to my database server. The idea: - I would like to make the application in 3tire mode - Client connect to the server, server Query the database &...
4
2,411
thread by: shivaskr | last post Nov 12 '13 by: itsraghz
How to Connect the database oracle 10g and manipulating all tasks in java in user friendly
6
1,864
thread by: Niels Koomans | last post Nov 12 '13 by: Nepomuk
Exception in thread "main" java.lang.NoClassDefFoundError: showversion Caused by: java.lang.ClassNotFoundException: showversion at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at...
2
10,967
thread by: vishal prada | last post Nov 12 '13 by: itsraghz
i am new in advanced java technology and i am getting confuse myself struts tags are used in the front face of the page and also struts.xml file is work in background so what we can say its front end or back end. and same like hibernate is used to create database tables means its back end or other. plz tell me.
2
1,693
thread by: ajay13785 | last post Nov 12 '13 by: itsraghz
I have retrieved the url link from the database in a text box .Now I want to make the retrived url to be a href link . How can I achieve it. My code is below: <%@page language="java"%> <%@page import="java.sql.*"%> <table border="1"> <% try { Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
3
23,203
thread by: okan | last post Nov 11 '13 by: AnonymousXXX
Hi everyone, I have a java method public static String circleRelation(double x1, double y1, double r1, double x2, double y2, double r2) that - given two circles in the plane - will decide whether those circles (1) encircle each other, (2) intersect, (3) touch or (4) are totally seperate. The method returns a String which describes the...
0
1,680
thread by: CodeNoob117 | last post Nov 11 '13 by: CodeNoob117
I'm trying to draw a rectangle on a canvas in my own View: public class CustomMainMenuDrawView extends View { Paint paint = new Paint(); public CustomMainMenuDrawView(Context context) { super(context); paint.setColor(Color.BLACK); }
4
1,667
thread by: raitoHiong | last post Nov 8 '13 by: raitoHiong
i want to get correct output: public class Temperature { private String myScale; //valid values are "F" or "C" private double myDegrees; double celsius; //default constructor
3
3,096
thread by: Lubona | last post Nov 7 '13 by: Nepomuk
I need a help on how can I draw applet that look like how with two windows and one doors
1
1,385
thread by: mamlambo | last post Nov 5 '13 by: Nepomuk
I am writing a program that will print values that are divisible by 2,3,5 and will not print values that are divisible by 7 or 11. I've managed to get my output to print all the correct values but in one long row. Any tips how to break this massive row into rows of 20?
2
1,578
gautamz07
thread by: gautamz07 | last post Nov 5 '13 by: Nepomuk
A few difficulties with the below programme import java.util.*; public class Gautam{ public static void main(String a) { Integer iray={1,2,3,4,5,6}; Character bang={'G', ' ' , 'A',' ' ,'U', ' ' ,'T', ' ' ,'A',' ' ,'M'}; Float Fk={1.0f, 2.0f, 4.0f};
4
1,400
gautamz07
thread by: gautamz07 | last post Nov 4 '13 by: gautamz07
what is the difference between core java and Java EE or enterprise edition ? Whats is it that you can do in one that you can't do in another ?
5
2,046
oll3i
thread by: oll3i | last post Nov 4 '13 by: Nepomuk
public static IStructResult coercionToStruct(IAbstractQueryResult res){ IStructResult s=null; s=(IStructResult)res; System.out.println(s.toString()); return s; } how do i make a coercion ?
1
2,667
thread by: ajay13785 | last post Nov 4 '13 by: r035198x
I want to insert data from Text box to oracle database ,so in my HTML where there are text box (and 3 Buttons-New ,Update and save)so when i click any of three buttons it takes me to redirectServlet , and from this servlet I want to again forward my page to insertServlet(i.e When I click NEW Button) ,but I am getting 404 error . May be my logic...
1
2,961
thread by: ajay13785 | last post Nov 4 '13 by: r035198x
I want to update my oracle database column from a text box ,so whenever I input some text value in the text box and click UPDATE button the database field should be updated . I have a drop down menu also ,so when ever I select the drop down and enter in the text box that field should be updated. I have written the code but its not working ....
3
2,603
oll3i
thread by: oll3i | last post Nov 3 '13 by: Nepomuk
@Override public IAbstractQueryResult pop () { return lifo.pop(); } In main IAbstractQueryResult resLeft = qres.pop() here i get empty stack exception Thank YOU
1
6,133
gautamz07
thread by: gautamz07 | last post Nov 3 '13 by: Nepomuk
for(String x: s) System.out.printf("%s" , x); Why is "%s" used here ? :((

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.