How to set default browser when run or debug jDeveloper

Today, I will show you how to setup default browser when we ran application in jdeveloper.

Normally, when you run or debug web application in jdeveloper the browser will open up and it is chosen by Operating System. If you don’t like the browser. Can you changing it ?

Of course, you can changing to other browser which installed on your computer. It’s very easy.

I will show you step by step.

Step to change default browser in jdeveloper.

Step 1. run jdeveloper.

Step 2. select tools > preferences

Continue reading “How to set default browser when run or debug jDeveloper”

How to set default browser when run or debug jDeveloper

populate current date from getCurrentDBDate() #OAF

SimpleDateFormat format = new SimpleDateFormat(“yyyy-MM-dd hh:mm:ss.S”);
SimpleDateFormat formatDate = new SimpleDateFormat(“yyyy-MM-dd hh:mm:ss”);
oracle.jbo.domain.Date convertDate = am.getOADBTransaction().getCurrentDBDate();
java.util.Date date = format.parse(convertDate.toString());
String convStr = formatDate.format(date);

System.out.println(“Date from database:  “+convertDate.toString());

System.out.println(“java.util.Date: “+date.toString());
System.out.println(“String date: “+convStr);

ไว้จะมาอธิบายเรื่อง SimpleDateFormat อีกทีนะครับ
สามารถอ่านก่อนได้จาก http://docs.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html

populate current date from getCurrentDBDate() #OAF