Click here to Skip to main content
15,868,141 members
Home / Discussions / Java
   

Java

 
GeneralRe: synchronized Pin
Manfred Rudolf Bihy13-Nov-12 23:00
professionalManfred Rudolf Bihy13-Nov-12 23:00 
QuestionJava code Convert to C# Pin
LAPEC13-Nov-12 12:03
LAPEC13-Nov-12 12:03 
AnswerRe: Java code Convert to C# Pin
Bernhard Hiller13-Nov-12 21:14
Bernhard Hiller13-Nov-12 21:14 
GeneralRe: Java code Convert to C# Pin
LAPEC14-Nov-12 0:19
LAPEC14-Nov-12 0:19 
QuestionRe: Java code Convert to C# Pin
Blikkies14-Nov-12 1:06
professionalBlikkies14-Nov-12 1:06 
GeneralRe: Java code Convert to C# Pin
Richard MacCutchan14-Nov-12 1:34
mveRichard MacCutchan14-Nov-12 1:34 
AnswerRe: Java code Convert to C# Pin
Richard MacCutchan13-Nov-12 21:16
mveRichard MacCutchan13-Nov-12 21:16 
AnswerRe: Java code Convert to C# Pin
Dave Doknjas17-Nov-12 3:17
Dave Doknjas17-Nov-12 3:17 
It can almost be completely converted to C#:

using System.Windows.Forms;

public class ConfirmDeleteDialog
{
	public static readonly int YES = DialogResult.Yes;
	public static readonly int NO = DialogResult.No;
	public static readonly int CANCEL = DialogResult.Cancel;
	internal static readonly int OK = DialogResult.OK;
	internal static readonly int CLOSED = JOptionPane.CLOSED_OPTION;	//no equivalent to 'CLOSED_OPTION'

	public static int showMessage(Component parent, string message, string title)
	{
		return MessageBox.Show(parent, message, title, MessageBoxButtons.YesNo, MessageBoxIcon.Question);
	}
}


Dave Doknjas
Convert between VB, C#, C++, & Java
www.tangiblesoftwaresolutions.com
Instant C# - VB to C# Converter
Instant VB - C# to VB Converter
QuestionTower of hanoi in java Pin
prog.sidra11-Nov-12 21:19
prog.sidra11-Nov-12 21:19 
AnswerRe: Tower of hanoi in java PinPopular
Richard MacCutchan11-Nov-12 21:49
mveRichard MacCutchan11-Nov-12 21:49 
AnswerRe: Tower of hanoi in java Pin
TorstenH.12-Nov-12 0:22
TorstenH.12-Nov-12 0:22 
GeneralRe: Tower of hanoi in java Pin
prog.sidra12-Nov-12 19:58
prog.sidra12-Nov-12 19:58 
QuestionIf element in diagonal is 1 then its unit matrix , else it's not unit matrix Pin
Asad JOgi11-Nov-12 19:26
Asad JOgi11-Nov-12 19:26 
AnswerRe: If element in diagonal is 1 then its unit matrix , else it's not unit matrix Pin
TorstenH.11-Nov-12 21:15
TorstenH.11-Nov-12 21:15 
AnswerRe: If element in diagonal is 1 then its unit matrix , else it's not unit matrix Pin
BobJanova13-Nov-12 0:06
BobJanova13-Nov-12 0:06 
QuestionError show ImageIcon ??? Pin
nghia09t39-Nov-12 19:34
nghia09t39-Nov-12 19:34 
AnswerRe: Error show ImageIcon ??? Pin
Richard MacCutchan9-Nov-12 23:32
mveRichard MacCutchan9-Nov-12 23:32 
AnswerRe: Error show ImageIcon ??? Pin
TorstenH.10-Nov-12 14:02
TorstenH.10-Nov-12 14:02 
GeneralRe: Error show ImageIcon ??? Pin
Gowtham Gutha15-Nov-12 6:46
Gowtham Gutha15-Nov-12 6:46 
GeneralRe: Error show ImageIcon ??? Pin
TorstenH.15-Nov-12 9:00
TorstenH.15-Nov-12 9:00 
GeneralRe: Error show ImageIcon ??? Pin
Gowtham Gutha16-Nov-12 7:08
Gowtham Gutha16-Nov-12 7:08 
GeneralRe: Error show ImageIcon ??? Pin
TorstenH.18-Nov-12 19:10
TorstenH.18-Nov-12 19:10 
AnswerRe: Error show ImageIcon ??? Pin
Gowtham Gutha15-Nov-12 6:43
Gowtham Gutha15-Nov-12 6:43 
Questionhow to create digital survey android and php?? Pin
Luis Antonio Mantilla9-Nov-12 12:22
Luis Antonio Mantilla9-Nov-12 12:22 
QuestionAny Java Book Recommend Pin
waylife7-Nov-12 19:14
waylife7-Nov-12 19:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.